-o Dump projectb for backup purposes.
-o get everything listed, dak control-suite -l proposed-updates > p-u.list
-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)
-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 Run 'dak make-suite-file-list --force -s stable'
-o Run 'dak generate-filelist -s stable'
-o Run apt-ftparchive generate apt.conf.stable
-o Run 'dak generate-releases --force-touch --apt-conf apt.conf.stable stable'
-
-
-
-
+- sudo to dak
+- bash:
+suite=stable
+suitename=squeeze
+pusuite=proposed-updates
+oldrev=6.0.5
+newrev=6.0.6
+export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars
+. $SCRIPTVARS
+. "${configdir}/common"
+. "${configdir}/dinstall.functions"
+umask 022
+export LANG=C
+export LC_ALL=C
+pg_timestamp pre_${suite}_${newrev}
+cd ~
+mkdir -p ${suite}_${newrev}
+cd ${suite}_${newrev}
+dak control-suite -l ${pusuite} > ${pusuite}.list
+dak control-suite -l ${suite} > ${suite}.list
+
+- ask SRMs if there is anything to be skipped from this release. If so
+ edit ${pusuite}.list (and later the Changelog too)
+- bash:
+dak make-changelog -s ${pusuite} -b ${suite} | cat - ${ftpdir}/dists/${suite}/ChangeLog | sponge ${ftpdir}/dists/${suite}/ChangeLog
+cat ${pusuite}.list | dak control-suite --add ${suite}
+dak control-suite --remove ${pusuite} < ${pusuite}.list
+
+- -r0 additions?
+ For example new d-i.
+
+- sync with stable RM if there is any propup needed. do it, if so:
+like, cat /srv/release.debian.org/www/squeeze/6.0/6.0.4/propup.unstable | dak control-suite --add unstable
+Note: unstable first, then testing
+- ask rms if they have RMs to do.
+- and then check if they have a d-i update. if so, bash:
+# set dioldver to "empty" if there is no old to remove
+diver=20110106+squeeze4+b2
+dak copy-installer -s ${pusuite} -d ${suite} ${diver}
+dioldver=20110106+squeeze4
+cd $ftpdir/dists/${suite}/main
+if [ "${dioldver}" != "empty" ]; then
+ for iarch in $(dak admin s-a list-arch ${suite}); do
+ if [ -d "installer-${iarch}/${dioldver}" ]; then
+ echo "Moving installer-${iarch}/${dioldver} to morgue"
+ mkdir -p "${base}/morgue/d-i/installer-${iarch}/"
+ mv "installer-${iarch}/${dioldver}" "${base}/morgue/d-i/installer-${iarch}/"
+ fi
+ done
+fi
+cd $ftpdir/dists/${suite}
+
+- Updates for win32-loader?
+cd ${ftpdir}/tools/win32-loader
+if [ -d ${suitename}-proposed-updates ]; then
+ rm -r ${suite}
+ mv ${suitename}-proposed-updates ${suite}
+fi
+cd ${ftpdir}
+
+- Update version number in README, README.html and dists/README,
+ Clean up dists/stable/ChangeLog (add header, basically). bash:
+ $EDITOR ChangeLog ../README ../../README*
+ rm -f *~ ../*~ ../../*~
+
+- Update the 'Debian<n>.<n>r<n>' symlink in dists/
+cd $ftpdir/dists/
+rm -f Debian${oldrev}
+ln -s ${suitename} Debian${newrev}
+
+- Update fields in suite table in postgresql.
+ bash:
+
+mdate=$(date +"%d %B %Y")
+psql projectb <<EOF