[Bug 37495] New: Add ability to specify a single plugin to run for plugins_nightly.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37495 Bug ID: 37495 Summary: Add ability to specify a single plugin to run for plugins_nightly.pl Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: kyle@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org It would be nice to have the ability to specify a single pluign for plugins_nightly.pl to run for a few reasons: 1) It would be very useful for development and testing 2) It gives the ability to run different nightly triggers at different times 3) Some other third thing -- 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=37495 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |kyle@bywatersolutions.com |ity.org | -- 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=37495 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Add ability to specify a |Add ability to use metadata |single plugin to run for |to filter plugins to run |plugins_nightly.pl |for plugins_nightly.pl -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37495 Kyle M Hall <kyle@bywatersolutions.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=37495 --- Comment #1 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 169741 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169741&action=edit Bug 37495: Add ability to use metadata to filter plugins to run for plugins_nightly.pl It would be nice to be able to filter the plugins run by plugins nightly for development and testing, and for added flexibility as to when to run cronjob_nightly for different plugins if need be. Test Plan: 1) Apply this patch 2) Check the metadata for an installed plugin, copy the name or another metadata value. 3) Run plugins_nightly.pl with a filter that does not match e.g. plugins_nightly.pl -m name="No plugin has this name" 4) Note no plugins cronjob methods are run 5) Run plugins_nightly.pl with a filter that *does* match e.g. plugins_nightly.pl -m name="Example Kitchen-Sink Plugin" 6) Not only the matching plugin runs! 7) Run plugins_nightly with no filter e.g. plugins_nightly.pl 8) Note all plugins with nightly cronjobs are run! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37495 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #169741|0 |1 is obsolete| | --- Comment #2 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 169826 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=169826&action=edit Bug 37495: Add ability to use metadata to filter plugins to run for plugins_nightly.pl It would be nice to be able to filter the plugins run by plugins nightly for development and testing, and for added flexibility as to when to run cronjob_nightly for different plugins if need be. Test Plan: 1) Apply this patch 2) Check the metadata for an installed plugin, copy the name or another metadata value. 3) Run plugins_nightly.pl with a filter that does not match e.g. plugins_nightly.pl -m name="No plugin has this name" 4) Note no plugins cronjob methods are run 5) Run plugins_nightly.pl with a filter that *does* match e.g. plugins_nightly.pl -m name="Example Kitchen-Sink Plugin" 6) Not only the matching plugin runs! 7) Run plugins_nightly with no filter e.g. plugins_nightly.pl 8) Note all plugins with nightly cronjobs are run! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37495 David Nind <david@davidnind.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=37495 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #169826|0 |1 is obsolete| | --- Comment #3 from David Nind <david@davidnind.com> --- Created attachment 172200 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172200&action=edit Bug 37495: Add ability to use metadata to filter plugins to run for plugins_nightly.pl It would be nice to be able to filter the plugins run by plugins nightly for development and testing, and for added flexibility as to when to run cronjob_nightly for different plugins if need be. Test Plan: 1) Apply this patch 2) Check the metadata for an installed plugin, copy the name or another metadata value. 3) Run plugins_nightly.pl with a filter that does not match e.g. plugins_nightly.pl -m name="No plugin has this name" 4) Note no plugins cronjob methods are run 5) Run plugins_nightly.pl with a filter that *does* match e.g. plugins_nightly.pl -m name="Example Kitchen-Sink Plugin" 6) Not only the matching plugin runs! 7) Run plugins_nightly with no filter e.g. plugins_nightly.pl 8) Note all plugins with nightly cronjobs are run! Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37495 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172200|0 |1 is obsolete| | --- Comment #4 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 173557 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173557&action=edit Bug 37495: Add ability to use metadata to filter plugins to run for plugins_nightly.pl It would be nice to be able to filter the plugins run by plugins nightly for development and testing, and for added flexibility as to when to run cronjob_nightly for different plugins if need be. Test Plan: 1) Apply this patch 2) Check the metadata for an installed plugin, copy the name or another metadata value. 3) Run plugins_nightly.pl with a filter that does not match e.g. plugins_nightly.pl -m name="No plugin has this name" 4) Note no plugins cronjob methods are run 5) Run plugins_nightly.pl with a filter that *does* match e.g. plugins_nightly.pl -m name="Example Kitchen-Sink Plugin" 6) Not only the matching plugin runs! 7) Run plugins_nightly with no filter e.g. plugins_nightly.pl 8) Note all plugins with nightly cronjobs are run! Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37495 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |martin.renvoize@ptfs-europe | |.com QA Contact|testopia@bugs.koha-communit |martin.renvoize@ptfs-europe |y.org |.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37495 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |24.11.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37495 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Pushed for 24.11! Well done everyone, thank you! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37495 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.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=37495 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This enhancement allows the release notes| |plugins_nightly.pl cronjob | |to execute the nightly | |cronjob plugin hook for one | |or more specific plugins. | |This allows greater | |flexibility in scheduling | |the nightly cronjobs for | |various plugins and allows | |a single plugins cronjob | |hook to be run without | |trigger other plugins | |cronjob hooks. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37495 Kyle M Hall (khall) <kyle@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=37495 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Needs documenting CC| |lucas@bywatersolutions.com --- Comment #6 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Enhancement, no 24.05.x backport. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37495 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Architecture, internals, |Plugin architecture |and plumbing | -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org