Releases_Process_MapFishClient - mapfish/mapfish GitHub Wiki

[[PageOutline(2)]]

The pages lists the steps that must be achieved for releasing a new version of MapFish client.

##. SVN branch

  • create a branch of mapfish/framework/client/trunk/ and name it x.y (x and y are the major and minor release num, respectively)

svn copy http://www.mapfish.org/svn/mapfish/framework/client/trunk/ http://www.mapfish.org/svn/mapfish/framework/client/branches/x.y

  • check out the branch and move to it

svn co http://www.mapfish.org/svn/mapfish/framework/client/branches/x.y cd x.y

  • ensure svn:externals property of mfbase point to appropriate OpenLayers and GeoExt release tags, change it if necessary

svn propedit svn:externals mfbase/

it should looks like:

openlayers http://svn.openlayers.org/tags/openlayers/release-x.y geoext http://svn.geoext.org/core/tags/release-x.y/geoext

or:

openlayers -rXXXX http://svn.openlayers.org/trunk/openlayers geoext -rXXXX http://svn.geoext.org/core/trunk/geoext

  • if svn:externals has been edited, commit the above, remove old svn:externals in mfbase and update

svn ci -m "update svn:externals for MapFish client x.y" rm -fr mfbase/geoext/ mfbase/openlayers/ svn update

  • in examples/ and mfbase/mapfish/tests/ update the URLs of MapFish's wms to x.y

grep -r "demo.mapfish.org" * use sed or manually edit matches from demo.mapfish.org/mapfishsample/trunk/wms to demo.mapfish.org/mapfishsample/x.y/wms. svn ci -m "update the URLs of MapFish's wms to x.y"

##. SVN tag

  • create a tag of mapfish/framework/client/branches/x.y and name it x.y

svn copy http://www.mapfish.org/svn/mapfish/framework/client/branches/x.y http://www.mapfish.org/svn/mapfish/framework/client/tags/x.y

##. Archive

  • export the tag

$ svn export http://www.mapfish.org/svn/mapfish/framework/client/tags/x.y mapfish-client-x.y

  • create the archive

$ tar cvzf mapfish-client-x.y.tar.gz mapfish-client-x.y

  • upload

$ scp mapfish-client-x.y.tar.gz [email protected]:/var/www/www.mapfish.org/htdocs/downloads/