[Osgeo4w-trac] [osgeo4w] #458: Generate setup.ini based on aribitrary date and/or time
OSGeo4W
trac_osgeo4w at osgeo.org
Fri Mar 6 21:08:48 PST 2015
#458: Generate setup.ini based on aribitrary date and/or time
------------------------+---------------------------------------------------
Reporter: maphew | Owner: osgeo4w-dev@…
Type: enhancement | Status: new
Priority: major | Component: Installer
Version: | Keywords: setup.ini
------------------------+---------------------------------------------------
I released a new [wiki:pkg-apt] testing package today. When I started
setting up an environment to test what it will do in an upgrade situation
I realised I need to put Osgeo4W into an older state, which means
installing no-longer-current packages first. This isn't so easy.
I think the easiest approach is likely to be to adapting `osgeo4w-
regen.sh` and `genini` to generate a setup.ini based on a date stamp. Then
issuing an instruction like `regen.sh 2014-06-01` would crawl the release
package tree, ignore any files newer than said date, and generate
`setup_2014-06-01.ini`.
I scanned `genini` for likely places to put a date filter, but my perl is
too weak for the task. ;-)
--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/458>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
More information about the Osgeo4w-trac
mailing list