[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-753-g93aee04

Git repo owner gitmaster at git.koha-community.org
Tue Jul 2 16:01:08 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  93aee04405b963a9ed344837f81531e1b56bc3e4 (commit)
       via  aa4fde7d0d6dee14e3715f3063f16ee4f623b936 (commit)
      from  1a1658f020e482abdd35fc8afc04cfcbce91e046 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 93aee04405b963a9ed344837f81531e1b56bc3e4
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Tue Jul 2 07:09:22 2013 -0700

    bug 9998: (follow-up) use Modern::Perl as per coding guidelines
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

commit aa4fde7d0d6dee14e3715f3063f16ee4f623b936
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Wed May 8 16:29:23 2013 +0200

    Bug 9998: new tool to import/export and compare system preferences
    
    This patch adds a new maintenance script: cmp_sysprefs.pl
    
    Test plan:
    1 Run with -cmd backup -file zz01. Check that file.
      Run with -cmd test -file zz01. Check zz01.sav.
    2 Run with -cmd compare -file zz01. No differences expected.
    3 Edit zz01: delete two prefs, change two prefs and add two new prefs.
    4 Run with -cmd compare -file zz01. Are all six changes reported?
    5 Add local use preference zz02 in the staff client (no explanation, options).
    6 Run with -cmd backup -file zz02.
    7 Delete local use pref zz02 from the staff client.
    8 Run with -cmd restore -file zz02. Check if local pref zz02 came back.
    9 Delete local use pref zz02 again from the staff client.
    10 Run with -cmd compare -file zz02 -add. Check if local pref zz02 came back.
    11 Change the value of zz02 in the staff client.
    12 Run with -cmd compare -file zz02 -add. Check the value: not updated?
    13 Run with -cmd compare -file zz02 -upd. Check the value: updated now?
    14 Edit file zz02. Add a comment line and delete the line for pref zz02.
    15 Run with -cmd compare -file zz02 -del. Is pref zz02 deleted?
    16 Add local use preference zz02 in the staff client (WITH explanation).
    17 Run with -cmd compare -file zz02 -del. pref zz02 should not be deleted.
    18 Run with -cmd compare -file zz02 -del -ign-opt. zz02 should be deleted now.
    
    Do the next steps only on a restorable test db:
    19 Create file zz03. Leave it empty.
       Compare with: -cmd compare -file zz03 -del -ign-opt.
       All prefs gone except Version?
    20 Restore with: -cmd restore -file zz01.sav.
       Compare with -cmd compare -file zz01.sav. Nothing reported?
       Note: The explanation or options are not recovered. (See also BZ 10199.)
       This affects local use preferences only.
       If you need them, restore your test db. Remove the zz files.
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Amended patch
    Only cosmetic stuff:
    Perltidied with xt/perltidyrc.
    Replaced most double quotes by single quotes around SQL statements.
    Moved the usage into POD for pod2usage.
    Passing no file shows help screen too.
    Counting the db updates more accurately with return value of do.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

-----------------------------------------------------------------------

Summary of changes:
 misc/maintenance/cmp_sysprefs.pl |  329 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 329 insertions(+), 0 deletions(-)
 create mode 100755 misc/maintenance/cmp_sysprefs.pl


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list