[koha-commits] main Koha release repository branch master updated. v19.11.00-499-gf1f1c2e9b1

Git repo owner gitmaster at git.koha-community.org
Tue Jan 28 16:31:42 CET 2020


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  f1f1c2e9b12d8d7bbcf5d88ad739e098a6031aef (commit)
       via  d06fbc124e3e13bc1487544fcd45c84e97b17a65 (commit)
       via  b43a4b2756745d7bf96ef2c138708fba05ac5c82 (commit)
       via  c3188f024978f7070883dcbd9aa721f977b27c25 (commit)
       via  64f87158fd2d9ba0b2c20a43b3ecc8d7b2da7b5b (commit)
       via  c85cdd192207dd5d97a664cc8ceb52954d0141e9 (commit)
       via  575d5418edbdd03fd2f648b760e59a704ba76e9d (commit)
       via  81c93cac461d8bdb751bf61ba865950aa51514a4 (commit)
       via  4111f4f1866434438ae8d3a7dd70b9279150bb08 (commit)
      from  f2bedea793606e9095f839e5f7bd2dfac9bfb695 (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 f1f1c2e9b12d8d7bbcf5d88ad739e098a6031aef
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Tue Jan 28 15:05:44 2020 +0000

    Bug 24296: DBRev 19.12.00.015
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit d06fbc124e3e13bc1487544fcd45c84e97b17a65
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Thu Jan 16 09:52:20 2020 +0000

    Bug 24296: Update stockrotation process to use branchtransfers.reason
    
    This patch updates all occurences of stockrotation related lookups of
    branchtransfers status from using the 'comments' field to using the new
    'reason' field.
    
    Test plan:
    1) Work through the process of creating a stock rotation plan and adding
       items to the plan.. no errors should be encoutered during this process.
    2) Run the stockrotation cronjob to move some items on.. no errors
       should be encountered.
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit b43a4b2756745d7bf96ef2c138708fba05ac5c82
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Thu Jan 16 09:01:34 2020 +0000

    Bug 24296: Update existing data in the database
    
    This DB udpate adds the stockration states to the trigger enum in the
    branchtransfers table and then populates it with any such data currently
    contained within the comments field.
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit c3188f024978f7070883dcbd9aa721f977b27c25
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Tue Jan 28 15:01:30 2020 +0000

    Bug 24287: DBRev 19.12.00.014
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 64f87158fd2d9ba0b2c20a43b3ecc8d7b2da7b5b
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date:   Fri Dec 20 16:02:01 2019 +0000

    Bug 24287: Add `reason` to `branchtransfers`
    
    This patch adds the `reason` field to the `branchtransfers` table to
    record what triggered a transfer.
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit c85cdd192207dd5d97a664cc8ceb52954d0141e9
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Jan 28 15:04:10 2020 +0100

    Bug 24448: Adding a notice to tell the _count methods are temporary
    
    See bug 24467. You are allowed to flog tcohen with an RJ45 cable if this
    is not fixed in the next months.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 575d5418edbdd03fd2f648b760e59a704ba76e9d
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Fri Jan 17 11:18:41 2020 -0300

    Bug 24448: Add Koha::Biblio->subscriptions_count
    
    This patch adds the handy subscriptions_count method to the Koha::Biblio
    class. It is intended to be used as a shortcut for
    
        $biblio->subscriptions->count
    
    in places like the API where we can embed the output of a method.
    
    To test:
    1. Apply this patches
    2. Run:
       $ kshell
      k$ prove t/db_dependent/Koha/Biblio.t \
               t/db_dependent/Koha/Biblios.t
    => SUCCESS: Tests pass! i.e. Biblios.t still passes, and the tests for
    the new method in Biblio.t pass as well.
    3. Sign off :-D
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 81c93cac461d8bdb751bf61ba865950aa51514a4
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date:   Fri Jan 17 11:17:33 2020 -0300

    Bug 24448: Unit tests
    
    This patch adds tests for the new method to be introduced. It also moves
    the tests for Koha::Biblio->subscriptions to the Biblio.t where it
    really belongs.
    
    To test, run this tests along with the patch implementing the new
    method.
    
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

commit 4111f4f1866434438ae8d3a7dd70b9279150bb08
Author: Andreas Jonsson <andreas.jonsson at kreablo.se>
Date:   Sun Jan 5 13:02:13 2020 +0000

    Bug 24348: Pass marc record to _passes_required_checks
    
    Test plan:
    
    * Add record matching rule:
    
     Matching rule code: test
     Description: 001 and 003
     Match threshold: 1000
     Record type: Bibliografic record
    
     Match points:
        Search index: Control-number
        Score: 1000
        Tag: 001
        Subfields:
        Offset:
        Length:
        Normalization rule: none
    
     Required match checks:
    
        Source (incoming) record check field
    
        Tag: 003
        Subfields:
        Offset:
        Length:
        Normalization rule: none
    
        Target (database) record check field
    
        Tag: 003
        Subfields:
        Offset:
        Length:
        Normalization rule: none
    
    * Note the match rule identity number.
    * Stage a marc-file for import, for instance this one ftp://ftp.libris.kb.se/pub/export2/X/marc/X.20200104.marc
    
    sudo /usr/sbin/koha-shell -c "perl /home/vagrant/kohaclone/misc/stage_file.pl --match 4 --file 'X.20200104.marc' --format ISO2709 --comment 'test'" kohadev
    
    * Note the batch number and commit the file using the batch number:
    
    sudo /usr/sbin/koha-shell -c "perl /home/vagrant/kohaclone/misc/commit_file.pl --batch-number 1" kohadev
    
    * Again, stage the same marc-file  for import:
    
    sudo /usr/sbin/koha-shell -c "perl /home/vagrant/kohaclone/misc/stage_file.pl --match 4 --file 'X.20200104.marc' --format ISO2709 --comment 'test'" kohadev
    
    * Note the number of records matched.
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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

Summary of changes:
 C4/Matcher.pm                          |  5 ++-
 Koha.pm                                |  2 +-
 Koha/Biblio.pm                         | 16 +++++++++
 Koha/Schema/Result/Branchtransfer.pm   | 18 ++++++++--
 Koha/StockRotationItem.pm              |  7 ++--
 installer/data/mysql/kohastructure.sql |  1 +
 installer/data/mysql/updatedatabase.pl | 64 ++++++++++++++++++++++++++++++++++
 t/db_dependent/Koha/Biblio.t           | 37 +++++++++++++++++++-
 t/db_dependent/Koha/Biblios.t          | 18 +---------
 t/db_dependent/StockRotationItems.t    | 12 +++----
 10 files changed, 147 insertions(+), 33 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list