[Koha-bugs] [Bug 7419] Add authority deduplication script

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 22 16:21:54 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7419

Jared Camins-Esakov <jcamins at cpbibliography.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|julian.maurice at biblibre.com |jcamins at cpbibliography.com

--- Comment #32 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Several people have asked about a test plan, so I am repeating my test plan
from comment 30, since that comment is so long it can be hard to find:
To test using the sample records attached to the bug (MARC21 only):
1) Apply patches.
2) Import the sample records (sampleauths.mrc) file into Koha and
   make sure that they get indexed (by waiting until rebuild_zebra.pl
   runs automatically or by running rebuild_zebra.pl -a -z [-x] manually)
3) Deduplicate based on LCCN (replace {FIRSTAUTH} with the authid of the
   first imported record; on my system that number is 367123668; this is
   not actually necessary, but if you have a lot of authority records,
   the process could take quite a while otherwise):

   > misc/migration_tools/dedup_records.pl -t -v -a \
     -l "authid >= {FIRSTAUTH}" -r -m "lc-card/010a" -s date

4) Check that you have 21 duplicate records replaced from amongst the
   new records (you will quite possibly have more than 21 duplicate
   records reported, depending on whether you have any of these
   authorities already, but you should have at least the 21).
5) Deduplicate based on genre heading, preferring Library of Congress
   authorities to local authorities:

   > misc/migration_tools/dedup_records.pl -t -v -a \
     -l "authid >= {FIRSTAUTH}" -r -m "he/155a" -s "source=DLC" -s date

6) Check that you have 3 duplicate records replaced from amongst the new
   records.
7) Sign off.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list