ReleaseProcess: Difference between revisions

From XiphWiki
Jump to navigation Jump to search
(→‎Add new release files: Don't clobber old checksums when adding new files)
(Use https urls to protect the authentication token on commit.)
Line 5: Line 5:
If you are uploading the first release of a project to Xiph.org, then first create a release directory in the svn repository. You can do this using remote svn commands (rather than checking out the entire Xiph.org release archive):
If you are uploading the first release of a project to Xiph.org, then first create a release directory in the svn repository. You can do this using remote svn commands (rather than checking out the entire Xiph.org release archive):


   <tt>svn mkdir http://svn.xiph.org/releases/PROJECTNAME</tt>
   <tt>svn mkdir https://svn.xiph.org/releases/PROJECTNAME</tt>


Then check that directory out locally:
Then check that directory out locally:


   <tt>svn co http://svn.xiph.org/releases/PROJECTNAME PROJECTNAME-releases</tt>
   <tt>svn co https://svn.xiph.org/releases/PROJECTNAME PROJECTNAME-releases</tt>


== Add new release files ==
== Add new release files ==
Line 35: Line 35:
The downloads page is in the normal svn repository for www.xiph.org:
The downloads page is in the normal svn repository for www.xiph.org:


   <tt>svn co http://svn.xiph.org/websites/xiph.org/downloads/</tt>
   <tt>svn co https://svn.xiph.org/websites/xiph.org/downloads/</tt>


Update it with your release tarball name and checksum, and commit.
Update it with your release tarball name and checksum, and commit.

Revision as of 12:03, 9 May 2009

Process

Create a release directory under http://svn.xiph.org/releases/

If you are uploading the first release of a project to Xiph.org, then first create a release directory in the svn repository. You can do this using remote svn commands (rather than checking out the entire Xiph.org release archive):

 svn mkdir https://svn.xiph.org/releases/PROJECTNAME

Then check that directory out locally:

 svn co https://svn.xiph.org/releases/PROJECTNAME PROJECTNAME-releases

Add new release files

Add tarballs etc. to your local checkout of the release directory:

 cd PROJECTNAME-releases
 svn add PROJECTNAME-x.x.x.tar.gz

Then, generate MD5 and SHA1 checksums for these files:

 md5sum *.tar.gz >> MD5SUMS
 sha1sum *.tar.gz >> SHA1SUMS

Check that the only modifications to the checksums are for the new files:

 svn diff

If everything is ok (and the checksums for other files have not changed), commit:

 svn commit

Update http://www.xiph.org/downloads/

The downloads page is in the normal svn repository for www.xiph.org:

 svn co https://svn.xiph.org/websites/xiph.org/downloads/

Update it with your release tarball name and checksum, and commit.

Mail appropriate lists

Mail your release notes to appropriate project lists. You may also want to send news to:

 Linux Weekly News <lwn@lwn.net>
 comp.os.linux.announce <cola@stump.algebra.com>

Tools

Sebastian Pipping has a script to add tarballs and update the appropriate web pages for libxspf: update.sh. You may want to adapt this for your project.