]> git.sur5r.net Git - bacula/bacula/commitdiff
kes First cut update job.
authorKern Sibbald <kern@sibbald.com>
Sat, 28 Apr 2007 21:24:18 +0000 (21:24 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 28 Apr 2007 21:24:18 +0000 (21:24 +0000)
kes  Correct configure to include qmake of src/qt-console directory.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4648 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/autoconf/configure.in
bacula/configure
bacula/kernstodo
bacula/src/dird/ua_update.c
bacula/src/version.h
bacula/src/win32/installer/Readme.txt
bacula/technotes-2.1

index 1c43f0fd5527e7257378513f1ebe9d885fd6afb6..a42cc2b0183a745c50bc0742c5c11be5972d31a2 100644 (file)
@@ -2139,7 +2139,12 @@ chmod 755 $c/mysql
 
 chmod 755 src/win32/build-depkgs-mingw32
 
-chmod 755 src/qt-console/install_conf_file
+if test "${support_bat}" = "yes" ; then
+cd src/qt-console
+chmod 755 install_conf_file
+qmake
+fi
+
 
 if test "x$ac_cv_sys_largefile_CFLAGS" != "xno" ; then
    largefile_support="yes"
index bcba46b0d35e22d5b634fa2e76b6fa56cb4d9294..6552e26b7e2c469083a830a725399f46caaef740 100755 (executable)
@@ -35600,7 +35600,12 @@ chmod 755 $c/mysql
 
 chmod 755 src/win32/build-depkgs-mingw32
 
-chmod 755 src/qt-console/install_conf_file
+if test "${support_bat}" = "yes" ; then
+cd src/qt-console
+chmod 755 install_conf_file
+qmake
+fi
+
 
 if test "x$ac_cv_sys_largefile_CFLAGS" != "xno" ; then
    largefile_support="yes"
index 7c7ab01e26cbd7316a732da4c6f16a93253ae239..a03728d99454e7ec47cfcce48ada020fdea6f1ed 100644 (file)
@@ -1,5 +1,5 @@
                     Kern's ToDo List
-                     12 November 2006
+                     27 April 2007
 
 Major development:      
 Project                     Developer
@@ -41,6 +41,14 @@ Document:
 - Document more precisely how to use master keys -- especially
   for disaster recovery.
  
+Professional Needs:
+- Migration from other vendors
+  - Date change
+  - Path change
+- Filesystem types
+- Backup conf/exe (all daemons) 
+- Backup up system state
+- Detect state change of system (verify)
 
 Priority:
 - Please mount volume "xxx" on Storage device ... should also list
index 1b6c87b846ff1e9d992a78ccfa24766181d0e56d..e28c4145e54f5626f1e09a712d16e649f28ad981 100644 (file)
@@ -41,6 +41,7 @@
 /* Forward referenced functions */
 static int update_volume(UAContext *ua);
 static bool update_pool(UAContext *ua);
+static bool update_job(UAContext *ua);
 
 /*
  * Update a Pool Record in the database.
@@ -60,6 +61,7 @@ int update_cmd(UAContext *ua, const char *cmd)
       NT_("volume"), /* 1 */
       NT_("pool"),   /* 2 */
       NT_("slots"),  /* 3 */
+      NT_("jobid"),  /* 4 */
       NULL};
 
    if (!open_client_db(ua)) {
@@ -77,6 +79,9 @@ int update_cmd(UAContext *ua, const char *cmd)
    case 3:
       update_slots(ua);
       return 1;
+   case 4:
+      update_job(ua);
+      return 1;
    default:
       break;
    }
