[Bug 25252] New: Add script to export bib data to CollectionHQ
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25252 Bug ID: 25252 Summary: Add script to export bib data to CollectionHQ Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: david.roberts@ptfs-europe.com QA Contact: testopia@bugs.koha-community.org We (PTFS-Europe) have been using this script to export catalogue data to CollectionHQ for many of our customers for a long time now, and it would be very useful if it could be incorporated into the core code. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25252 David Roberts <david.roberts@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |david.roberts@ptfs-europe.c |ity.org |om -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25252 --- Comment #1 from David Roberts <david.roberts@ptfs-europe.com> --- Created attachment 103482 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103482&action=edit Bug 25252: Add script to export bib data to CollectionHQ This script adds the capability to export bibliographic data to CollectionHQ via a cronjob. To test: 1) Apply the patch 2) Run the script and an export file should be created in /tmp 3) If you have a valid username and password for the CollectionHQ ftp server, add these credentials into lines 83 and 84 and run the script again to ensure it transfers correctly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25252 David Roberts <david.roberts@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25252 Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bgkriegel@gmail.com Status|Needs Signoff |Failed QA --- Comment #2 from Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> --- Hi, it works, data exported to /tmp, but need an update in licence FAIL misc/export2collectionhq.pl OK critic FAIL forbidden patterns forbidden pattern: Koha is now under the GPLv3 license (line 9) Also an usage/help(-h|--help) with a little description would be handy Please fix and I'll test again -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25252 David Roberts <david.roberts@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #103482|0 |1 is obsolete| | --- Comment #3 from David Roberts <david.roberts@ptfs-europe.com> --- Created attachment 103671 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103671&action=edit Bug 25252: Add script to export bib data to CollectionHQ This script adds the capability to export bibliographic data to CollectionHQ via a cronjob. To test: 1) Apply the patch 2) Run the script and an export file should be created in /tmp 3) If you have a valid username and password for the CollectionHQ ftp server, add these credentials into lines 83 and 84 and run the script again to ensure it transfers correctly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25252 David Roberts <david.roberts@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff --- Comment #4 from David Roberts <david.roberts@ptfs-europe.com> --- I've changed the licence number and added a rudimentary help page. Thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25252 --- Comment #5 from Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> --- There are 2 'my $result' my $result = GetOptions( 'h|help' => \$want_help ); my $result = GetOptions( 'h|help' => \$want_help ); also some suggestion about encoding FAIL misc/export2collectionhq.pl FAIL critic I/O layer ":utf8" used at line 52, column 1. Use ":encoding(UTF-8)" to get strict validation. OK forbidden patterns OK git manipulation OK pod OK spelling FAIL valid "my" variable $result masks earlier declaration in same scope running with --help shows message but also the error misc/export2collectionhq.pl --help "my" variable $result masks earlier declaration in same scope at misc/export2collectionhq.pl line 48. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25252 --- Comment #6 from David Roberts <david.roberts@ptfs-europe.com> --- Sorry, I should have spotted the duplicated lines - it was a copy and paste job! I've also changed the encoding statement. I don't see the error when I run it with --help though - how are you testing it? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25252 David Roberts <david.roberts@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #103671|0 |1 is obsolete| | --- Comment #7 from David Roberts <david.roberts@ptfs-europe.com> --- Created attachment 103691 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103691&action=edit Bug 25252: Add script to export bib data to CollectionHQ This script adds the capability to export bibliographic data to CollectionHQ via a cronjob. To test: 1) Apply the patch 2) Run the script and an export file should be created in /tmp 3) If you have a valid username and password for the CollectionHQ ftp server, add these credentials into lines 83 and 84 and run the script again to ensure it transfers correctly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25252 Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25252 Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #103691|0 |1 is obsolete| | --- Comment #8 from Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> --- Created attachment 103705 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103705&action=edit Bug 25252: Add script to export bib data to CollectionHQ This script adds the capability to export bibliographic data to CollectionHQ via a cronjob. To test: 1) Apply the patch 2) Run the script and an export file should be created in /tmp 3) If you have a valid username and password for the CollectionHQ ftp server, add these credentials into lines 83 and 84 and run the script again to ensure it transfers correctly. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25252 David Roberts <david.roberts@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org