[Koha-bugs] [Bug 5069] New: Authority clean-up scripts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 28 18:35:52 CEST 2010


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

           Summary: Authority clean-up scripts
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Command-line Utilities
        AssignedTo: chris at bigballofwax.co.nz
        ReportedBy: ccurry at amphilsoc.org
         QAContact: koha-bugs at lists.koha-community.org
   Estimated Hours: 0.0


When we originally migrated our data, we loaded ~ 40,000 auth records
corresponding to ~ 200,000 bib records. I ran the link_bibs_to_authorities.pl
script, but it appears that we have some bad data in our authorities (or our
bibs?), because some did not link correctly.

I wonder if there's a way to utilize the process that creates authority records
from the appropriate fields during the record creation process to generate
authority records from unlinked headings of existing bibs.  In addition, we'd
like to be able to delete the authorities we imported that have no bibs linked.

I asked this question yesterday on IRC#koha and Chris Cormack mentioned that a
script could be written for both of these and it "might be a good koha code
learning exercise for someone at catalyst."  He asked me to submit this
enhancement and assign it to him.

One thing I should add is this:  If there is not already a duplicate auth
record checking functionality built into the process which auto-generates
authorities during the record creation process, it seems that this would be
important for a command line script, since we wouldn't want to create a bunch
of identical authorities (which would then not function correctly as authority
records).  Perhaps the link_bibs_to_authorities.pl script contains the
necessary dup finding code?

We're running 3.00.05.001 (on Debian Lenny), so it would be useful for us if
the scripts were compatible with 3.0 & 3.2.  If necessary, we'd be willing to
upgrade to 3.00.06 (we're hoping to do so soon, anyway, unless 3.2 becomes
stable before we get around to it :) ).

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list