User Tools

Site Tools


dev:rolling_a_release

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
dev:rolling_a_release [2010/04/22 11:58] – created dbsdev:rolling_a_release [2011/03/18 10:39] – testing FTW gmcharlton
Line 1: Line 1:
 ===== Rolling Evergreen and OpenSRF releases ===== ===== Rolling Evergreen and OpenSRF releases =====
- 
 ==== Rolling an OpenSRF release ==== ==== Rolling an OpenSRF release ====
  
-Rough notes, assuming you're using ''/home/dan'' as your working directory and cutting a new branch from trunk to rel_1_4. In most real world cases, it would be rel_1_4 to rel_1_4_#. Also, you would normally tag the release.+Rough notes, assuming you're using ''/home/dan'' as your working directory and cutting a new tagged release from the rel_2_0 branch.
  
   - Create a new branch:<code>   - Create a new branch:<code>
-svn copy svn://svn.open-ils.org/OpenSRF/trunk svn://svn.open-ils.org/OpenSRF/branches/rel_1_4 -m "Create rel_1_4 branch for next major OpenSRF release"</code> +svn copy svn://svn.open-ils.org/OpenSRF/branches/rel_2_0 svn://svn.open-ils.org/OpenSRF/tags/rel_2_0_0_rc2 
-  - Create a clean export of the data: <code>svn export svn://svn.open-ils.org/OpenSRF/branches/rel_1_4 /home/dan/OpenSRF-rel_1.4.0</code> +  -m "Tag for 2.0.0 RC2 release"</code> 
-  - Generate ./configure file: <code>cd /home/dan/OpenSRF-rel_1.4.0; ./autogen.sh</code> +  - Generate a ChangeLog in reverse chronological order: <code>svn2cl --group-by-day --separate-daylogs --linelen 90 -r HEAD:2020 svn://svn.open-ils.org/OpenSRF/branches/rel_2_0</code> 
-  - Generate a ChangeLog in reverse chronological order: svn2cl --group-by-day --separate-daylogs -r HEAD:1728 svn://svn.open-ils.org/OpenSRF/branches/rel_1_4 +    * Note: I have started creating ChangeLogs that show the cumulative changes for a given release, distinguishing between alphas, betas, and point releases. Basically ''cat ChangeLog.old >> ChangeLog.new'' and add a header distinguishing each block of changes. That way we will not have to link to ten different ChangeLogs if we reach 1.6.10. 
-  (on Karmic, requires grabbing an updated stylesheet directly from http://arthurdejong.org/svn2cl/downloads.html and dumping into /etc/svn2cl/svn2cl.xsl) +  - Update the ChangeLog in the tagged release (check it in to the tag) 
-  - Tar it up: <code>cd /home/dan; tar czf OpenSRF-rel_1.4.0-beta.tar.gz OpenSRF-rel_1.4.0-beta</code> +  - Update the version stamp in the tagged release (edit src/perl/lib/OpenSRF.pm) 
-  - Create an md5 hash for the package: <code>md5sum OpenSRF-rel_1_4_0-beta.tar.gz > OpenSRF-rel_1.4.0-beta.tar.gz.md5</code>+  - Create a clean export of the data: <code>svn export svn://svn.open-ils.org/OpenSRF/tags/rel_2_0_0_rc2 /home/dan/opensrf-2.0.0-rc2</code> As of 1.6.0, we have started using lower case directory and package names to comply with Debian packaging standards. 
 +  - Generate ./configure file: <code>cd /home/dan/opensrf-2.0.0-rc2; ./autogen.sh</code> 
 +  - Tar it up: <code>cd /home/dan; tar czf opensrf-2.0.0-rc2.tar.gz opensrf-2.0.0-rc2</code> 
 +  - Create an md5 hash for the package: <code>md5sum opensrf-2.0.0-rc2.tar.gz > opensrf-2.0.0-rc2.tar.gz.md5</code> 
 +  - //Bonus hygiene step:// Take the tarball you just created and test installing OpenSRF from it; at the very least, ensure that ''make check'' passes.
  

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.