As far as I could tell, the version numbers are in Properties.py in all cases. I did not spot any hard-coded references elsewhere when I prepared the 0.8 release.On Tue, 2003-02-11 at 08:29, Geoffrey Talvola wrote:Stuart Donaldson [mailto:[EMAIL PROTECTED]] wrote:In preparing the 0.8 release, rolling the version numbers in the release was one of the painful parts, because of all the places that they occur. I created a script to do this, but it was fairly specific. It would be nice to have a more general solution.<snip>This could be automagically fixed up by a script prior to doing a release.Good idea. Aren't there also release numbers that show up in Python source, too? At the very least those could be tagged with a comment like ##version## so that they could be grep'ed easily.Version numbers don't need to be hardcoded in the python code. There is an example in Application.initVersions():from MiscUtils.PropertiesObject import PropertiesObject props = PropertiesObject(os.path.join(self.webwarePath(), 'Properties.py')) self._webwareVersion = props['version'] self._webwareVersionString = props['versionString'] This retrieves the version both as a tuple (e.g. 0,8,0) and as a string from the Webware/Properties.py file. I remember fixing up a few of these last fall; we should continue to fix these wherever possible.
The script I used while preparing Beta's and the final release, goes through and updates the Properties.py file as well, since there are several of those to address.
I will go ahead and generate a RelNotes-X.Y file, and start moviing code in this direction.