Ticket #109 (open enhancement)
db_update should be runable via CLI
- Created: 2010-08-28 19:59:30
- Reported by: Reines
- Milestone: 2.0-alpha5
- Priority: normal
- Assigned to: None
- Component: usability
Being able to run db_update via CLI would be a lot easier for "advanced" users.
History
Mpok 2010-08-28 20:42:30
Maybe a good time to also add a way to (optionaly) specify a "target bdd", different from "origin" one.
For "advanced users" as u said, it would be useful to just "fill" the new bdd instead of modifying the current one.
Franz 2010-08-31 19:40:28
This would not only make updating easier for advanced users. It could also go hand-in-hand with the proposed method for making sure only admins can run the upgrade script plus allow us to avoid problems with things like memory limit and process timeouts.
Reines 2010-10-18 18:00:43
It is also worth considering locking the tables when updating the database from 1.2, if running from the CLI.
Currently this has no real benefit since as few as 300 rows are processed per session, but if the whole database was to be processed in a single session then locking may be beneficial.

