[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.49-105-gac1319a
Andreas Beckmann
anbe at debian.org
Fri Mar 1 15:33:03 UTC 2013
The following commit has been merged in the piatti branch:
commit 08803458318faf32b4ecc6615070fd041d0ca9e5
Author: Andreas Beckmann <anbe at debian.org>
Date: Sat Feb 23 17:56:36 2013 +0100
p.conf: make bts-from optional
and let piuparts-analyze skip the updating part if DEBEMAIL is not set
Signed-off-by: Andreas Beckmann <anbe at debian.org>
diff --git a/conf/piuparts.conf.sample b/conf/piuparts.conf.sample
index 80fc58a..4a6c9c6 100644
--- a/conf/piuparts.conf.sample
+++ b/conf/piuparts.conf.sample
@@ -24,7 +24,6 @@ reschedule-old-count = 150
expire-fail-days = 45
reschedule-fail-days = 30
reschedule-fail-count = 25
-#bts-from
[sid]
diff --git a/master-bin/report_newly_bugged_packages.in b/master-bin/report_newly_bugged_packages.in
index 4e5eef0..d4547b1 100755
--- a/master-bin/report_newly_bugged_packages.in
+++ b/master-bin/report_newly_bugged_packages.in
@@ -22,7 +22,7 @@
get_config_value MASTER global master-directory
get_config_value SECTIONS global sections
get_config_value PYTHONPATH global PYTHONPATH ''
-get_config_value DEBEMAIL global bts-from
+get_config_value DEBEMAIL global bts-from ''
export PYTHONPATH
diff --git a/piuparts-analyze.py b/piuparts-analyze.py
index 3b13c5a..cc67aec 100644
--- a/piuparts-analyze.py
+++ b/piuparts-analyze.py
@@ -167,8 +167,9 @@ def mark_bugged_version(failed_log, bugged_log):
def bts_update_found(bugnr, newversion):
- #subprocess.check_call(('bts', 'found', bugnr, newversion))
- print(' '.join(('bts', 'found', str(bugnr), newversion)))
+ if "DEBEMAIL" in os.environ and os.environ["DEBEMAIL"]:
+ #subprocess.check_call(('bts', 'found', bugnr, newversion))
+ print(' '.join(('bts', 'found', str(bugnr), newversion)))
def mark_logs_with_reported_bugs():
--
piuparts git repository
More information about the Piuparts-commits
mailing list