[osgeo4w-dev] package versions

Daniel Morissette dmorissette at mapgears.com
Fri Mar 14 13:11:25 EDT 2008

Frank Warmerdam wrote:
> In the case of gdal-1.5.0-3, exposing this to user means if someone 
> complains
> to me about not having OGDI support, I can ask "do you have gdal-1.5.0-3?"
> and if they report they have gdal-1.5.0-2 I can tell them they need to 
> upgrade
> to -3 to get the OGDI support. (as an example).

FWIW, I too see a need for the -x in the package version for anything 
you make available publicly. You may think of OGDI in Frank's example as 
a functional change, but imagine you package 1.5.0 and screwed up 
something in your build by pure mistake that is reported only 3 weeks 
later... you then have to repackage gdal 1.5.0... just updating the file 
on the server without changing its name is dangerous since you'll never 
know which version of the file the users may have installed.

So instead of asking "Are you using gdal-1.5.0 from before or after 
February 13?" and get confused answers, with the package version number 
(-x) you can specifically ask "Are you using gdal-1.5.0-3?" and get a 
definite answer. Or the users can explicitly try to downgrade to an 
older version in order to figure whether a bug is new in the latest update.

That doesn't mean the user needs to see the package attempt # in the GUI 
as an option. Hiding it in the express stuff is probably fine as long as 
some advanced option allows you to get to it, and the installer always 
defaults to using the latest version of a given package unless the user 
explicitly asks otherwise.

Daniel Morissette

More information about the osgeo4w-dev mailing list