[Bug 41062] New: Expand cronjob erm_run_harvester.pl with parameter for providers
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 Bug ID: 41062 Summary: Expand cronjob erm_run_harvester.pl with parameter for providers Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Command-line Utilities Assignee: koha-bugs@lists.koha-community.org Reporter: michaela.sieber@kit.edu QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz We would like to have an option to define the providers that are used to run the SUSHI harvesting for COUNTER Reports in the ERM module. The script will check if these providers are active (as before) If the parameter for provider_id is not used all active providers will be harvested (as before) The parameter provider_id is repeatable. We will provide a patch soon. Chapter in Manual: https://koha-community.org/manual/latest/en/html/cron_jobs.html#cron-ermrunh... New Parameter to add to the manual: --provider-id or -p provider that will be harvested. This parameter is repeatable -- 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=41062 Michaela Sieber <michaela.sieber@kit.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clemens.tubach@kit.edu, | |jan.kissig@th-wildau.de, | |katrin.fischer@bsz-bw.de Assignee|koha-bugs@lists.koha-commun |raphael.straub@kit.edu |ity.org | Status|NEW |ASSIGNED -- 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=41062 --- Comment #1 from Raphael Straub <raphael.straub@kit.edu> --- Created attachment 188268 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188268&action=edit Bug 41062: Add an option to erm_run_harvester.pl to specify provider IDs This patch adds a new option to define the providers in cronjob erm_run_harvester.pl that are used to run the SUSHI harvesting for COUNTER Reports in the ERM module. Use parameter --provider-id or -p The parameter provider_id is repeatable. If the parameter for provider_id is not used all active providers will be harvested (as before). The script will check if these providers are active (as before). To test: - Run the script and make sure that all active providers are harvested. - Apply patch. - Run the script with only one provider-id. - Run the script with two provider-ids by using -p 1 -p 2 - Run the script without the parameter. - Make sure that in all cases only active providers are harvested. - Sign off :-). Sponsored-by: Karlsruhe Institute of Technology (KIT) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 Raphael Straub <raphael.straub@kit.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 Raphael Straub <raphael.straub@kit.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Sponsorship status|--- |Sponsored Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 Jan Kissig <bibliothek@th-wildau.de> 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=41062 Jan Kissig <bibliothek@th-wildau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188268|0 |1 is obsolete| | --- Comment #2 from Jan Kissig <bibliothek@th-wildau.de> --- Created attachment 188440 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188440&action=edit Bug 41062: Add an option to erm_run_harvester.pl to specify provider IDs This patch adds a new option to define the providers in cronjob erm_run_harvester.pl that are used to run the SUSHI harvesting for COUNTER Reports in the ERM module. Use parameter --provider-id or -p The parameter provider_id is repeatable. If the parameter for provider_id is not used all active providers will be harvested (as before). The script will check if these providers are active (as before). Script to run on ktd: perl misc/cronjobs/erm_run_harvester.pl --begin-date 2025-09-01 --end-date 2025-09-30 To test: - Run the script and make sure that all active providers are harvested. - Apply patch. - Run the script with only one provider-id. - Run the script with two provider-ids by using -p 1 -p 2 - Run the script without the parameter. - Make sure that in all cases only active providers are harvested. - Sign off :-). Sponsored-by: Karlsruhe Institute of Technology (KIT) Signed-off-by: Jan Kissig <bibliothek@th-wildau.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 Michaela Sieber <michaela.sieber@kit.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@gmail.com, | |matt.blenkinsop@openfifth.c | |o.uk, | |pedro.amorim@openfifth.co.u | |k -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Comma delimited| |Karlsruhe Institute of list of Sponsors| |Technology (KIT) Patch complexity|Small patch |Trivial patch Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #188440|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 --- Comment #3 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 195008 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195008&action=edit Bug 41062: Add an option to erm_run_harvester.pl to specify provider IDs This patch adds a new option to define the providers in cronjob erm_run_harvester.pl that are used to run the SUSHI harvesting for COUNTER Reports in the ERM module. Use parameter --provider-id or -p The parameter provider_id is repeatable. If the parameter for provider_id is not used all active providers will be harvested (as before). The script will check if these providers are active (as before). Script to run on ktd: perl misc/cronjobs/erm_run_harvester.pl --begin-date 2025-09-01 --end-date 2025-09-30 To test: - Run the script and make sure that all active providers are harvested. - Apply patch. - Run the script with only one provider-id. - Run the script with two provider-ids by using -p 1 -p 2 - Run the script without the parameter. - Make sure that in all cases only active providers are harvested. - Sign off :-). Sponsored-by: Karlsruhe Institute of Technology (KIT) Signed-off-by: Jan Kissig <bibliothek@th-wildau.de> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |martin.renvoize@openfifth.c |y.org |o.uk CC| |martin.renvoize@openfifth.c | |o.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |release-notes-needed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 Michaela Sieber <michaela.sieber@kit.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This enhancement adds a new release notes| |option to define specific | |providers in the cronjob | |erm_run_harvester.pl that | |are used to run the | |harvesting for COUNTER | |Reports in the ERM module. | |Use parameter --provider-id | |or -p | |The parameter provider-id | |is repeatable. | |If the parameter for | |provider-id is not used all | |active providers will be | |harvested (as before). | |The script will check if | |these providers are active | |(as before). Keywords|release-notes-needed | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |26.05.00 released in| | --- Comment #4 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Pushed to main for 26.05.00 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 Jacob O'Mara <jacob.omara@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Pushed to stable Version(s)|26.05.00 |26.05.00,25.11.05 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 --- Comment #5 from Jacob O'Mara <jacob.omara@openfifth.co.uk> --- Thanks all, pushed to 25.11.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41062 Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wainuiwitikapark@catalyst.n | |et.nz Status|Pushed to stable |Needs documenting --- Comment #6 from Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> --- Enhancement - not backporting to 25.05 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org