[Piuparts-commits] [piuparts] 01/11: p-a: drop report_packages_with_many_logs()
Holger Levsen
holger at layer-acht.org
Fri Apr 28 16:50:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit b28f743a95648ff1233bd391efe6a6bbabf761ff
Author: Andreas Beckmann <anbe at debian.org>
Date: Tue Apr 11 14:34:59 2017 +0200
p-a: drop report_packages_with_many_logs()
old logs get archived for a long time already
Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
debian/changelog | 1 +
piuparts-analyze.py | 24 ------------------------
2 files changed, 1 insertion(+), 24 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 574932a..99d925a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,7 @@ piuparts (0.77) UNRELEASED; urgency=medium
- Flush pending logfiles upon startup.
* piuparts-analyze.py:
- Process newest logfiles first, in case of timeouts.
+ - Drop report_packages_with_many_logs(), obsoleted by archiving old logs.
* piuparts-report.py:
- Plot all states in the graphs.
- Support new states in plots (varying number of columns in counts.txt).
diff --git a/piuparts-analyze.py b/piuparts-analyze.py
index dc279c3..ecff9f8 100644
--- a/piuparts-analyze.py
+++ b/piuparts-analyze.py
@@ -231,29 +231,6 @@ def mark_logs_with_reported_bugs():
print sys.exc_info()[0]
-def report_packages_with_many_logs():
- failed_logs = find_logs("fail")
- packages = {}
- for failed_log in failed_logs:
- package = package_name(failed_log)
- packages[package] = packages.get(package, []) + [failed_log]
- for package, failed_logs in packages.iteritems():
- printed = False
- if len(failed_logs) > 1:
- print "Many failures:"
- for failed_log in failed_logs:
- print " ", failed_log
- printed = True
- bugged_logs = find_bugged_logs(failed_logs[0])
- if bugged_logs:
- print "Already bugged?"
- for failed_log in failed_logs + bugged_logs:
- print " ", failed_log
- printed = True
- if printed:
- print
-
-
piuparts_usertags_cache = None
@@ -281,7 +258,6 @@ def main():
global distro
distro = sys.argv[1]
mark_logs_with_reported_bugs()
- report_packages_with_many_logs()
if __name__ == "__main__":
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list