2002-03-09 12:34:38 +00:00
|
|
|
GStreamer Release Policies (or: why we should become a country and pass laws)
|
|
|
|
--------------------------
|
|
|
|
|
|
|
|
Development Period
|
|
|
|
------------------
|
|
|
|
Development period is marked by having a fourth (nano) version number of 1.
|
|
|
|
During development anything goes short of wiping the tree.
|
|
|
|
Just try doing a few basic things :
|
|
|
|
- make sure it builds for you !
|
|
|
|
- check what you're about to commit with cvs -Q diff -r
|
|
|
|
- preferably, keep an anonymous checkout around as well so you can
|
|
|
|
immediately update and check if your changes work in a clean tree as well
|
|
|
|
|
|
|
|
Prerelease Period
|
|
|
|
-----------------
|
|
|
|
After a bit of development, people want a new release. This generally happens
|
|
|
|
when :
|
|
|
|
- core developers get anxious to apply massive changes to the core bound
|
|
|
|
to break everything
|
|
|
|
- a few important plugins decide, as if by magic, to work again (avi, mad, ...)
|
|
|
|
- Uraeus and thomasvs get tired of the general laziness
|
|
|
|
|
|
|
|
Also, this should only be allowed after passing a few sanity checks :
|
|
|
|
- make distcheck should pass
|
|
|
|
- rpms should build
|
|
|
|
- FIXME: should debs be built here ? If so, how ?
|
|
|
|
|
|
|
|
At this time, we need to do a few prereleases for general checking by all
|
|
|
|
interested developers. To minimize the impact on the rest of the core hacking,
|
|
|
|
we create a new CVS branch which will go through the pre-releases and finally
|
|
|
|
contain the definitive tarball for that version.
|
|
|
|
|
|
|
|
TODO :
|
|
|
|
- Decide on the next version number (major, minor or micro upgrade ?)
|
2002-09-22 22:01:13 +00:00
|
|
|
- Get a fresh copy to do the necessary tests on
|
2003-08-26 23:36:27 +00:00
|
|
|
- If this isn't on the stable branch (like for 0.6), then create a new branch;
|
|
|
|
- with 0.3.3 as an example, tag is BRANCH-RELEASE-0_3_3
|
2002-03-09 12:34:38 +00:00
|
|
|
cvs tag BRANCH-RELEASE-0_3_3-ROOT
|
|
|
|
cvs tag -b BRANCH-RELEASE-0_3_3
|
|
|
|
cvs update -r BRANCH-RELEASE-0_3_3
|
|
|
|
- Set the nano to 2 (in configure.ac, AS_VERSION)
|
|
|
|
- Do all updates/patches/changes for the release tarball in this branch
|
|
|
|
- Think of a good codename for the release
|
2002-04-12 11:33:24 +00:00
|
|
|
- create a new version dir in www/releases and add that to cvs
|
|
|
|
- copy files from the last one to this new release dir
|
2002-03-09 12:34:38 +00:00
|
|
|
- Start updating the release notes on the www cvs tree
|
2002-04-12 11:33:24 +00:00
|
|
|
- Log in to sourceforge and run www-update.sh in the gstreamer root dir
|
2002-03-09 12:34:38 +00:00
|
|
|
- depending on how the API has changed update the libtool versioning
|
|
|
|
in configure.ac, AS_LIBTOOL
|
|
|
|
(Look at the libtool info page about versioning for guidelines)
|
|
|
|
- FIXME: autotools have latest config.{guess,sub}
|
|
|
|
This is needed in order to support newer platforms.
|
|
|
|
On Debian install the autotools-dev package to get these.
|
|
|
|
Someone please add some more useful info here on how to do this
|
2002-04-14 13:06:39 +00:00
|
|
|
- copy new supporting RPMS to the htdocs/redhat dir in various places,
|
|
|
|
update README, and update symlinks to these packages in the release dir
|
2002-03-09 12:34:38 +00:00
|
|
|
- while (IS_PRERELEASE)
|
|
|
|
{
|
|
|
|
- increase the nano number (starting with 2)
|
2002-03-09 13:01:16 +00:00
|
|
|
- check out a fresh anonymous copy
|
|
|
|
cvs -d:pserver:anonymous@cvs.gstreamer.sf.net:/cvsroot/gstreamer \
|
|
|
|
co -rBRANCH-RELEASE-0_3_3 gstreamer
|
2002-03-09 12:34:38 +00:00
|
|
|
- make distcheck, rpm build should pass, from a FRESH cvs tree
|
|
|
|
- media tests should be done
|
|
|
|
- source tarball should be installed and tested
|
|
|
|
- rpms should be installed and tested
|
|
|
|
- put up tarball for a day
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Release Period
|
|
|
|
--------------
|
|
|
|
When we're satisfied with the prereleases, it's time to make the final tarball.
|
|
|
|
It's very important that the tarball we put out is fully checked, works as
|
|
|
|
planned, and generally is generated only ONCE by someone with a relatively
|
|
|
|
clean (and reference) system. We don't want to put out more than one tarball
|
|
|
|
with the same name.
|
|
|
|
|
|
|
|
TODO :
|
|
|
|
- give the latest prerelease another good testing
|
2002-03-10 12:51:37 +00:00
|
|
|
- proofread the release notes (notice.php) and the index (index.php)
|
2002-03-09 12:34:38 +00:00
|
|
|
- change the symlinks on the website :
|
|
|
|
- change the releases/current symbolic link to point to the new release dir
|
|
|
|
- change the releases/cvs symlink to point to the next release dir
|
2002-03-10 12:51:37 +00:00
|
|
|
- run www-update.sh on sourceforge
|
2002-03-09 12:34:38 +00:00
|
|
|
- make a text copy of the release notes to be included in the tarball :
|
|
|
|
lynx -dump http://gstreamer.net/releases/current/notice.php?clean=1 > RELEASE
|
2003-12-23 16:01:13 +00:00
|
|
|
or
|
|
|
|
links -dump "http://gstreamer.net/releases/current/notice.php?clean=1" > RELEASE
|
|
|
|
|
2002-03-09 12:34:38 +00:00
|
|
|
- update web site docs
|
|
|
|
- release-specific docs should go in CVS
|
|
|
|
- change docs/current symlink
|
|
|
|
- remove the nano version number in configure.ac, AS_VERSION
|
|
|
|
- tag tree
|
|
|
|
- policy is at http://gstreamer.net/dev/cvs.php
|
2003-06-09 21:52:28 +00:00
|
|
|
- we stopped adding CODENAMES to cvs
|
|
|
|
--> all of this is not done anymore
|
2003-08-26 23:36:27 +00:00
|
|
|
- decide on a tag name : RELEASE-(VERSION)
|
|
|
|
- tag; for example for 0.6.3 :
|
|
|
|
cvs tag RELEASE-0_6_3
|
2003-06-09 21:52:28 +00:00
|
|
|
- add tag
|
2002-03-09 12:34:38 +00:00
|
|
|
- roll the tarball, build rpms
|
|
|
|
- FIXME: update status table cvs status and then click on the release link
|
|
|
|
http://gstreamer.net/admin.php is the portal to all of this
|
|
|
|
where to get the password, what should we do here ?
|
|
|
|
|
|
|
|
Post-Release Period
|
|
|
|
-------------------
|
|
|
|
Time to bring the new version under the eyes of the public.
|
|
|
|
|
|
|
|
TODO :
|
|
|
|
- FIXME: should we md5 the tarballs?
|
|
|
|
- upload to sourceforge
|
2002-04-14 22:58:40 +00:00
|
|
|
upload.sourceforge.net/incoming
|
|
|
|
administer the release
|
|
|
|
|
2002-03-09 12:34:38 +00:00
|
|
|
- FIXME: announcements
|
|
|
|
- gstreamer-{devel, announce} : a simple mail with RELEASE
|
|
|
|
- freshmeat
|
|
|
|
- linux-audio-dev (if it's a big release) : a simple mail with RELEASE
|
|
|
|
- gnome lists (?)
|
|
|
|
- lwn (if it's a big release)
|
|
|
|
- Kick back, have a party, enjoy people coming in on IRC telling us how
|
|
|
|
GStreamer rocks.
|
|
|
|
- Later on, if necessary, merge back latest release branch to current dev
|
|
|
|
branch (if patches to source were made)
|
2002-04-15 09:19:09 +00:00
|
|
|
* change to a HEAD branch, make sure it's updated
|
2002-10-19 09:16:45 +00:00
|
|
|
* cvs diff -R -r RELEASE-0_3_4-30SECONDFRENCHMAN
|
|
|
|
gives a list of differences between head and release tag,
|
|
|
|
stuff with > is how it's in HEAD, < is in the rel branch
|
|
|
|
|
2002-04-15 09:19:09 +00:00
|
|
|
* cvs update -j BRANCH-RELEASE-0_3_4
|
|
|
|
merges the difference made in that branch to the current source
|
|
|
|
this is what you want to use when merging back the branch
|
|
|
|
resolve conflicts and commit
|
2002-03-09 12:34:38 +00:00
|
|
|
|
|
|
|
Some various random comments that might or might not make sense :
|
|
|
|
|
|
|
|
- Should work:
|
|
|
|
* autoconf feature to allow building outside source dir
|
|
|
|
|
|
|
|
- Package version policy
|
|
|
|
- Use major.minor.micro versioning
|
|
|
|
- Before 1.0.0, Update micro until code and API are fairly stable,
|
|
|
|
then update minor.
|
|
|
|
- After 1.0.0,
|
|
|
|
Update major when code and api hit new level of stability or major features.
|
|
|
|
Update minor on API changes.
|
|
|
|
Update micro on API-compatible changes.
|