User Tools

Site Tools


zzz_archive:dev:release_process:opensrf:2.0

This is an old revision of the document!


Rolling an OpenSRF 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.

  1. Create a new branch:
    svn copy svn://svn.open-ils.org/OpenSRF/branches/rel_2_0 svn://svn.open-ils.org/OpenSRF/tags/rel_2_0_0_rc2
      -m "Tag for 2.0.0 RC2 release"
  2. Generate a ChangeLog in reverse chronological order:
    svn2cl --group-by-day --separate-daylogs --linelen 90 -r HEAD:2020 svn://svn.open-ils.org/OpenSRF/branches/rel_2_0
    • 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.
  3. Update the ChangeLog in the tagged release (check it in to the tag)
  4. Update the version stamp in the tagged release (edit src/perl/lib/OpenSRF.pm)
  5. Create a clean export of the data:
    svn export svn://svn.open-ils.org/OpenSRF/tags/rel_2_0_0_rc2 /home/dan/opensrf-2.0.0-rc2

    As of 1.6.0, we have started using lower case directory and package names to comply with Debian packaging standards.

  6. Generate ./configure file:
    cd /home/dan/opensrf-2.0.0-rc2; ./autogen.sh
  7. Tar it up:
    cd /home/dan; tar czf opensrf-2.0.0-rc2.tar.gz opensrf-2.0.0-rc2
  8. Create an md5 hash for the package:
    md5sum opensrf-2.0.0-rc2.tar.gz > opensrf-2.0.0-rc2.tar.gz.md5
  9. Bonus hygiene step: Take the tarball you just created and test installing OpenSRF from it; at the very least, ensure that make check passes.
zzz_archive/dev/release_process/opensrf/2.0.1304703393.txt.gz · Last modified: 2022/02/10 13:34 (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.