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