[koha-commits] main Koha release repository branch new/bug_2060 created. v3.08.00-868-ga287383

Git repo owner gitmaster at git.koha-community.org
Wed Sep 19 17:23:09 CEST 2012


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, new/bug_2060 has been created
        at  a2873831535714f2a804cb05eb13c37d925acfda (commit)

- Log -----------------------------------------------------------------
commit a2873831535714f2a804cb05eb13c37d925acfda
Author: Paul Poulain <paul.poulain at biblibre.com>
Date:   Wed Sep 19 17:25:19 2012 +0200

    Bug 2060 follow-up DBRev & updatedatabase

commit 65c0174e636f4f1d54ead66502f4f5a842c2e1ad
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Fri Sep 14 08:46:04 2012 -0400

    Bug 2060 follow-up: add support for UNIMARCAUTH
    
    The staged MARC management script was not correctly informing
    the decoder ring that we had UNIMARC authorities, and the decoder
    ring was dutifully trying to turn the authority records into a
    bibliographic box of cereal.

commit 7ad5e203da0a7aa5436366b0735ea24dc0ac2d41
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Mon Jun 25 11:38:19 2012 -0400

    Bug 2060: Update command line MARC import scripts
    
    Expose authority import functionality to the command line import
    scripts, and rename them from commit_biblios_file.pl and
    stage_biblios_file.pl to commit_file.pl and stage_file.pl.
    
    To test (note that these instructions assume you have a MARC21
    installation and are using the provided sample file):
    1. Find a file of authorities (a sample file with MARC21 authorities
       is attached to bug 7475) and download it to your server
    2. Stage the file using the following command (replace <filename> with
       the name of the file you saved in step 1):
       > misc/stage_file.pl --file <filename> --authorities
    3. Note the batch number the script assigns to your batch
    4. Commit the records using the following command (replace <batchnumber>
       with the batch number you made note of in step 3):
       > misc/commit_file.pl --batch-number <batchnumber>
    5. Index the authorities Zebraqueue (or wait)
    6. Confirm that the new authorities appear.
    7. Create a matching rule with the following settings:
       Code: AUTHTEST
       Description: Personal name main entry
       Match threshold: 999
       Record type: Authority record
       Search index: Heading-main
       Score: 1000
       Tag: 100
       Subfields: a
       Offset: 0
       Length: 0
       (note the ID of this matching rule)
    8. Stage the authority file again, this time using the following
       command:
       > misc/stage_file.pl --file <filename> --authorities \
         --match <matchingrule>
    7. Revert the import with the following command:
       > misc/commit_file.pl --batch-number <batchnumber> --revert
    8. Index the authorities Zebraqueue (or wait)
    9. Confirm that the records have been removed
    10. Import an authority record with the Stage MARC/Manage staged MARC
        tools in exactly the way you would for a bibliographic record,
        but choose "Authority" instead of "Bibliographic" for the record
        type.
    
    Signed-off-by: Elliott Davis <elliott at bywatersolutions.com>
    
    Testing plan delivers as it should.
    
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
    Rebased on latest master 11 September 2012

commit 6e71b80ca39e6f1d2c31659a9a656de807ef3f32
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Mon Jun 25 11:34:59 2012 -0400

    Bug 7475: Teach matching rules to handle authorities
    
    * Add the code necessary to handle authorities with matching rules and
      import batches.
    * Update all the scripts that use the matcher and import batch code
      to use the new API.
    * Add authority records to the matching rules interface in the staff
      client.
    
    http://bugs.koha-community.org/show_bug.cgi?id=2060
    Signed-off-by: Elliott Davis <elliott at bywatersolutions.com>
    
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
    Rebased on latest master 11 September 2012

commit 91be607586aa1b667d98eaddf534f969f9aef812
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Mon Jun 25 12:36:45 2012 -0400

    Bug 7475: Update configuration
    
    In order to make matching rules more useful for MARC21 authorities,
    this patch adds special indexes on previous see-from headings and
    LCCN. This patch does not change UNIMARC authority configuration in
    any way. Also modifies the Koha schema in preparation for adding
    authority import and matching to the Staging tools.
    
    To install:
    1. Run installer/data/mysql/atomicupdate/importauthorities.pl
    2. Update the following four files in your koha-dev:
        etc/zebradb/authorities/etc/bib1.att
        etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml
        etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl
        etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl
    3. Reindex your authorities:
        misc/migration_tools/rebuild_zebra.pl -a -r -v
    
    NOTE TO RM: this patch adds an atomicupdate file that needs to be
    incorporated into updatedatabase.pl if bug 7167 is not pushed.
    
    http://bugs.koha-community.org/show_bug.cgi?id=2060
    
    Signed-off-by: Elliott Davis <elliott at bywatersolutions.com>
    
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
    Rebased on master 1 August 2012
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
    Rebased on master 11 September 2012

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


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list