Browse Source

Use list of suites configured in lib/config.py.

wip/leepen/bannedtable_use_lib.config.py
Mark Hindley 12 months ago
parent
commit
6dd625dbca
  1. 20
      bannedtable.sh

20
bannedtable.sh

@ -2,19 +2,13 @@
#
# Process a "${SUITE},${PACKAGE}" log on stdi into a matrix on stdout
SUITES=(
jessie
jessie-security
ascii
ascii-backports
ascii-security
beowulf
beowulf-backports
beowulf-security
beowulf-proposed-updates
chimaera
unstable
)
SUITES=$(python3 - <<EOF
from lib.config import suites
for k in sorted(suites, key=lambda x: not x.startswith('jessie')):
for s in suites[k]:
print(s)
EOF
)
LC_ALL=C
DATA="$(cat)"

Loading…
Cancel
Save