[koha-commits] main Koha release repository branch new/bug_9191 created. v3.08.00-1401-ga1525b2

Git repo owner gitmaster at git.koha-community.org
Tue Dec 11 14:26:02 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_9191 has been created
        at  a1525b297fc80cef5a041f05aa20da54a52534d8 (commit)

- Log -----------------------------------------------------------------
commit a1525b297fc80cef5a041f05aa20da54a52534d8
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Tue Dec 11 08:29:11 2012 -0500

    Bug 9191 follow-up: remove example updatedatabase stanzas
    
    The patch for bug 9191 included example updatedatabase stanzas that
    require removal before pushing. This patch also updates the
    00-checkdatabase-version.t test so that it will not give
    false-positives.

commit a6c7ba85193f7564c2fa17ef057171ac955823cd
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Mon Dec 3 16:28:51 2012 -0500

    Bug 9191: updatedatabase.pl should only run updates up to the current version
    
    Check whether a given update should be run when passed the proposed
    version number. The update will always be run if the proposed version
    is greater than the current database version and less than or equal to
    the version returned by C4::Context->final_linear_version (initially set
    to be equal to the version in kohaversion.pl). The update is also run if
    the version contains XXX, though this behavior will be changed following
    the adoption of non-linear updates as implemented in bug 7167.
    
    To test:
    1) Make sure that the first example database update added by this patch
       in installer/data/mysql/updatedatabase.pl has a version number one
       greater than the version of Koha you have installed.
    2) Set the Version syspref back one version behind your current version.
    3) Navigate to the main page of the staff client, and log in to the
       installer.
    4) Confirm that the update page claims to have rerun the previous update
       and has displayed the log message:
       "Upgrade to 3.11.00.XXX done (Bug 9191: You should see this)"
       but not the log message:
       "Upgrade to [version number] done (Bug 9191: You shouldn't see this)"
    
    Note: the sample database revisions will be removed by the RM before
    this patch is pushed to master.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    works great
    
    Signed-off-by: Elliott Davis <elliott at test.bywatersolutions.com>
    Works as expected.  Test plan is great. Code looks to be adherent to standards.
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>

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


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list