[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2014-11-19 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Fridolin SOMERS fridolyn.som...@biblibre.com changed:

   What|Removed |Added

   See Also||http://bugs.koha-community.
   ||org/bugzilla3/show_bug.cgi?
   ||id=13296

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-19 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #41 from Jared Camins-Esakov jcam...@cpbibliography.com ---
Created attachment 12347
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12347action=edit
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 elli...@bywatersolutions.com

Testing plan delivers as it should.

Signed-off-by: Jared Camins-Esakov jcam...@cpbibliography.com
Rebased on latest master 11 September 2012

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-19 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Jared Camins-Esakov jcam...@cpbibliography.com changed:

   What|Removed |Added

 Status|Patch doesn't apply |Passed QA

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-19 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #42 from Jared Camins-Esakov jcam...@cpbibliography.com ---
Created attachment 12348
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12348action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-19 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Paul Poulain paul.poul...@biblibre.com changed:

   What|Removed |Added

  Attachment #12195|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-19 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Paul Poulain paul.poul...@biblibre.com changed:

   What|Removed |Added

  Attachment #12215|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-19 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Paul Poulain paul.poul...@biblibre.com changed:

   What|Removed |Added

 Status|Passed QA   |Pushed to Master
Version|master  |rel_3_10

--- Comment #43 from Paul Poulain paul.poul...@biblibre.com ---
Patch pushed to master

This time, everything work afaics !

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-15 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Jared Camins-Esakov jcam...@cpbibliography.com changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-15 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Jared Camins-Esakov jcam...@cpbibliography.com changed:

   What|Removed |Added

 Status|Signed Off  |Passed QA

--- Comment #38 from Jared Camins-Esakov jcam...@cpbibliography.com ---
Returning to Passed QA so that Paul will see the updated follow-up.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-14 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Paul Poulain paul.poul...@biblibre.com changed:

   What|Removed |Added

  Attachment #12198|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-14 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #35 from Paul Poulain paul.poul...@biblibre.com ---
Created attachment 12213
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12213action=edit
UNIMARC authorities

These authorities comes from BNF

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-14 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #36 from Paul Poulain paul.poul...@biblibre.com ---
Created attachment 12215
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12215action=edit
screenshot of my testing with UNIMARC (and Plack)

It's better, but still failing : the job progress is stalled to 0% forever

In Plack console, I see:
Subroutine redo_matching redefined at
/home/paul/koha.dev/koha-community/tools/manage-marc-import.pl line 142.
Subroutine create_labelbatch_from_importbatch redefined at
/home/paul/koha.dev/koha-community/tools/manage-marc-import.pl line 186.
Subroutine import_batches_list redefined at
/home/paul/koha.dev/koha-community/tools/manage-marc-import.pl line 206.
Subroutine commit_batch redefined at
/home/paul/koha.dev/koha-community/tools/manage-marc-import.pl line 234.
Subroutine revert_batch redefined at
/home/paul/koha.dev/koha-community/tools/manage-marc-import.pl line 263.
Variable $sessionID is not available at
/home/paul/koha.dev/koha-community/tools/manage-marc-import.pl line 296.
Subroutine put_in_background redefined at
/home/paul/koha.dev/koha-community/tools/manage-marc-import.pl line 292.
Subroutine progress_callback redefined at
/home/paul/koha.dev/koha-community/tools/manage-marc-import.pl line 327.
Subroutine add_results_to_template redefined at
/home/paul/koha.dev/koha-community/tools/manage-marc-import.pl line 337.
Variable $sessionID is not available at
/home/paul/koha.dev/koha-community/tools/manage-marc-import.pl line 346.
Subroutine add_saved_job_results_to_template redefined at
/home/paul/koha.dev/koha-community/tools/manage-marc-import.pl line 343.
Subroutine import_records_list redefined at
/home/paul/koha.dev/koha-community/tools/manage-marc-import.pl line 351.
Subroutine batch_info redefined at
/home/paul/koha.dev/koha-community/tools/manage-marc-import.pl line 413.
Subroutine add_matcher_list redefined at
/home/paul/koha.dev/koha-community/tools/manage-marc-import.pl line 445.
Subroutine add_page_numbers redefined at
/home/paul/koha.dev/koha-community/tools/manage-marc-import.pl line 458.

I also tried without plack, and got the same behaviour = job progress stuck at
0% (and nothing added in the database, i've checked)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-14 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Paul Poulain paul.poul...@biblibre.com changed:

   What|Removed |Added

 Status|Passed QA   |Failed QA

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-14 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Jared Camins-Esakov jcam...@cpbibliography.com changed:

   What|Removed |Added

 Status|Failed QA   |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-14 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #37 from Jared Camins-Esakov jcam...@cpbibliography.com ---
Created attachment 12218
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12218action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #29 from SJeffery steven_jeff...@fmi.com ---
I tested this and have the following comments:

1. Possible future enhancement: I can see many libraries requiring the script
link_bibs_to_authorities.pl to be running in order for this to function
properly. As a librarian, I would never know that there is a separate script
that needs to be run in order to get my imported authorities to actually work.
This script may need to be integrated into Koha a bit better.

2. Possible future enhancement: There does not seem to be a good way to match
author (and possibly other types of) authority records at time of import.

That said, this patch works and I am signing off on it. Please note that I am
working remotely so can not sign off in the code.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Paul Poulain paul.poul...@biblibre.com changed:

   What|Removed |Added

 Status|Passed QA   |Failed QA

--- Comment #30 from Paul Poulain paul.poul...@biblibre.com ---
I'm trying to test this patch.
Test plan:
 * search an authority, and export it in iso2709 unicode
 * go to stage-marc-import.pl and upload it, specifying it's an authority
 * go to manage-marc-import.pl, check it's an authority (Type: Authority
records is displayed = OK)

the manage-marc-import.pl says:
 Add new bibliographic records into this framework: list of biblio frameworks

There's also:
Item processing: Always add items

I think it's wrong.

Just behind, the citation is empty

Hitting Import this batch into the catalogue fails = the job progress stays
to 0% forever


Side question = is it supposed to work well in UNIMARC ?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #31 from Paul Poulain paul.poul...@biblibre.com ---
Created attachment 12195
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12195action=edit
screenshot for my previous comment

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #32 from Jared Camins-Esakov jcam...@cpbibliography.com ---
Did you run the database update? That's what it looks like when you don't.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #33 from Paul Poulain paul.poul...@biblibre.com ---
Created attachment 12198
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12198action=edit
unimarc authority used for testing

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Jared Camins-Esakov jcam...@cpbibliography.com changed:

   What|Removed |Added

 Status|Failed QA   |Passed QA

--- Comment #34 from Jared Camins-Esakov jcam...@cpbibliography.com ---
Marking back to Passed QA, as it would seem the UNIMARC authority in question
was entirely garbled by the Koha export.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-12 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

SJeffery steven_jeff...@fmi.com changed:

   What|Removed |Added

 CC||steven_jeff...@fmi.com

--- Comment #26 from SJeffery steven_jeff...@fmi.com ---
Is this going to make it into 3.10? We have some major projects in our library
that would make extensive use of this functionality.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-12 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Katrin Fischer katrin.fisc...@bsz-bw.de changed:

   What|Removed |Added

 CC||katrin.fisc...@bsz-bw.de

--- Comment #27 from Katrin Fischer katrin.fisc...@bsz-bw.de ---
Hi SJeffery, you could help getting this in by testing it very well and then
giving it another sign-off!

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-12 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #28 from Katrin Fischer katrin.fisc...@bsz-bw.de ---
Really, it would be a great addition - and more sign-offs are always helpful.
:)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-11 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Jared Camins-Esakov jcam...@cpbibliography.com changed:

   What|Removed |Added

  Attachment #11258|0   |1
