View Issue Details

IDProjectCategoryView StatusLast Update
0007663mantisbtupgradepublic2007-12-21 23:16
Reportergiallu Assigned Tovboctor  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Product Version1.1.0a2 
Target Version1.1.0Fixed in Version1.1.0a3 
Summary0007663: Add support for unattended upgrades
Description

When the database schema changes, there is no way to to trigger the schema update as part of the package update transaction.

All distributions out there would benefit from a schema update script to be run in an unattended way.

For example, it would be good if I could run, from the shell on the machine where mantis is running, something like:

php /path/to/mantis/install.php --updateschema

and the script would apply all required schema changes between installed and updated version

TagsNo tags attached.
Attached Files
7663_patch1.zip (2,385 bytes)
7663_patch2.zip (2,817 bytes)

Activities

giallu

giallu

2007-01-14 11:03

reporter   ~0013918

attached a patch (only tested in a local installation); more info in the enclosed README file

giallu

giallu

2007-02-02 17:12

reporter   ~0013999

revised patch.
Includes an improved output and complete support for post 1.0 schema changes, that is, those from admin/schema.php

vboctor

vboctor

2007-02-20 00:02

manager   ~0014068

Applied the second patch to 1.1.x branch and it will be included in 1.1.0a3. giallu, I would appreciate it if you can download the latest code from CVS and test the unattended upgrade. I did some changes to comply with Mantis standards.