From 144dd7ed085ea3fbd4cd20279dce6bb6298e86af Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 30 Oct 2011 13:01:40 +0100 Subject: [PATCH] Tweak update files for 5.2.1 release --- bacula/ChangeLog | 11 +++++++- bacula/ReleaseNotes | 66 ++++++++++++++++++++++++++++++++++++++------- bacula/code-changes | 2 +- bacula/commits | 2 ++ bacula/get_authors | 2 +- 5 files changed, 71 insertions(+), 12 deletions(-) create mode 100755 bacula/commits diff --git a/bacula/ChangeLog b/bacula/ChangeLog index d594d11c23..e8fbd5635a 100644 --- a/bacula/ChangeLog +++ b/bacula/ChangeLog @@ -1,4 +1,4 @@ - Changelog on version 5.2.0 + Changelog on version 5.2.1 Bug fixes 1389 1444 1448 1466 1467 1468 1476 1481 1486 1488 1493 1494 1497 1499 1501 @@ -8,7 +8,16 @@ Bug fixes 1633 1643 1648 1655 1661 1664 1666 1669 1672 1675 1684 1685 1695 1696 1699 1700 1703 1735 1741 1749 1751 1761 1762 1764 1768 1770 1771 2710 + + +30Oct11 + - Change name of authors -- confuses Mac + - Don't define HAVE_POSTGRESQL twice + - Don't use the -R (runtime link path) when not using libtool for the linking. + 29Oct11 + - Fix detection of batch insert enabler functions. + 29Oct11 - Add script to list authors - Update AUTHORS diff --git a/bacula/ReleaseNotes b/bacula/ReleaseNotes index 08cd5eea7f..38d449d155 100644 --- a/bacula/ReleaseNotes +++ b/bacula/ReleaseNotes @@ -1,21 +1,28 @@ - Release Notes for Bacula 5.2.0 + Release Notes for Bacula 5.2.1 Bacula code: Total files = 1,110 Total lines = 231,439 (Using SLOCCount) General: -------- -This 5.2.0 version is a major release since the last version 5.0.3. +This 5.2.1 version is a major release since the last version 5.0.3. It includes well over 299,387 lines of changes made by 20 contributors, -lots of bug fixes, and a number of important new features: +lots of bug fixes (see below), 1,851 software commits,and a +number of important new features: + +Version 5.2.0 +------------- +Version 5.2.0 was short lived, because Marco (thanks) found +a number of last minute bugs. So the first official release of 5.2 +is 5.2.1. Compatibility: -------------- As always, both the Director and Storage daemon must be upgraded at the same time. - Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.0 + Older 5.0.x and 3.0.x File Daemons are compatible with the 5.2.1 Director and Storage daemons. There should be no need to upgrade older File Daemons. @@ -38,7 +45,7 @@ Some of the above are described below; all the above are described in more detail in the New Features chapter of the manual. -Bug fixes since 5.0.3: +Closed Bugs since 5.0.3: --------------------- 1389 1444 1448 1466 1467 1468 1476 1481 1486 1488 1493 1494 1497 1499 1501 1502 1504 1509 1511 1513 1516 1524 1526 1527 1532 1536 1538 1541 1542 1549 @@ -61,10 +68,51 @@ To build Bat, you need Qt4 version 4.6.2. If you build with any other version it is likely not to work. If you do not have version 4.6.2, on your system, you can download the Bacula depkgs_qt version 16Dec10. -New Catalog format in version 5.2.0 ------------------------------------ +Packaging the SQL backend: +-------------------------- +The main Bacula Director code is independent of the SQL backend +in this version. This means that the Bacula Director can be packaged +by itself, then each of the different SQL backends supported can +be packaged separately. It is possible to build all the DB backends +at the same time. + +- configure can be run with multiple database configure options. + --with-sqlite3 + --with-mysql + --with-postgresql + +Order of testing for database is +- postgresql +- mysql +- sqlite3 + +Each configured backend generates a libbaccats--.so +A dummy catalog library is created named libbaccats-version.so + +At configure time the first detected backend is used as the so called default +backend and at install time the dummy libbaccats-.so is replaced with +the default backend type. + +If you configure all 3 backends you get 3 backend libraries and the postgresql +gets installed as the default. When you want to switch the default you can +copy one of the 3 backend libraries over the libbaccats-.so e.g. + +cp libbaccats-postgresql-.so libbaccats-.so + +And update the default backend in the following files: + +create_bacula_database +drop_bacula_database +drop_bacula_tables +grant_bacula_privileges +make_bacula_tables +make_catalog_backup +update_bacula_tables + +New Catalog format in version 5.2.0 and greater +----------------------------------------------- This release of Bacula uses a new catalog format. We provide a set of -scripts that permit to convert a 5.0.x (version 12) catalog to 5.2.0 (version +scripts that permit to convert a 5.0.x (version 12) catalog to 5.2.1 (version 14). The Bacula project rpm spec files have been modified to detect the database change and do the upgrade for you. We strongly recommend that you save a copy of your existing database before upgrading @@ -74,7 +122,7 @@ The simplest way to upgrade the database assuming you are building from source (i.e. manually): 1. Stop any current version of Bacula from running. 2. Save a copy of your existing database. -3. Configure, build, and install the 5.2.0 version of Bacula +3. Configure, build, and install the 5.2.1 version of Bacula Note the new ./configure options in the manuals see the link at the bottom of this file. 4. cd diff --git a/bacula/code-changes b/bacula/code-changes index 5cd5d15b26..ebc7843635 100755 --- a/bacula/code-changes +++ b/bacula/code-changes @@ -1,2 +1,2 @@ #!/bin/sh -git diff Release-5.0.3..Branch-5.1 -- | grep '[+-]' | wc -l +git diff Release-5.0.3..Branch-5.2 -- | grep '[+-]' | wc -l diff --git a/bacula/commits b/bacula/commits new file mode 100755 index 0000000000..12076fa163 --- /dev/null +++ b/bacula/commits @@ -0,0 +1,2 @@ +#!/bin/sh +git log --pretty=oneline Release-5.0.3..Branch-5.2 | wc -l diff --git a/bacula/get_authors b/bacula/get_authors index 83228d0d58..df3f70cb21 100755 --- a/bacula/get_authors +++ b/bacula/get_authors @@ -1,2 +1,2 @@ #!/bin/sh -git log --format='%aN' Release-5.0.3..Branch-5.1| sort -u +git log --format='%aN' Release-5.0.3..Branch-5.2| sort -u -- 2.39.5