3 # This script expects to be given at least two arguments:
5 # main config file for adt-testreport-runloop which sets PATH if need be
6 # remaining arguments are passed through to a-t-r unchanged
10 export openbugs_kind=debbugs
11 export openbugs_debbugs_soap=Debbugs/SOAP
12 export openbugs_debbugs_uri=http://bugs.debian.org/cgi-bin/soap.cgi
13 export openbugs_usertag_owner=autopkgtest@packages.debian.org
14 export openbugs_usertag_name=autopkgtest
20 : "${openbugs_file_to_fetch:=${suppresspackages:-openbugs}}"
21 export openbugs_file_to_fetch
23 : "${openbugs_file_to_lock:=$openbugs_file_to_fetch-lock}"
27 with-lock-ex -f "$openbugs_file_to_lock" bash -c '
30 f="$openbugs_file_to_fetch"
35 ${openbugs_fetch:-adt-openbugs-fetch-$openbugs_kind} \
41 if ! test -s "$f".new;
43 echo >&2 "NO OPENBUGS - PROBABLY WENT WRONG"
49 if [ "x$openbugs_copy_destination" != x ]; then
51 RSYNC_RSH=ssh rsync "$f" "$openbugs_copy_destination"