Issue description
Read the current version from the filesystem while running the update. This way it can be avoided to run duplicate updates. Central is that there is a version comparision function, which can be used to sort the updates and decide from where to run them.
Created: 2008-02-12 10:04:56, Robert Cerny Modified: 2009-08-21 08:59:06, Robert Cerny
Link,
No reifier
Comment
The update script looks for a backup of the VERSION file in resources/updates. It cannot take the one in the home directory of Topincs, since it will be already the new VERSION, when update is run (update is run after extracting the new distribution). If it does not find a VERSION file it assumes the version "1.0.0", which means that it will run all updates again, like it has been until this enhancement. At the end of the update script the new VERSION file is copied from Topincs home to resources/updates.
Created: 2008-02-14 22:48:34, Robert Cerny Modified: 2008-02-14 22:48:34, Robert Cerny
Link,
No reifier
|
AffectsReporting date2008-02-12 Created: 2008-02-12 10:04:56, Robert Cerny Modified: 2008-02-12 10:04:56, Robert Cerny
Link,
No reifier
Reported by
Robert Cerny
Created: 2008-02-12 10:04:56, Robert Cerny Modified: 2008-02-12 10:04:56, Robert Cerny
Link,
No reifier
Resolving date2008-02-13 Created: 2008-02-14 22:49:19, Robert Cerny Modified: 2008-02-14 22:49:19, Robert Cerny
Link,
No reifier
Resolved by
Robert Cerny
Created: 2008-02-14 22:49:20, Robert Cerny Modified: 2008-02-14 22:49:20, Robert Cerny
Link,
No reifier
Resolved in version
Topincs 2.0.0
Created: 2008-02-14 22:49:21, Robert Cerny Modified: 2008-02-14 22:49:21, Robert Cerny
Link,
No reifier
|