Lunch Release Process =
Freeze the features ==
  • Announce a freeze in the IRC channel.
    
    h2. Document it
    
    * Update the documentation if needed :
    *** scripts/lunch
    *** scripts/lunch-slave
    *** man_lunch.txt
    *** README.txt
    *** debian/control
    
    h2. Debian packaging and versionning
    
    * Update dependencies if there are some :
    *** debian/control
    * Update Lunch *version number* in the following files :
    <pre>
    $ vim -o lunch/runner.py scripts/lunch-slave setup.py lunch/gui.py
    </pre>
    * Update Debian package changelog with the new version number :
    <pre>
    
    h2. Create a tag
    
    * Commit with a summary of changes since latest tag.
    <pre>
    $ hg ci
    </pre>
    * Create a tag with the new version number. 
    <pre>
    $ hg tag 0.1.3 
    </pre>
    
    h2. Create the tarball
    
    * Export the sources of the tag.
    * Create a tarball 
    <pre>
    $ cd ~/src/lunch
    $ hg tags
    tip                               81:6af627065d59
    0.1.4                             80:30c2df205258
    0.1.3                             75:1d9498d5f77b
    $ hg archive -r 80 ../lunch-0.1.4
    $ cd ..
    $ tar -zcvf lunch-0.1.4.orig.tar.gz lunch-0.1.4/
    </pre>
    * Create the Debian archive. (the tarball with ".orig" in the file name is needed)
    <pre>
    $ cd ./lunch-0.1.4/
    $ dpkg-buildpackge -r
    </pre>
    * Upload the tarball to the web site.
    * Upload the Debian package to the web site.
    * Announce the new release to the IRC channel and the mailing list.
    
    h2. Create the source package and upload it to the PPA
    
    <pre>
    $ cd ./lunch-0.1.4/
    $ debuild -S -sa
    $ cd ..
    $ dput sat lunch_0.1.4-0ubuntu1_source.changes
    </pre>
    Assumed that the content of your ~/.dput.cf is like below, and that you have the rights on Launchpad to write to this PPA.
    <pre>
    [sat]
    fqdn = ppa.launchpad.net
    method = ftp
    incoming = ~sat-metalab/propulseart/ubuntu
    login = anonymous
    allow_unsigned_uploads = 0
    </pre>

lunch_0.2.12-0ubuntu1_all.deb (34.9 kB) Alexandre Quessy, 2010-01-20 20:57