Hi Marko,
Marko Niinimaki wrote:
Hello,
2009/12/10 Benoit Thiell <[email protected]>:
Hi Tibor,
Tibor Simko wrote:
On Thu, 10 Dec 2009, Benoit Thiell wrote:
Additions to the latest Makefile update script (currently v0.99.1) are
added regularly but differences between the code and the MySQL table
updating scripts remain
I'm not sure if it is worth to keep maintaining these targets for any
I another project, I found the following practice really useful:
-there is a database table called schema_version (or equivalent) that
contains a version number
-every "make install" checks the version number and upgrades the table
structure if needed
-every git submit that changes the database increases the version number
That's approximately what I had in mind. Last week-end I wrote an
implementation proposal as a Python script that checks the database and
Invenio versions in the way that you described and then returns the list
of updates to apply in order to upgrade the database. This week-end I
will do some testing on my code and send it out on Monday.
Benoit.