[Koha-bugs] [Bug 25078] Update DB process - wrap each DBRev inside a transaction and better error handling
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 14 15:26:43 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25078
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|In Discussion |Needs Signoff
--- Comment #46 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
This is ready for testing again.
I'd like it to be pushed at the beginning of this release cycle, to avoid
unnecessary work with updatedatabase.pl
Here we are going to:
- Move each DBrev into a separate .pl file
- Make the display/output nice for CLI and UI
- Execute each DBrev in a transaction
Improvement to this (on a separate bug report, see bug 27880) could be:
- Use the database to store the dbrevs that have been executed already
- Remove versioning and use YYYY-MM-DD-bug-42424.pl instead of the version
=> Easier for backporting
=> No longer need to be idempotent
=> Track of the execution (error/success) in the DB
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list