]> git.decadent.org.uk Git - dak.git/blob - docs/README.stable-point-release
176b33eb89d9c2aa3317ed9ad71639b7a847b4f7
[dak.git] / docs / README.stable-point-release
1 Rough Guide to doing Stable Point Releases in Debian
2 ----------------------------------------------------
3
4 o run 'dak clean-proposed-updates' to get rid of obsolete .changes
5   from p-u ['dak clean-proposed-updates *.changes' from within p-u]
6 o [also check for obsolete .changes caused by 'dak rm'-ing from p-u]
7 o Update dak.conf (at least the section for Reject-Proposed-Updates,
8   before using 'dak reject-proposed-updates')
9 o Install, reject and remove packages as directed by the SRM using
10   'dak process-accepted' (installs), 'dak reject-proposed-updates'
11   (rejects) and 'dak rm' (removals)
12
13   NB: removing packages are not logged to the stable ChangeLog; you
14       need to do that byhand.
15
16 o If you installed a debian-installer upload; migrate the relevant
17   installer-*/$release directory from proposed-updates to stable.
18   (Including potentially removing older versions)
19
20 o Decruft stable in coordination with SRMs
21
22 o Do anything in proposed-updates/TODO 
23 o Close any applicable stable bugs
24   (hint: http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=ftp.debian.org&include=etch)
25 o Update version number in README, README.html and dists/README
26 o Update the 'Debian<n>.<n>r<n>' symlink in dists/
27 o Clean up dists/stable/ChangeLog (add header, basically)
28 o Update version fields in dak.conf
29 o Update fields in suite table in postgresql (see below)
30
31 o Run 'dak make-suite-file-list --force -s stable'
32 o Run apt-ftparchive generate apt.conf.stable
33 o Run 'dak generate-releases --force-touch --apt-conf apt.conf.stable stable'
34
35 [Yes, this sucks and more of it should be automated. c.f. ~ajt/pointupdate]
36
37 #######################################################
38
39 update suite set version = '4.0r3' where suite_name = 'stable';
40 update suite set description = 'Debian 4.0r3 Released 16th February 2008' where suite_name = 'stable';
41
42 Rough Guide to doing Old-Stable Point Releases in Debian
43 --------------------------------------------------------
44
45 Pretty much as above, except that process-accepted doesn't know about
46 oldstable, so you have to do some surgery on it first to make it
47 support that.  Probably want to disable cron.daily whilst doing so.
48 Also watch out for the installing_to_stable detection which doesn't
49 work well with the current layout of oldstable-proposed-updates (as a
50 symlink to $distro-proposed-updates).  clean-proposed-updates,
51 cruft-report and most everything else support a -s/--suite so they
52 sould be fine to use.