]> git.decadent.org.uk Git - dak.git/blobdiff - docs/README.stable-point-release
Merge remote-tracking branch 'origin/master'
[dak.git] / docs / README.stable-point-release
index 462c3454aae9e620db0aa6607afdf42287eb764c..c0215fecb13be18f3f917e9dc62aa360246f6c8d 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,15 @@ 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.
+- 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
@@ -76,7 +78,19 @@ 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
+
+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-*
+
 dak generate-releases -f -s ${suite}
 
 - have the SRMs sign it and put the signature in.