is obsolete||

--- Comment #23 from Jared Camins-Esakov jcam...@cpbibliography.com ---
Created attachment 12150
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12150action=edit
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 elli...@bywatersolutions.com

Signed-off-by: Jared Camins-Esakov jcam...@cpbibliography.com
Rebased on master 1 August 2012
Signed-off-by: Jared Camins-Esakov jcam...@cpbibliography.com
Rebased on master 11 September 2012

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-11 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Jared Camins-Esakov jcam...@cpbibliography.com changed:

   What|Removed |Added

  Attachment #11259|0   |1
is obsolete||

--- Comment #24 from Jared Camins-Esakov jcam...@cpbibliography.com ---
Created attachment 12151
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12151action=edit
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 elli...@bywatersolutions.com

Signed-off-by: Jared Camins-Esakov jcam...@cpbibliography.com
Rebased on latest master 11 September 2012

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-11 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Jared Camins-Esakov jcam...@cpbibliography.com changed:

   What|Removed |Added

  Attachment #11260|0   |1
is obsolete||

--- Comment #25 from Jared Camins-Esakov jcam...@cpbibliography.com ---
Created attachment 12152
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12152action=edit
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 elli...@bywatersolutions.com

Testing plan delivers as it should.

Signed-off-by: Jared Camins-Esakov jcam...@cpbibliography.com
Rebased on latest master 11 September 2012

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-07 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Paul Poulain paul.poul...@biblibre.com changed:

   What|Removed |Added

 CC||paul.poul...@biblibre.com

