]> git.decadent.org.uk Git - dak.git/blobdiff - docs/README.stable-point-release
README.stable-point-release: add if block around squeeze-only step
[dak.git] / docs / README.stable-point-release
index 462c3454aae9e620db0aa6607afdf42287eb764c..0e3895223765b59ec758e62eb4068c1d4787b988 100644 (file)
@@ -3,11 +3,11 @@ Rough Guide to doing Stable Point Releases in Debian
 
 - sudo to dak
 - bash:
-suite=oldstable
-suitename=lenny
-pusuite=oldstable-proposed-updates
-oldrev=5.0.8
-newrev=5.0.9
+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"
@@ -29,13 +29,18 @@ dak make-changelog -s ${pusuite} -b ${suite} | cat - ${ftpdir}/dists/${suite}/Ch
 cat ${pusuite}.list | dak control-suite --add ${suite}
 dak control-suite --remove ${pusuite} < ${pusuite}.list
 
-- sync with stable RM if there is any propup needed. do it, if so.
+- -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=20090123lenny9
-dioldver=20090123lenny8
+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
@@ -48,6 +53,14 @@ if [ "${dioldver}" != "empty" ]; then
 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*
@@ -76,8 +89,29 @@ dak generate-filelist -s ${suite}
 - Let SRM see if all is ok
 
 - then:
-dak generate-packages-sources -s ${suite} ; dak contents generate -f -s ${suite}
+dak generate-packages-sources -s ${suite} ; dak contents generate -f -s ${suite} -a ftp-master
+
+- For squeeze: merge Contents
+if [ "${suitename}" = "squeeze" ]; then
+  cd $ftpdir/dists/${suite}
+  for carch in $(dak admin s-a list-arch ${suite}); do
+    echo doing ${carch}
+    cp $base/dak/templates/contents Contents-${carch}.new;
+    zcat {main,contrib,non-free}/Contents-${carch}.gz | ~joerg/mergecontents.pl | sort >> Contents-${carch}.new;
+    gzip -9v Contents-${carch}.new;
+    mv Contents-${carch}.new.gz Contents-${carch}.gz;
+  done
+  rm {main,contrib,non-free}/Contents-*
+fi
+
+- For wheezy: update main/i18n/Index
+if [ "${suitename}" = "wheezy" ]; then
+  ${scriptsdir}/generate-i18n-Index "${ftpdir}/dists/${suite}"
+fi
+
+- Generate Releases:
 dak generate-releases -f -s ${suite}
+rm ${ftpdir}/dists/${suite}/InRelease
 
 - have the SRMs sign it and put the signature in.
 - Check if a mirror push is needed or next dinstall is enough. for a push