Summary: | Add --force option to update_dbix_class_files.pl | ||
---|---|---|---|
Product: | Koha | Reporter: | Martin Renvoize (ashimema) <martin.renvoize> |
Component: | Command-line Utilities | Assignee: | Martin Renvoize (ashimema) <martin.renvoize> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | aleisha, julian.maurice, lucas, robin |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: |
Sometimes, if you know what you are doing, you may want to force a schema overwrite regardless of whether the hashes report there are changes above the fold.
In these cases, we should expose said functionality via a --force option on the script.
***WARNING***: Use this at your own risk.. it's helpful if you are maintaining a fork or in other such cases. You should always attempt to run the script without force first and only resort to using force if that fails. It is also very much worthwhile checking the diff after running with force to ensure you have not resulted in any unexpected changes.
|
Version(s) released in: |
20.11.00, 20.05.03
|
Circulation function: | |||
Attachments: |
Bug 25511: Add --force option to update_dbix_class_files.pl
Bug 25511: Add --force option to update_dbix_class_files.pl Bug 25511: Add --force option to update_dbix_class_files.pl Bug 25511: Add POD for --force |
Description
Martin Renvoize (ashimema)
2020-05-15 09:55:41 UTC
Created attachment 104926 [details] [review] Bug 25511: Add --force option to update_dbix_class_files.pl This adds a --force option to the aforementioned script allowing those in the know to overwrite the schema when changes above the found are detected. Created attachment 104927 [details] [review] Bug 25511: Add --force option to update_dbix_class_files.pl This adds a --force option to the aforementioned script allowing those in the know to overwrite the schema when changes above the found are detected. Signed-off-by: Ere Maijala <ere.maijala@helsinki.fi> Is 19.11 correct here? Created attachment 106495 [details] [review] Bug 25511: Add --force option to update_dbix_class_files.pl This adds a --force option to the aforementioned script allowing those in the know to overwrite the schema when changes above the found are detected. Signed-off-by: Ere Maijala <ere.maijala@helsinki.fi> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Created attachment 107110 [details] [review] Bug 25511: Add POD for --force Pushed to master for 20.11, thanks to everybody involved! backported to 20.05.x for 20.05.03 enhancement, not backported to 19.11.x |