[koha-commits] main Koha release repository branch new/bug_7157 created. v3.06.00-429-ge8b83c6

Git repo owner gitmaster at git.koha-community.org
Fri Jan 27 12:18:35 CET 2012


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, new/bug_7157 has been created
        at  e8b83c665a9e419158369079381865ae5fb5d0af (commit)

- Log -----------------------------------------------------------------
commit e8b83c665a9e419158369079381865ae5fb5d0af
Author: Paul Poulain <paul.poulain at biblibre.com>
Date:   Fri Jan 27 12:18:25 2012 +0100

    Bug 7157 follow-up: j2a.pl executable again
    
    This patch just update the permission of the script, that must be executable

commit fe1a642a1a06c38b55c2666ead4f4ff4ea3658da
Author: Liz Rea <lrea at nekls.org>
Date:   Fri Nov 4 13:20:23 2011 -0500

    Bug 7157 - Improve the j2a.pl cronjob
    
    - Calculates updates date based on the upper age limit defined in the patron categories.
    - Allows libraries to work on all branches or only one.
    - Allows libraries to specify which Adult patron category to update child categories to.
    - Allows libraries to specify a single Child patron category to update to an adult category.
    - Has a test mode to display what transforms would be done on the database without executing the changes.
    
    Includes improved help, copyright statement, and uses warnings. Also incorporates Paul's suggestions regarding --help and --man, changes -fromcat and -tocat to -f and -t, and removes a redundant update to categorycode (per M. deRooy).
    
    To test:
    
    Create two patron categories, a child and an adult category. Make sure they
    have an upper age limit.
    
    Create or modify some patrons in multiple branches that fall into the category
    of "my birthdate is less than or equal to today's date minus the upper age
    limit"
    
    1. Run the script with no flags - nothing should  happen, it will suggest you try the --help flag.
    2. Run the script with the --help flag - you should see the help
    3. Run the script with the -f=<child category> -t=<adult category> -v -n - should show you results from all branches but take no action and tell you what its computations are.
    4. Run the script with the -f=<child category> -t=<adult category> -b=<branchcode> -v -n - should show you results from your specified branch, but take no action and tell you what it's computations are.
    5. Run the script with the -f=<child category> -t=<adult category> -v -b=<branchcode> - should show you the computations and tell you how many patrons were modified in your single branch. It will not show you the information on which patrons were updated.
    6. Run the script with the -f=<child category> -t=<adult category> -v - should show you the computations and tell you how many patrons were modified across all branches.
    7. Run the script without the -v flag, if you care what the non-verbose output looks like.
    
    Fixed in this revision: Known limitation - if you give it an unknown tocat, it will fail with a rather ugly error.
    
    Minor changes to the commit message to reflect new longopts (which I missed the last time)
    There is more this script could do, please feel free to take it and run.
    
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
    
    Bug 7157 : Follow up, fixing FSF address
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>

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


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list