hosts/chinstrap/suppressions
hosts/chinstrap/suppressions-lock
hosts/chinstrap/suppressions.new
-hosts/magrathea/suppressions
-hosts/magrathea/suppressions-lock
-hosts/magrathea/suppressions.new
+hosts/magrathea/openbugs
+hosts/magrathea/openbugs-lock
+hosts/magrathea/openbugs.new
* hosts/cadmium/update-suppression: really do not install empty file.
* allow suppresspackages and blacklist lists to contain more
information after some whitespace
+ * adt-openbugs-*: new machinery works with debbugs
--
# exit status from curl is a bug in curl or LP.
# Furthermore, much of this functionality is now in
-# adt-suppressions-update and the LP part should be in a script called
-# adt-suppressions-fetch-launchpad.
+# adt-openbugs-update and the LP part should be in a script called
+# adt-openbugs-fetch-launchpad.
cd ${0%/*}
upload_if_ok=false
upload_if_notests=true
suppressrepeatedemails=false
-suppresspackages=suppressions
+suppresspackages=openbugs
blacklistbinarypackages=blacklist
email_extra_info='
}
my $dist= e('distro');
-my $debbugs_soap= e('suppressions_debbugs_soap');
-my $debbugs_uri= e('suppressions_debbugs_uri');
-my $usertag_owner= e('suppressions_usertag_owner');
-my $usertag_name= e('suppressions_usertag_name');
+my $debbugs_soap= e('openbugs_debbugs_soap');
+my $debbugs_uri= e('openbugs_debbugs_uri');
+my $usertag_owner= e('openbugs_usertag_owner');
+my $usertag_name= e('openbugs_usertag_name');
my $soap= SOAP::Lite->uri($debbugs_soap)->proxy($debbugs_uri);
--- /dev/null
+#!/bin/bash
+#
+# This script expects to be given at least two arguments:
+# directory to cd to
+# main config file for adt-testreport-runloop which sets PATH if need be
+# remaining arguments are passed through to a-t-r unchanged
+
+set -e
+
+export openbugs_kind=debbugs
+export openbugs_debbugs_soap=Debbugs/SOAP
+export openbugs_debbugs_uri=http://bugs.debian.org/cgi-bin/soap.cgi
+export openbugs_usertag_owner=autopkgtest@packages.debian.org
+export openbugs_usertag_name=autopkgtest
+
+cd "$1"
+shift
+. "$1"
+
+: "${openbugs_file_to_fetch:=${suppresspackages:-openbugs}}"
+export openbugs_file_to_fetch
+
+: "${openbugs_file_to_lock:=$openbugs_file_to_fetch-lock}"
+
+echo 'locking'
+
+with-lock-ex -f "$openbugs_file_to_lock" bash -c '
+ . "$1"
+
+ f="$openbugs_file_to_fetch"
+
+ export distro
+
+ echo fetching
+ ${openbugs_fetch:-adt-openbugs-fetch-$openbugs_kind} \
+ >"$f".new
+
+ echo results
+ nl -ba -- "$f".new
+
+ if ! test -s "$f".new;
+ then
+ echo >&2 "NO OPENBUGS - PROBABLY WENT WRONG"
+ exit 1
+ fi
+
+ mv -- "$f".new "$f"
+
+ if [ "x$openbugs_copy_destination" != x ]; then
+ echo "uploading"
+ RSYNC_RSH=ssh rsync "$f" "$openbugs_copy_destination"
+ fi
+ echo done.
+' x "$@"
+++ /dev/null
-#!/bin/bash
-#
-# This script expects to be given at least two arguments:
-# directory to cd to
-# main config file for adt-testreport-runloop which sets PATH if need be
-# remaining arguments are passed through to a-t-r unchanged
-
-set -e
-
-export suppressions_kind=debbugs
-export suppressions_debbugs_soap=Debbugs/SOAP
-export suppressions_debbugs_uri=http://bugs.debian.org/cgi-bin/soap.cgi
-export suppressions_usertag_owner=autopkgtest@packages.debian.org
-export suppressions_usertag_name=autopkgtest
-
-cd "$1"
-shift
-. "$1"
-
-: "${suppressions_file_to_fetch:=${suppresspackages:-suppressions}}"
-export suppressions_file_to_fetch
-
-: "${suppressions_file_to_lock:=$suppressions_file_to_fetch-lock}"
-
-echo 'locking'
-
-with-lock-ex -f "$suppressions_file_to_lock" bash -c '
- . "$1"
-
- f="$suppressions_file_to_fetch"
-
- export distro
-
- echo fetching
- ${suppressions_fetch:-adt-suppressions-fetch-$suppressions_kind} \
- >"$f".new
-
- echo results
- nl -ba -- "$f".new
-
- if ! test -s "$f".new;
- then
- echo >&2 "NO SUPPRESSIONS - PROBABLY WENT WRONG"
- exit 1
- fi
-
- mv -- "$f".new "$f"
-
- if [ "x$suppressions_copy_destination" != x ]; then
- echo "uploading"
- RSYNC_RSH=ssh rsync "$f" "$suppressions_copy_destination"
- fi
- echo done.
-' x "$@"