@@ -430,20 +435,20 @@ static int update_volume(UAContext *ua)
    bool done = false;
    int i;
    const char *kw[] = {
-      _("VolStatus"),                /* 0 */
-      _("VolRetention"),             /* 1 */
-      _("VolUse"),                   /* 2 */
-      _("MaxVolJobs"),               /* 3 */
-      _("MaxVolFiles"),              /* 4 */
-      _("MaxVolBytes"),              /* 5 */
-      _("Recycle"),                  /* 6 */
-      _("InChanger"),                /* 7 */
-      _("Slot"),                     /* 8 */
-      _("Pool"),                     /* 9 */
-      _("FromPool"),                 /* 10 */
-      _("AllFromPool"),              /* 11 !!! see below !!! */
-      _("Enabled"),                  /* 12 */
-      _("RecyclePool"),              /* 13 */
+      NT_("VolStatus"),                /* 0 */
+      NT_("VolRetention"),             /* 1 */
+      NT_("VolUse"),                   /* 2 */
+      NT_("MaxVolJobs"),               /* 3 */
+      NT_("MaxVolFiles"),              /* 4 */
+      NT_("MaxVolBytes"),              /* 5 */
+      NT_("Recycle"),                  /* 6 */
+      NT_("InChanger"),                /* 7 */
+      NT_("Slot"),                     /* 8 */
+      NT_("Pool"),                     /* 9 */
+      NT_("FromPool"),                 /* 10 */
+      NT_("AllFromPool"),              /* 11 !!! see below !!! */
+      NT_("Enabled"),                  /* 12 */
+      NT_("RecyclePool"),              /* 13 */
       NULL };
 
 #define AllFromPool 11               /* keep this updated with above */
@@ -758,3 +763,33 @@ static bool update_pool(UAContext *ua)
    bsendmsg(ua, _("Pool DB record updated from resource.\n"));
    return true;
 }
+
+/*
+ * Update a Job record -- allows you to change the
+ *  date fields in a Job record. This helps when
+ *  providing migration from other vendors.
+ */
+static bool update_job(UAContext *ua)
+{
+   bool done = false;
+   int i;
+   const char *kw[] = {
+      NT_("StartTime"),                   /* 0 */
+      NULL };
+
+
+   for (i=0; kw[i]; i++) {
+      int j;
+      if ((j=find_arg_with_value(ua, kw[i])) > 0) {
+         switch (i) {
+         case 0:
+            break;
+         case 1:
+            break;
+         }
+         done = true;
+      }
+   }
+
+   return true;
+}
index 3819dfdd567037b736ae0de2283577a0298cd7bd..9a68f9e52d1ad7d5fe4fecbbabeb24c262f19af4 100644 (file)
@@ -4,8 +4,8 @@
 
 #undef  VERSION
 #define VERSION "2.1.8"
-#define BDATE   "26 April 2007"
-#define LSMDATE "26Apr07"
+#define BDATE   "28 April 2007"
+#define LSMDATE "28Apr07"
 
 #define PROG_COPYRIGHT "Copyright (C) %d-2007 Free Software Foundation Europe e.V.\n"
 #define BYEAR "2007"       /* year for copyright messages in progs */
index 9f7a636472b2456423e87bfb53449fd2326dec83..97599bfbedc54e48b335c459b26d02177cd67c55 100644 (file)
@@ -1,3 +1,25 @@
+Bacula - Windows Version Disclaimer\r
+===================================\r
+\r
+Please note, only the Win32 Client (File daemon) is supported.  All the\r
+other components (Director, Storage daemon, their utilities) are provided\r
+on an "as is" basis.  Unfortunately, they are neither properly tested,   \r
+documented, or supported.  This means that we cannot accept bug reports\r
+against the non-supported components.  For them to be supported, we need\r
+three things from the Open Source community:\r
+\r
+1. Full documentation of the Windows particularities of the Director,\r
+   the Storage daemon, and their utilities in the Bacula manual.\r
+\r
+2. Someone to periodically and on demand run the regressions tests.\r
+\r
+3. One or more developers who are willing to accept and correct Windows\r
+   related bugs as they occur.\r
+\r
+4. A certain Win32 community that will respond to user support questions\r
+   on the bacula-users list.  (This is probably already fullfilled). \r
+             \r
+\r
 Bacula - Windows Version Notes\r
 ==============================\r
 \r
index abee15e7b31d2db75f96d5b8d4738a59ff53c650..aab57c1480abc949d79af6ea1961bf5a1094daab 100644 (file)
@@ -1,6 +1,9 @@
               Technical notes on version 2.1
 
 General:
+28Apr07
+kes  First cut update job.
+kes  Correct configure to include qmake of src/qt-console directory.
 26Apr07
 kes  Make restore job yes/mod/no print in one command so GUI works.
 kes  First cut implementing backup and restore client.