[koha-commits] main Koha release repository branch master updated. v3.16.00-242-geed7f26

Git repo owner gitmaster at git.koha-community.org
Mon Jul 14 13:50:37 CEST 2014


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  eed7f263d0a3a2380d9ca35ce3ab26dbadd1da22 (commit)
       via  56ffda0a703b5d42540c56eafb8d226c0ebf18ad (commit)
       via  0bd14c7e8e1eb56887dcbc687357dabdf2dae2d5 (commit)
       via  afb6d14f253e4bd1828464e0147169597d9c7643 (commit)
      from  c3c7068709177408af59fb4e9538f623ba945a18 (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 eed7f263d0a3a2380d9ca35ce3ab26dbadd1da22
Author: Tomas Cohen Arazi <tomascohen at gmail.com>
Date:   Fri Sep 14 15:26:12 2012 -0300

    Bug 8773 - Start per-instance koha-index-daemon in .deb setup
    
    Short:
    
    Launch an indexing daemon (rebuild_zebra.pl -daemon) process for each
    enabled instance. Enabling/disabling the use of the indexer is handled
    by global configuration variables in /etc/default/koha-common.
    
    Also provides command line tools to manage the running indexer daemons
    for your instances.
    
    Long:
    
    Using an indexing daemon avoids launching a new interpreter each time
    the cron triggers the indexing, and also allows sub-minute incremental
    reindexing, a requirement from our librarians.[1]
    
    Using the indexer daemon could remain "experimental" until it gets more
    testing; so is disabled by default initially. To enable the use of the
    indexer the user has to tweak the /etc/default/koha-common config file.
    Specifically the USE_INDEXER_DAEMON variable, which is clearly explained
    in the file.
    
    Frecquency defaults to 5 sec, and can be changed by tweaking the
    /etc/default/koha-common config file too.
    
    This patch uses rebuild_zebra.pl in daemon mode, but it is crafted to
    allow changing the indexing daemon and passing specific option switches
    it might need.
    
    Regards
    To+
    
    [1] This is the .deb version of http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8519
    
    Sponsored-by: Universidad Nacional de Cordoba
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

commit 56ffda0a703b5d42540c56eafb8d226c0ebf18ad
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Mon Jul 14 07:36:07 2014 -0400

    Bug 12265: [QA Follow-up] - Improve usage of find
    
    When finding a row by its primary key, it is not necessary to
    pass a hashref, only the primary key value itself is required.
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

commit 0bd14c7e8e1eb56887dcbc687357dabdf2dae2d5
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Mon Jul 14 11:57:53 2014 +0200

    Bug 12265: [QA Follow-up] Replace DBIx search by find
    
    This patch replaces DBIx search by find at two places in z3950servers.pl.
    Furthermore, it adds testing on the results of the find method, passing
    a not-found-message to the template whenever needed.
    The function ServerSearch is adjusted to use HashRefInflator instead of
    manually mapping the columns of result objects.
    An additional defined-test in _form_data_hashref prevents shifting of
    names and values in the result hash.
    
    Test plan:
    List all servers. Edit, copy and delete a server.
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

commit afb6d14f253e4bd1828464e0147169597d9c7643
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Mon May 12 15:28:41 2014 +0200

    Bug 12265: Improve Z39.50 servers administration
    
    This patch makes a few tiny improvements on the form, does some
    housekeeping/tidying up, and replaces SQL code by DBIC statements.
    In detail:
    - Adds an id parameter (more precise than searchfield).
    - With the move from searchfield to id, you can rename a server now.
    - A Copy button is added to clone a server.
    - Confirming a delete is moved to javascript. No additional form anymore.
    - A message about an insert, update or delete is shown in a div dialog
      alert above the table instead of a separate form.
    - Remove offset parameter, Next/Prev button and associated logic.
    - All SQL statements are replaced by DBIC.
    - Function StringSearch is renamed to DBICified ServerSearch.
    - Remove tabs from script and template. Adjust some indentation.
    
    Test plan:
    - Test adding, editing and deleting Z3950 servers.
    - Test searching for a server with the top search box (not table).
    - Add a server with quotes in the name. Search for it. Edit or delete.
    
    Followed tet plan. Patch behaves as expected.
    Signed-off-by: Marc Veron <veron at veron.ch>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>

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

Summary of changes:
 admin/z3950servers.pl                              |  308 +++++----------
 debian/docs/koha-common.xml                        |    7 +
 debian/docs/koha-indexer.xml                       |   86 +++++
 debian/koha-common.cron.d                          |    1 +
 debian/koha-common.default                         |   37 +-
 debian/koha-common.init                            |   12 +
 debian/koha-common.install                         |    1 +
 debian/scripts/koha-create                         |    7 +
 debian/scripts/koha-functions.sh                   |   13 +
 debian/scripts/koha-indexer                        |  233 ++++++++++++
 .../prog/en/modules/admin/z3950servers.tt          |  399 +++++++-------------
 11 files changed, 641 insertions(+), 463 deletions(-)
 create mode 100644 debian/docs/koha-indexer.xml
 create mode 100755 debian/scripts/koha-indexer


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list