User Tools

Site Tools


scratchpad:build-cutting

Differences

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

Link to this comparison view

scratchpad:build-cutting [2011/02/04 16:04] – created mikerscratchpad:build-cutting [2011/05/06 13:37] (current) – moved to dev:release_process:evergreen:2.0 dbs
Line 1: Line 1:
-Here's what was done to cut the 2.0.1 release -- note, assumptions about environment are extensive and non-obvious.  Sorry, will clean up as I can. 
- 
------------------ 
- 
- 
-====Steps for creating 2.0.1==== 
- 
-  * create an sql upgrade script<code bash>$ cd ~/svn/ILS-2.0/ 
-$ svn up 
-$ cd Open-ILS/src/sql/Pg/ 
-$ cat upgrade/0480.schema.actor_usr_purge_data.sql upgrade/0481.schema.serial_unit_generate_barcode_trigger.sql > 2.0.0-2.0.1-upgrade-db.sql</code> 
-and add the version number to the top of the transaction.  svn add+commit 
- 
-  * branch it<code bash>$ svn copy svn://svn.open-ils.org/ILS/branches/rel_2_0 svn://svn.open-ils.org/ILS/tags/rel_2_0_1</code> 
- 
-  * check it out<code bash>$ cd ~/svn 
-$ svn co svn://svn.open-ils.org/ILS/tags/rel_2_0_1 ILS-2.0.1</code> 
- 
-  * generate the changelog<code bash>$ cd ILS-2.0.1 
-$ svn2cl --group-by-day --separate-daylogs -r HEAD:19308 . 
-$ mv ChangeLog ../releases/reverse-2.0.0-2.0.1-changelog 
-$ svn2cl --group-by-day --separate-daylogs -r 19308:HEAD .</code> 
-19308 == last revision number on the previous tagged release (tags/rel_2_0_0) according to trac 
- 
-  * update the config.upgrade_log insert (NOTE: leave the existing entry, just add a version number one!)<code bash>$ vim Open-ILS/src/sql/Pg/002.schema.config.sql</code> 
- 
-  * update the README<code bash>$ vim README</code> 
- 
-  * update the perl-reported version number<code bash>$ vim Open-ILS/src/perlmods/OpenILS/Application.pm</code> 
- 
-  * commit all that<code bash>$ svn ci -m 'version number bumping'</code> 
- 
- 
-  * export and build stuffs<code bash>$ cd ../releases/ 
-$ svn export svn://svn.open-ils.org/ILS/tags/rel_2_0_1 Evergreen-ILS-2.0.1 
-$ cd Evergreen-ILS-2.0.1/ 
-$ ./autogen.sh 
-$ cd build/i18n; make newpot; for i in `ls po/lang.dtd/|cut -f1 -d.|grep -v lang`; do make LOCALE=$i install; done</code>... tap fingers for a while ... go i18n, go! ... 
- 
-  * add dojo stuff<code bash>$ cd ../../Open-ILS/web/js/dojo/ 
-$ cp -R ~/svn/releases/Evergreen-ILS-2.0-RC2/Open-ILS/web/js/dojo/dojo . 
-$ cp -R ~/svn/releases/Evergreen-ILS-2.0-RC2/Open-ILS/web/js/dojo/dojox . 
-$ cp -R ~/svn/releases/Evergreen-ILS-2.0-RC2/Open-ILS/web/js/dojo/dijit .</code> 
- 
-  * wrap it all up<code bash>$ cd ~/svn/releases/ 
-$ cp Evergreen-ILS-2.0.1/ChangeLog ChangeLog-2.0.0-2.0.1 
-$ tar zcvf Evergreen-ILS-2.0.1.tar.gz Evergreen-ILS-2.0.1/ 
-$ md5sum Evergreen-ILS-2.0.1.tar.gz > Evergreen-ILS-2.0.1.tar.gz.md5</code> 
- 
- 
-Which leaves us with 
-  * ChangeLog-2.0.0-2.0.1 
-  * Evergreen-ILS-2.0.1.tar.gz 
-  * Evergreen-ILS-2.0.1.tar.gz.md5 
-  * reverse-2.0.0-2.0.1-changelog 
-to upload. 
  
scratchpad/build-cutting.1296853495.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

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.