Rough Guide to doing Stable Point Releases in Debian
----------------------------------------------------
+o Dump projectb for backup purposes.
+o get everything listed, dak control-suite -l proposed-updates > p-u.list
+o generate the changelog using dak make-changelog -s proposed-updates -b stable | cat - ${ftpdir}/dists/stable/ChangeLog | sponge ${ftpdir}/dists/stable/ChangeLog
+o add everything to stable: cat p-u.list |dak control-suite --add stable
+o remove everything from proposed-updates, dak control-suite -r proposed-updates < p-u.list
+o sync with stable RM if there is any propup needed. do it, if so.
+o ask rms if they have RMs to do.
+o If you installed a debian-installer upload; migrate the relevant
+ installer-*/$release directory from proposed-updates to stable.
+ (Including potentially removing older versions)
+ dak copy-installer helps
+o Update version number in README, README.html and dists/README
+o Update the 'Debian<n>.<n>r<n>' symlink in dists/
+o Clean up dists/stable/ChangeLog (add header, basically)
+o Update fields in suite table in postgresql (see below)
+
+o dak dominate --force -s stable
+o dak generate-filelist -s stable
+o Let SRM see if all is ok
+o dak generate-packages-sources -s stable ; dak contents generate -f -s stable
+o dak generate-releases -f -s stable
+o Check if a mirror push is needed or next dinstall is enough. for a push
+o if so:
+ TRACEFILE="${ftpdir}/project/trace/ftp-master.debian.org"
+ DATE_SERIAL=$(date +"%Y%m%d01")
+ FILESOAPLUS1=$(awk '/serial/ { print $3+1 }' ${TRACEFILE} )
+ if [ "$DATE_SERIAL" -gt "$FILESOAPLUS1" ]; then
+ SERIAL="$DATE_SERIAL"
+ else
+ SERIAL="$FILESOAPLUS1"
+ fi
+ date -u > ${TRACEFILE}
+ echo "Using dak v1" >> ${TRACEFILE}
+ echo "Running on host: $(hostname -f)" >> ${TRACEFILE}
+ echo "Archive serial: ${SERIAL}" >> ${TRACEFILE}
+ cd ${mirrordir}
+ rsync -aH --link-dest ${ftpdir} --delete --delete-after --ignore-errors ${ftpdir}/. .
+
+ date -u > /srv/ftp.debian.org/web/mirrorstart
+ echo "Using dak v1" >> /srv/ftp.debian.org/web/mirrorstart
+ echo "Running on host $(hostname -f)" >> /srv/ftp.debian.org/web/mirrorstart
+ sudo -H -u archvsync /home/archvsync/runmirrors > ~dak/runmirrors.log 2>&1 &
+
+
+begin;
+update suite set version = '6.0.2' where suite_name = 'stable';
+update suite set description = 'Debian 6.0.2 Released 25 June 2011' where suite_name = 'stable';
+
+------------------------------------------------------------------------
+Old doc:
+
+
o run 'dak clean-proposed-updates' to get rid of obsolete .changes
from p-u ['dak clean-proposed-updates *.changes' from within p-u]
o [also check for obsolete .changes caused by 'dak rm'-ing from p-u]
NB: removing packages are not logged to the stable ChangeLog; you
need to do that byhand.
-o If you installed a debian-installer upload; migrate the relevant
- installer-*/$release directory from proposed-updates to stable.
- (Including potentially removing older versions)
o Decruft stable in coordination with SRMs
-o Do anything in proposed-updates/TODO
+o Do anything in proposed-updates/TODO
o Close any applicable stable bugs
(hint: http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=ftp.debian.org&include=etch)
o Update version number in README, README.html and dists/README