[koha-commits] main Koha release repository branch master updated. v16.05.00-beta-20-g6c65b64
Git repo owner
gitmaster at git.koha-community.org
Mon May 23 19:18:48 CEST 2016
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 6c65b64c84199c7f90e02789ae9644f3e0c4e980 (commit)
via 5dd1b1bb66b12f9c91522631ff97661f7d38d568 (commit)
via 6c7a8c57e7554e0935a63074eb80c8159ecc453b (commit)
via 7f22619001ae25abc5ff2a69162d2c11bbfa1d5a (commit)
via 0b3b53e4f2044480bff96f1ae77a165e0c0e4691 (commit)
from 6c0e8feb79513598c3837b1a8f6a35dba18a786f (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 6c65b64c84199c7f90e02789ae9644f3e0c4e980
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Sat May 21 10:23:46 2016 +0100
Bug 16505: Make sure $as_xml will not be used later
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 5dd1b1bb66b12f9c91522631ff97661f7d38d568
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Sat May 21 10:20:55 2016 +0100
Bug 16506: Remove warning for UNIMARC installs
Use of uninitialized value in numeric eq (==)
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 6c7a8c57e7554e0935a63074eb80c8159ecc453b
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon May 16 16:09:13 2016 -0300
Bug 16506: (followup) Fix wrong option switch warning message
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 7f22619001ae25abc5ff2a69162d2c11bbfa1d5a
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon May 16 12:15:06 2016 -0300
Bug 16506: (Followup) remove warnings
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
commit 0b3b53e4f2044480bff96f1ae77a165e0c0e4691
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon May 16 11:30:35 2016 -0300
Bug 16506: Make rebuild_zebra.pl use XML as default
This patch deprecates the -x switch, making XML the default serialization format
used by rebuild_zebra.pl. It doesn't remove the option switch, but raises a warning
for the end user about the deprecation so they fix their cronjobs. Later we could remove it.
To test:
- Disable all indexing (daemon/cronjob)
- Create 2 records
- Edit one of them, delete the other one
- Verify they are queued for updates in zebraqueue
- sudo koha-mysql kohadev
> SELECT * FROM zebraqueue WHERE done=0
...
| 265 | 265 | specialUpdate | biblioserver | 1 | 2016-05-13 14:23:45 |
| 266 | 1 | recordDelete | biblioserver | 1 | 2016-05-16 14:14:33 |
| 267 | 2 | specialUpdate | biblioserver | 1 | 2016-05-16 14:15:06 |
+-----+--------------------+---------------+--------------+------+---------------------+
- Now go to koha-shell
$ sudo koha-shell kohadev ; cd kohaclone
- Run:
$ misc/migration_tools/rebuild_zebra.pl -k -b -z
You will get something similar to this:
NOTHING cleaned : the export /tmp/jI0OeHy6Tn has been kept.
You can re-run this script with the -s and -d /tmp/jI0OeHy6Tn parameters
if you just want to rebuild zebra after changing the record.abs
or another zebra config file
- Verify
* less /tmp/jI0OeHy6Tn/del_biblio/exported_records
* less /tmp/jI0OeHy6Tn/upd_biblio/exported_records
=> FAIL: They contain the records you added/modified/deleted but they are in
USMARC format
- Apply the patch
- Mark your records for indexing (in koha-mysql kohadev)
> UPDATE zebraqueue SET done=0 WHERE id > 264
- Run:
$ misc/migration_tools/rebuild_zebra.pl -k -b -z
You will get something similar to this:
<WARNINGS> [1]
NOTHING cleaned : the export /tmp/jI0OeHy6Tn has been kept.
You can re-run this script with the -s and -d /tmp/jI0OeHy6Tn parameters
if you just want to rebuild zebra after changing the record.abs
or another zebra config file
- Verify
* less /tmp/jI0OeHy6Tn/del_biblio/exported_records
* less /tmp/jI0OeHy6Tn/upd_biblio/exported_records
=> SUCCESS: Data is correctly in XML format
- Run:
$ misc/migration_tools/rebuild_zebra.pl -k -b -z -noxml
You will get something similar to this:
<WARNINGS> [1]
NOTHING cleaned : the export /tmp/jI0OeHy6Tn has been kept.
You can re-run this script with the -s and -d /tmp/jI0OeHy6Tn parameters
if you just want to rebuild zebra after changing the record.abs
or another zebra config file
- Verify
* less /tmp/jI0OeHy6Tn/del_biblio/exported_records
* less /tmp/jI0OeHy6Tn/upd_biblio/exported_records
=> SUCCESS: Data is correctly in USMARC format
- Sign off :-D
[1] Warnings covered by a followup
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
On top of Bug 16505
Work as described following test plan, usmarc default pre patch,
post patch xml default and usmarc on request.
No errors (all patchset)
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
misc/migration_tools/rebuild_zebra.pl | 139 +++++++++++++++++----------------
1 file changed, 72 insertions(+), 67 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list