Difference between revisions of "Release production"

From GeopsyWiki
Jump to navigation Jump to search
 
(46 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Testing ==
+
== Version setup ==
  
For Windows and Source distributions, the build process is tested automatically every night. [https://download.geopsy.org/log Daily reports]
+
* Commit all changes
  
For Mac OS X, the process is also automatic but it does not run independently on a dedicated server. Instead, it is run manually (buying and installing a dedicated server, e.g. a Mac Mini would be enough, would rather help).
+
   dpsubcommit
 
== Tagging ==
 
 
 
Once all tests report success, set all version numbers as explained [[Version management]].
 
 
 
Tag all sub projects
 
 
 
   dpsubdo git tag geopsypack-2_1_0
 
 
   dpsubpush
 
   dpsubpush
  
Tag list of projects and general options
+
* Check [http://www.geopsy.org/versions versions] and eventually run version script
 +
* Update configure scripts (hard coded version)
  
   cd admin
+
   dpsubconfig -g
  git tag geopsypack-2_1_0
 
  dppush
 
  
== Publishing ==
+
* Commit individual versions
  
On Source and Windows server:
+
  dpsubdo dpversion c
  
  cd windows
+
If it fails, proceed to manual commit with
  dpfacpublish
 
  
   cd sources
+
   dpsubcommit
  dpfacpublish
 
  
On Mac OS X:
+
The usual message for new versions is "Version X.Y.Z"
  
  cd devel
+
* Tag
  dpfacpublish
 
  
== Mac OS X and Windows ==
+
  dpsubdo dpversion t
 +
  dpsubdo git tag -a geopsypack-3.3.1 -m "Release Geopsy Pack 3.3.1"
 +
  dpsubpush -f
  
* Update devpro
+
* Update distribution repositories
  
   cd devtools/devpro
+
   cd geopsypack
   cvs update
+
   dpversion A B or C
   make install
+
   dpgitconfigure
  
* Update sesarray branch
+
* Start compilation servers manually or wait for night build
  
  cd sesarray-2.0
+
== Release Notes ==
  dpsubupdate
 
  
* Change configure option to latest archive version
+
Release notes are built from commit comments.
  
  vi admin/info
+
dpsubreleasenotes 2.2.1 2.3.0
  # CONFIGURE_LIB="-release -no-pch -batch -prefix $PREFIX -build-key $BUILD_KEY -distribution sesarray-2.0.4"
 
  
* Configure and make
+
Eventually edit the final file before its publication:
  
  dpsubconfig -f
+
scp release_notes-2.3.0 geopsy.org:/var/www/geopsy/htdocs/release_notes
  dpsubmake
 
  
For Mac:
+
== Publishing ==
 
 
  cd sesarray
 
  dppackmac
 
 
 
For Windows
 
 
 
  cd sesarray
 
  dpuserfiles
 
  dppackwin
 
 
 
== Updating Qt ==
 
 
 
=== Mac OS X ===
 
 
 
Usually, to avoid double Qt libraries plugins must be turned off by renaming ''/usr/local/Trolltech/Qt/plugins'' into ''plugins-off''. When upgrading to new Qt release, you must rename the new ''plugins'' directory and remove the old one. dppack is fetching plugins in ''plugins-off'' directory.
 
  
=== Windows ===
+
* Connect on geopsy.org
 +
* Run in build directory
  
Manually copy Qt dll and 'plugins' directory to ''/c/usr/sesarray-2.0/bin''. Do this for all active branches.
+
  ./publish src 3.4
  
Files to copy:
+
and
  
  QtCore4.dll
+
  ./publish win64 3.4
  QtGui4.dll
 
  QNetwork4.dll 
 
  QSvg4.dll                # Not needed for branch 2.0, but needed for branch 2.1
 
  imageformats/qgif4.dll
 
  imageformats/qmng4.dll
 
  imageformats/qsvg4.dll
 
  imageformats/qjpeg4.dll
 
  imageformats/qtiff4.dll
 
  mingwm10.dll              # Not really Qt but this also an extra dll to include
 

Latest revision as of 15:34, 3 May 2021

Version setup

  • Commit all changes
 dpsubcommit
 dpsubpush
  • Check versions and eventually run version script
  • Update configure scripts (hard coded version)
 dpsubconfig -g
  • Commit individual versions
 dpsubdo dpversion c

If it fails, proceed to manual commit with

 dpsubcommit

The usual message for new versions is "Version X.Y.Z"

  • Tag
 dpsubdo dpversion t
 dpsubdo git tag -a geopsypack-3.3.1 -m "Release Geopsy Pack 3.3.1"
 dpsubpush -f
  • Update distribution repositories
 cd geopsypack
 dpversion A B or C
 dpgitconfigure
  • Start compilation servers manually or wait for night build

Release Notes

Release notes are built from commit comments.

dpsubreleasenotes 2.2.1 2.3.0

Eventually edit the final file before its publication:

scp release_notes-2.3.0 geopsy.org:/var/www/geopsy/htdocs/release_notes

Publishing

  • Connect on geopsy.org
  • Run in build directory
 ./publish src 3.4

and

  ./publish win64 3.4