diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-08 00:25:36 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-08 00:25:36 +0200 |
commit | b2b12b611facfe39c18bef4bf28f92c56c8962b8 (patch) | |
tree | f1408d71e146add192d1dec99b38c7b43e73028e | |
parent | 63c87408040da4f0542daada53f09b53fcc23b71 (diff) | |
download | jenkins.debian.net-b2b12b611facfe39c18bef4bf28f92c56c8962b8.tar.xz |
reproducible: blacklist openclipart
-rwxr-xr-x | bin/reproducible_build.sh | 3 | ||||
-rwxr-xr-x | bin/reproducible_scheduler.sh | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 49052fdb..4272b636 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -43,7 +43,8 @@ if [ $1 = "unknown" ] ; then REAL_AMOUNT=0 GUESSES=$(echo "${AMOUNT}*3" | bc) PACKAGES="" - CANDIDATES=$(xzcat $TMPFILE | grep "^Package" | grep -v "^Package-List:" | cut -d " " -f2 | egrep -v "^(linux|cups|zurl)$" | sort -R | head -$GUESSES | xargs echo) + # FIXME: blacklisted is a valid status in the db which should be used... + CANDIDATES=$(xzcat $TMPFILE | grep "^Package" | grep -v "^Package-List:" | cut -d " " -f2 | egrep -v "^(linux|cups|zurl|openclipart)$" | sort -R | head -$GUESSES | xargs echo) for PKG in $CANDIDATES ; do if [ $REAL_AMOUNT -eq $AMOUNT ] ; then continue diff --git a/bin/reproducible_scheduler.sh b/bin/reproducible_scheduler.sh index b9fc0c62..4bd1c416 100755 --- a/bin/reproducible_scheduler.sh +++ b/bin/reproducible_scheduler.sh @@ -40,7 +40,8 @@ if [ $1 = "unknown" ] ; then REAL_AMOUNT=0 GUESSES=$(echo "${AMOUNT}*3" | bc) PACKAGES="" - CANDIDATES=$(xzcat $TMPFILE | grep "^Package" | grep -v "^Package-List:" | cut -d " " -f2 | egrep -v "^(linux|cups|zurl)$" | sort -R | head -$GUESSES | xargs echo) + # FIXME: blacklisted is a valid status in the db which should be used... + CANDIDATES=$(xzcat $TMPFILE | grep "^Package" | grep -v "^Package-List:" | cut -d " " -f2 | egrep -v "^(linux|cups|zurl|openclipart)$" | sort -R | head -$GUESSES | xargs echo) for PKG in $CANDIDATES ; do if [ $REAL_AMOUNT -eq $AMOUNT ] ; then continue |