[Koha-bugs] [Bug 32334] Sync comments in database with schema
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 13 11:53:08 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32334
--- Comment #6 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
1. > The flags -clear, -reset and -renumber are mutually exclusive.
Then I think the script should catch this situation.
2. I think we discussed that already, but there is more --confirm flags than
--dry-run in our scripts. It's confusing to have both.
3. You should remove references to 'verbose' in the module
4. Path to structure depend on cwd, we can do better.
% cd misc/maintenance
% perl sync_db_comments.pl --database koha_kohadev --reset
Exception 'Koha::Exceptions::FileNotFound' thrown 'File not found' with
filename => installer/data/mysql/kohastructure.sql
5. use Data::Dumper (x2)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list