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 !
|
|
|
|
- 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, ...)
|
2007-06-05 14:11:59 +00:00
|
|
|
- thaytan or thomasvs get tired of being lazy.
|
2002-03-09 12:34:38 +00:00
|
|
|
|
|
|
|
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
|
2010-01-26 19:32:48 +00:00
|
|
|
interested developers. The git modules that are in the process of being
|
|
|
|
released are usually frozen for commits during that time, until the final
|
|
|
|
release is made. We intentionally don't do releases in separate branches to
|
|
|
|
make sure everyone is focused on testing the code that is about to be released.
|
|
|
|
|
2002-03-09 12:34:38 +00:00
|
|
|
|
2006-02-20 12:26:50 +00:00
|
|
|
RELEASE PROCEDURE:
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
- www/bin/new-release is a release helper script. It automates a lot of the
|
|
|
|
tedious work. Now releasing looks like this:
|
|
|
|
|
|
|
|
- before release:
|
|
|
|
- make sure all blocker bugs for that release are fixed or deferred
|
|
|
|
- make sure you have a local copy of all online files
|
2007-08-20 12:31:54 +00:00
|
|
|
- run 'make download-po' to make sure translations in CVS are up-to-date,
|
2009-04-20 11:25:57 +00:00
|
|
|
and then 'make update-po' in po/ (which will update the .pot template too
|
|
|
|
and merge the changes into the .po files)
|
2010-01-26 19:32:48 +00:00
|
|
|
- run 'make win32-update' where applicable
|
2007-06-26 11:57:23 +00:00
|
|
|
- Make one or more prereleases
|
|
|
|
- Make sure you've got the latest clean CVS of the module
|
|
|
|
- Run bin/data-get in www/ to sync data from website
|
2010-01-26 19:32:48 +00:00
|
|
|
- Bump the nano number to >= 2 (eg, first pre-release for
|
2007-06-26 11:57:23 +00:00
|
|
|
0.10.12 is 0.10.11.2)
|
2009-05-12 00:30:13 +00:00
|
|
|
- When releasing -base/-good/-ugly/-bad/gnonlin, make sure GST_REQ and
|
|
|
|
GST_PBREQ are up-to-date. In particular, keep GST_REQ of the
|
|
|
|
to-be-released -base module in sync with the core version that is to
|
|
|
|
be released at the same time
|
2007-06-26 11:57:23 +00:00
|
|
|
- Re-autogen if not in maintainer-mode (which you should be)
|
2009-07-19 20:23:18 +00:00
|
|
|
- Update the changelog
|
|
|
|
python common/gen-changelog.py > ChangeLog
|
2009-05-12 10:29:21 +00:00
|
|
|
- Check (and fix if necessary) make distcheck
|
2007-06-26 11:57:23 +00:00
|
|
|
- run 'make release' to build the tarballs
|
|
|
|
- copy tarballs+md5 sums to the data/src/$module/pre/ dir
|
|
|
|
- Run bin/data-put in www/ to sync the new tarballs to the website
|
|
|
|
- Announce the availability of the new tarballs
|
|
|
|
- Tell the translation project by sending an email to
|
2007-11-21 00:24:04 +00:00
|
|
|
coordinator@translationproject.org, eg:
|
2007-06-26 11:57:23 +00:00
|
|
|
Subject: gst-plugins-bad-0.10.5.2.pot available
|
|
|
|
Tarball is at http://gstreamer.freedesktop.org/src/gst-plugins-bad/pre/gst-plugins-bad-0.10.5.2.tar.bz2
|
|
|
|
|
2009-03-21 02:34:04 +00:00
|
|
|
- prepare the release:
|
|
|
|
- Make sure your www is up to date: Run bin/data-get in www/
|
|
|
|
- Update the doap file to insert the new release info
|
2010-02-11 00:18:39 +00:00
|
|
|
- Prepare the following in a text file for copy'n'paste purposes:
|
|
|
|
- list of noteworthy changes / new features, check changelog or shortlog:
|
2012-09-23 16:30:50 +00:00
|
|
|
- git log 1.0.98..
|
|
|
|
- git shortlog 1.0.98..
|
2010-02-11 00:18:39 +00:00
|
|
|
- wrap like this:
|
|
|
|
<feature>added this and that</feature>
|
|
|
|
<feature>foodemux now supports seek in twilight mode</feature>
|
|
|
|
- list of API additions, two useful sources:
|
2012-09-23 16:30:50 +00:00
|
|
|
- git diff 1.0.98.. win32/common/*.def \
|
2010-10-16 16:00:17 +00:00
|
|
|
| grep "^+[^+]" | sed -e 's/[^a-z_]*/ <item>/' -e 's%$%</item>%'
|
2012-09-23 16:30:50 +00:00
|
|
|
- git log 1.0.98.. --grep=API
|
2010-02-11 00:18:39 +00:00
|
|
|
- wrap like this:
|
|
|
|
<item>gst_new_func()</item>
|
|
|
|
<item>gst_new_func_full()</item>
|
|
|
|
- list of recently deprecated API, same as above:
|
|
|
|
<item>gst_broken_func()</item>
|
|
|
|
- in www, run bin/new-release (module) (version) (checkoutdir) (release name)
|
|
|
|
- updates git
|
|
|
|
- allows you to update versioning in configure.ac (don't forget to bump
|
|
|
|
core/base requirements from prereleases to released version if needed)
|
2006-02-20 12:26:50 +00:00
|
|
|
- rebuilds
|
|
|
|
- updates ChangeLog
|
|
|
|
- adds a new releases/module/version.xml file and lets you edit
|
|
|
|
--> here you add/fix up the features (from ChangeLog) and check
|
|
|
|
contributors
|
|
|
|
- allows you to update NEWS file with snippets from RELEASE
|
|
|
|
--> copy stuff
|
|
|
|
- rebuilds docs for plugins
|
|
|
|
- rolls release tarballs and puts them in the local www/data tree
|
|
|
|
- uploads docs to website
|
|
|
|
- commits changes to po files
|
|
|
|
- shows you a diff for evaluation
|
|
|
|
|
|
|
|
- build packages to test
|
|
|
|
|
|
|
|
- release:
|
2009-10-05 15:41:50 +00:00
|
|
|
- 'git commit -a' in the tree
|
2006-02-20 12:26:50 +00:00
|
|
|
- tag tree
|
2012-09-23 16:30:50 +00:00
|
|
|
for example for 1.0.42 :
|
|
|
|
git tag -a -m 'Release 1.0.42' 1.0.42
|
2010-01-15 00:46:23 +00:00
|
|
|
Make sure to use the -a option to create an *annotated* tag: 'git describe'
|
2012-09-23 16:30:50 +00:00
|
|
|
should show '1.0.42'
|
2007-06-26 11:57:23 +00:00
|
|
|
- bump nano number in configure.ac, commit
|
2006-02-20 12:26:50 +00:00
|
|
|
- sync source and packages to website
|
2007-06-26 11:57:23 +00:00
|
|
|
+ run /bin/data-put in www
|
2006-02-20 12:26:50 +00:00
|
|
|
- change versions in www/src/htdocs/entities.gst
|
2007-06-26 11:57:23 +00:00
|
|
|
- add entry on website
|
2010-10-16 16:00:17 +00:00
|
|
|
+ Edit src/htdocs/news/news.xml (in a local checkout of the www git module)
|
|
|
|
and add a new item at the bottom.
|
|
|
|
- commit additions and push changes to the server
|
|
|
|
- run bin/www-update in your www git module checkout. This will ssh into
|
|
|
|
the server and update the website based on the changes you just pushed.
|
|
|
|
This may require an entry for gstreamer.freedesktop.org in your
|
|
|
|
~/.ssh/config (e.g. in case your local username is different from your
|
|
|
|
freedesktop.org username)
|
2006-02-20 12:26:50 +00:00
|
|
|
- add versions and milestones in bugzilla
|
2009-05-12 00:30:13 +00:00
|
|
|
- upload new core, -base and -good tarballs to gnome ftp
|
2007-06-26 11:57:23 +00:00
|
|
|
+ e.g:
|
2012-09-23 16:30:50 +00:00
|
|
|
scp gstreamer-1.0.42.tar.xz master.gnome.org:
|
2007-06-26 11:57:23 +00:00
|
|
|
ssh master.gnome.org
|
2012-09-23 16:30:50 +00:00
|
|
|
ftpadmin install gstreamer-1.0.42.tar.xz
|
2007-06-26 11:57:23 +00:00
|
|
|
|
2007-06-05 14:11:59 +00:00
|
|
|
- Send release announcements to:
|
2011-09-29 16:06:25 +00:00
|
|
|
gstreamer-devel@lists.freedesktop.org
|
|
|
|
gstreamer-announce@lists.freedesktop.org
|
|
|
|
kde-multimedia@kde.org
|
|
|
|
gnome-multimedia@gnome.org
|
2007-06-05 14:11:59 +00:00
|
|
|
- Update freshmeat with new releases (get Uraeus to do it)
|
2006-02-20 12:26:50 +00:00
|
|
|
|
2010-02-11 00:18:39 +00:00
|
|
|
- push release commit(s) to git repo
|
2012-09-23 16:30:50 +00:00
|
|
|
- push new tag to git repo: git push origin tag 1.0.42
|
2010-02-11 00:18:39 +00:00
|
|
|
|