Commit 366666ac authored by Adam D. Barratt's avatar Adam D. Barratt

scripts/puprep: cross-reference removals against security.d.o

Signed-off-by: 's avatarAdam D. Barratt <adam@adam-barratt.org.uk>
parent 65a815cf
......@@ -41,6 +41,7 @@ fi
CODENAME="$(dak admin suite show ${SUITE} | awk '/^Codename: / {print $2}')"
BASEDIR=/srv/release.debian.org/www/proposed-updates/
SECURITYDIR=/srv/release.debian.org/tmp/
cd ${BASEDIR}/${MAJORVER}
rm -rf ${POINTREL}/before
......@@ -90,6 +91,11 @@ do
echo "WARNING: package ${pkg} listed in REMOVALS appears not to exist in ${SUITE}, skipping" >&2
continue
fi
if grep -q "^Package: ${pkg}$" ${SECURITYDIR}/${SUITE}-Sources-security
then
echo "WARNING: package ${pkg} listed in REMOVALS appears to exist in ${SUITE}-security" >&2
echo "WARNING: please ensure a removal request has been filed!" >&2
fi
if [ -n "${arches}" ]
then
for arch in $arches
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment