User Tools

Site Tools


zzz_archive:dev:release_process:evergreen:2.0

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
    $ 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

and add the version number to the top of the transaction. svn add+commit

  • branch it
    $ svn copy svn://svn.open-ils.org/ILS/branches/rel_2_0 svn://svn.open-ils.org/ILS/tags/rel_2_0_1
  • check it out
    $ cd ~/svn
    $ svn co svn://svn.open-ils.org/ILS/tags/rel_2_0_1 ILS-2.0.1
  • generate the changelog
    $ 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 .

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!)
    $ vim Open-ILS/src/sql/Pg/002.schema.config.sql
  • update the README
    $ vim README
  • update the perl-reported version number
    $ vim Open-ILS/src/perlmods/OpenILS/Application.pm
  • commit all that
    $ svn ci -m 'version number bumping'
  • export and build stuffs
    $ 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

    … tap fingers for a while … go i18n, go! …

  • add dojo stuff
    $ 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 .
  • wrap it all up
    $ 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

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.

zzz_archive/dev/release_process/evergreen/2.0.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1

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.