--- Comment #22 from Paul Poulain paul.poul...@biblibre.com ---
(In reply to comment #16)
 How can you possibly pass QA if you HAVEN'T TESTED IT
Jumping in the discution = Kyle, the QA team does not test the feature, it
investigates code to detect something not respecting coding guidelines, coding
practices.
Sometimes, the QAer also find some possible side effect. Something that is not
in the test plan, but could break another thing. In this case, there are 2
possibilities:
 * the QAer test itself
 * the QAer ask for more tests  switch back to need signoff
 * the QAer passes QA, warning the RM, that has the final cut anyway
(yes, that's 3 and not 2, but it's friday, so it's permitted)

;-)

Time to leave for me now, i'll test this patch lated  deeply

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-05 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Chris Cormack ch...@bigballofwax.co.nz changed:

   What|Removed |Added

 Status|Signed Off  |Passed QA
 CC||ch...@bigballofwax.co.nz

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-09-04 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Brendan Gallagher bren...@bywatersolutions.com changed:

   What|Removed |Added

 CC||bren...@bywatersolutions.co
   ||m

--- Comment #21 from Brendan Gallagher bren...@bywatersolutions.com ---
(In reply to comment #20)
 (In reply to comment #19)
  But you did respond ; )
 Could not resist it
 
  I do apologize if my reply came off as yelling. Tone doesn't really come
  through well when it comes to plain text. I was only trying to add emphasis.
  I do stand by what I wrote but I hope there are no hard feelings.
 OK
 I think we should discuss what QA is/should be on the list. For me it is not
 a second signoff. If the queue and time allows, I would be happy to test and
 sign off additionally. But that is not always the case. Please send a mail
 to the list..

I do agree tone is hard to understand. 

This is a great discussion to bring to the mailing list.  Maybe for future
QA(x)'s and RM's - a note on the bug of - it passes code quality but WE need
more (someone) to test the functionality.  

Marcel this was in no way directed at you (we all need more testing - wish I
had the magic wand for that).  We all appreciate the hard work that you are
volunteering.  Marcel++

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-08-31 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #19 from Kyle M Hall k...@bywatersolutions.com ---
(In reply to comment #18)
 (In reply to comment #16)
  How can you possibly pass QA if you HAVEN'T TESTED IT
 Shouting to volunteers in the QA team will not help you. Your tone is not
 acceptable. So I will not even  respond.

But you did respond ; )

I do apologize if my reply came off as yelling. Tone doesn't really come
through well when it comes to plain text. I was only trying to add emphasis. I
do stand by what I wrote but I hope there are no hard feelings.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-08-31 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #20 from M. de Rooy m.de.r...@rijksmuseum.nl ---
(In reply to comment #19)
 But you did respond ; )
Could not resist it

 I do apologize if my reply came off as yelling. Tone doesn't really come
 through well when it comes to plain text. I was only trying to add emphasis.
 I do stand by what I wrote but I hope there are no hard feelings.
OK
I think we should discuss what QA is/should be on the list. For me it is not a
second signoff. If the queue and time allows, I would be happy to test and sign
off additionally. But that is not always the case. Please send a mail to the
list..

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-08-30 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

M. de Rooy m.de.r...@rijksmuseum.nl changed:

   What|Removed |Added

 Status|Signed Off  |Passed QA
 CC||m.de.r...@rijksmuseum.nl
 QA Contact|koha-b...@lists.koha-commun |m.de.r...@rijksmuseum.nl
   |ity.org |

--- Comment #15 from M. de Rooy m.de.r...@rijksmuseum.nl ---
QA Comment:
Quite impressive changes to incorporate auths into import functionality.
Code looks good to me. Did not test, refer to signoff.
I will upgrade the status, but with the note to RM that with these changes it
would not hurt if we had yet another signoff or two :)
It includes an atomicupdate to be pasted into updatedatabase.

Passed QA

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-08-30 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Kyle M Hall k...@bywatersolutions.com changed:

   What|Removed |Added

 Status|Passed QA   |Failed QA
 CC||k...@bywatersolutions.com

--- Comment #16 from Kyle M Hall k...@bywatersolutions.com ---
How can you possibly pass QA if you HAVEN'T TESTED IT

This is a major failure in QA. I'm sorry, but if you haven't tested it you
shouldn't be changing the status.

Koha 3.8.x has been quite buggy, and actions like this won't help at all.

Kyle

(In reply to comment #15)
 QA Comment:
 Quite impressive changes to incorporate auths into import functionality.
 Code looks good to me. Did not test, refer to signoff.
 I will upgrade the status, but with the note to RM that with these changes
 it would not hurt if we had yet another signoff or two :)
 It includes an atomicupdate to be pasted into updatedatabase.
 
 Passed QA

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-08-30 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Kyle M Hall k...@bywatersolutions.com changed:

   What|Removed |Added

 Status|Failed QA   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-08-30 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #17 from Kyle M Hall k...@bywatersolutions.com ---
I know you suggest another sign-off or two, but if you think that is necessary,
mark it as 'Needs Signoff', not 'Passed QA'.

Kyle

(In reply to comment #15)
 QA Comment:
 Quite impressive changes to incorporate auths into import functionality.
 Code looks good to me. Did not test, refer to signoff.
 I will upgrade the status, but with the note to RM that with these changes
 it would not hurt if we had yet another signoff or two :)
 It includes an atomicupdate to be pasted into updatedatabase.
 
 Passed QA

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-08-30 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #18 from M. de Rooy m.de.r...@rijksmuseum.nl ---
(In reply to comment #16)
 How can you possibly pass QA if you HAVEN'T TESTED IT
Shouting to volunteers in the QA team will not help you. Your tone is not
acceptable. So I will not even  respond.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-08-10 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Magnus Enger mag...@enger.priv.no changed:

   What|Removed |Added

 CC||d...@randomnotes.org

--- Comment #14 from Magnus Enger mag...@enger.priv.no ---
*** Bug 5332 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-08-01 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Jared Camins-Esakov jcam...@cpbibliography.com changed:

   What|Removed |Added

  Attachment #10901|0   |1
is obsolete||

--- Comment #12 from Jared Camins-Esakov jcam...@cpbibliography.com ---
Created attachment 11259
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11259action=edit
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 elli...@bywatersolutions.com

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-08-01 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Jared Camins-Esakov jcam...@cpbibliography.com changed:

   What|Removed |Added

  Attachment #10902|0   |1
is obsolete||

--- Comment #13 from Jared Camins-Esakov jcam...@cpbibliography.com ---
Created attachment 11260
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11260action=edit
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 elli...@bywatersolutions.com

Testing plan delivers as it should.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-07-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #3 from Jared Camins-Esakov jcam...@cpbibliography.com ---
Created attachment 10893
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10893action=edit
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-07-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #4 from Jared Camins-Esakov jcam...@cpbibliography.com ---
Created attachment 10894
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10894action=edit
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-07-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #5 from Jared Camins-Esakov jcam...@cpbibliography.com ---
Created attachment 10895
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10895action=edit
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-07-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #6 from Elliott Davis elli...@bywatersolutions.com ---
Created attachment 10899
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10899action=edit
Bug 8063 - Followup - Bug fix

$OUTPUT being used but not being declared.

When trying to run this script I gat a nasty:
15:42 ~/koha.dev/koha-community (new/bug_8063 $%)$
./misc/cronjobs/gather_print_notices.pl
Global symbol $OUTPUT requires explicit package name at
./misc/cronjobs/gather_print_notices.pl line 81.
Global symbol $OUTPUT requires explicit package name at
./misc/cronjobs/gather_print_notices.pl line 95.
Global symbol $OUTPUT requires explicit package name at
./misc/cronjobs/gather_print_notices.pl line 102.
Global symbol $OUTPUT requires explicit package name at
./misc/cronjobs/gather_print_notices.pl line 106.
Global symbol $OUTPUT requires explicit package name at
./misc/cronjobs/gather_print_notices.pl line 120.
Global symbol $OUTPUT requires explicit package name at
./misc/cronjobs/gather_print_notices.pl line 127.
Execution of ./misc/cronjobs/gather_print_notices.pl aborted due to compilation
errors.

Signed-off-by: Jonathan Druart jonathan.dru...@biblibre.com
Before the patch:
$perl -wc ./misc/cronjobs/gather_print_notices.pl
Global symbol $OUTPUT requires explicit package name at
[...]./misc/cronjobs/gather_print_notices.pl line 81.
./misc/cronjobs/gather_print_notices.pl had compilation errors.

With this patch:
$perl -wc ./misc/cronjobs/gather_print_notices.pl
./misc/cronjobs/gather_print_notices.pl syntax OK

Signed-off-by: Paul Poulain paul.poul...@biblibre.com

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-07-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Elliott Davis elli...@bywatersolutions.com changed:

   What|Removed |Added

  Attachment #10899|0   |1
is obsolete||

--- Comment #7 from Elliott Davis elli...@bywatersolutions.com ---
Comment on attachment 10899
  -- http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10899
Bug 8063 - Followup - Bug fix

Ignore the follow up for bug 8063.  When attaching through git bz I entered one
too many commitid's.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-07-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #8 from Elliott Davis elli...@bywatersolutions.com ---
Created attachment 10900
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10900action=edit
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 elli...@bywatersolutions.com

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-07-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #9 from Elliott Davis elli...@bywatersolutions.com ---
Created attachment 10901
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10901action=edit
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 elli...@bywatersolutions.com

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-07-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #10 from Elliott Davis elli...@bywatersolutions.com ---
Created attachment 10902
  --
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10902action=edit
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 elli...@bywatersolutions.com

Testing plan delivers as it should.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-07-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Elliott Davis elli...@bywatersolutions.com changed:

   What|Removed |Added

  Attachment #10893|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-07-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Elliott Davis elli...@bywatersolutions.com changed:

   What|Removed |Added

  Attachment #10894|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-07-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Elliott Davis elli...@bywatersolutions.com changed:

   What|Removed |Added

  Attachment #10895|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-07-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Elliott Davis elli...@bywatersolutions.com changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off
 CC||elli...@bywatersolutions.co
   ||m

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-07-17 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Jared Camins-Esakov jcam...@cpbibliography.com changed:

   What|Removed |Added

 Blocks||7475
 Depends on|7475|

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-07-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

--- Comment #2 from Nicole C. Engard neng...@gmail.com ---
Jared,

Can you attach the patches here instead? 

Nicole

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-06-27 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Jared Camins-Esakov jcam...@cpbibliography.com changed:

   What|Removed |Added

 Status|ASSIGNED|Needs Signoff

--- Comment #1 from Jared Camins-Esakov jcam...@cpbibliography.com ---
Patches are available in the bug_2060 branch in my repository:
https://github.com/jcamins/koha.git

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-06-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Jared Camins-Esakov jcam...@cpbibliography.com changed:

   What|Removed |Added

 Depends on||7475

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-06-07 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Jared Camins-Esakov jcam...@cpbibliography.com changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
  Change sponsored?|--- |Sponsored
   Assignee|gmcha...@gmail.com  |jcam...@cpbibliography.com

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 2060] Ability to import Authorities from Staff Client

2012-06-07 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2060

Jared Camins-Esakov jcam...@cpbibliography.com changed:

   What|Removed |Added

 Blocks||8212

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/