From cf5d3c03acf3065f46ac19e67521f9aaf5ca5bad Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 18 Sep 2010 11:00:43 +0200 Subject: [PATCH] Add the changelogs foo to bdo Signed-off-by: Joerg Jaspert --- config/backports/dak.conf | 5 +++++ config/backports/dinstall.functions | 9 +++++++++ config/backports/vars | 5 ++++- config/debian/dinstall.functions | 1 + 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/config/backports/dak.conf b/config/backports/dak.conf index 8a2b23a9..eb836b5d 100644 --- a/config/backports/dak.conf +++ b/config/backports/dak.conf @@ -437,3 +437,8 @@ Import-LDAP-Fingerprints }; KeyServer "wwwkeys.eu.pgp.net"; }; + +Changelogs +{ + Export "/srv/ftp-master.debian.org/export/changelogs"; +} diff --git a/config/backports/dinstall.functions b/config/backports/dinstall.functions index 0ae81724..2757a179 100644 --- a/config/backports/dinstall.functions +++ b/config/backports/dinstall.functions @@ -604,3 +604,12 @@ Current action: ${1} Action start: ${RIGHTNOW} EOF } + +# extract changelogs and stuff +function changelogs() { + log "Extracting changelogs" + dak make-changelog -e + mkdir -p ${exportpublic}/changelogs + cd ${exportpublic}/changelogs + rsync -aHW --delete --delete-after --ignore-errors ${exportdir}/changelogs/. . +} diff --git a/config/backports/vars b/config/backports/vars index 7f051f82..25158581 100644 --- a/config/backports/vars +++ b/config/backports/vars @@ -1,10 +1,11 @@ # locations used by many scripts base=/srv/backports-master.debian.org +public=/srv/backports-web.debian.org bindir=$base/bin ftpdir=$base/ftp/ indices=$ftpdir/indices -webdir=/srv/backports-web.debian.org/underlay/ +webdir=$public/underlay/ scriptdir=$base/scripts archs="alpha amd64 arm armel hppa hurd-i386 i386 ia64 mips mipsel powerpc s390 sparc kfreebsd-i386 kfreebsd-amd64 " @@ -27,6 +28,8 @@ incoming=$base/incoming logdir=$base/log/cron/ mirrordir=$base/mirror/ newstage=$queuedir/newstage/ +exportdir=$base/export/ +exportpublic=$public/export/ ftpgroup=debadmin diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 6e80479c..c5aeed13 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -609,6 +609,7 @@ EOF function changelogs() { log "Extracting changelogs" dak make-changelog -e + mkdir -p ${exportpublic}/changelogs cd ${exportpublic}/changelogs rsync -aHW --delete --delete-after --ignore-errors ${exportdir}/changelogs/. . } -- 2.39.5