[Piuparts-commits] [piuparts] 12/20: add support for 2 new tags in adequate 0.8
Holger Levsen
holger at moszumanska.debian.org
Sat Nov 23 20:23:35 UTC 2013
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit d1a40fddd495383fd29e1a7ba10868660fc44402
Author: Andreas Beckmann <anbe at debian.org>
Date: Sat Nov 16 23:23:17 2013 +0100
add support for 2 new tags in adequate 0.8
Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
debian/changelog | 2 ++
.../missing-symbol-version-information_inadequate_issue.conf | 11 +++++++++++
known_problems/symbol-size-mismatch_inadequate_issue.conf | 11 +++++++++++
piuparts-report.py | 2 ++
piuparts.py | 2 ++
5 files changed, 28 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index a3fe8e9..9a5c659 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,8 @@ piuparts (0.56) UNRELEASED; urgency=low
* known_problems: Upgrade adequate issue 'missing-copyright-file' from
boring to normal and make pre_remove_50_find_missing_copyright no longer
generate fatal errors.
+ * Add support for new adequate tags missing-symbol-version-information and
+ symbol-size-mismatch.
-- Andreas Beckmann <anbe at debian.org> Tue, 22 Oct 2013 22:16:21 +0200
diff --git a/known_problems/missing-symbol-version-information_inadequate_issue.conf b/known_problems/missing-symbol-version-information_inadequate_issue.conf
new file mode 100644
index 0000000..2027798
--- /dev/null
+++ b/known_problems/missing-symbol-version-information_inadequate_issue.conf
@@ -0,0 +1,11 @@
+#
+# detect packages with some inadequate tag from adequate
+#
+PATTERN='(FAIL|WARN): Running adequate resulted in .* missing-symbol-version-information'
+WHERE='pass fail bugged affected'
+ISSUE=1
+HEADER="Packages tagged 'missing-symbol-version-information' by adequate"
+HELPTEXT="
+<p>Running <a href="http://packages.debian.org/adequate" target="_blank">adequate</a> resulted in the package being tagged 'missing-symbol-version-information' which indicates a bug.
+</p>
+"
diff --git a/known_problems/symbol-size-mismatch_inadequate_issue.conf b/known_problems/symbol-size-mismatch_inadequate_issue.conf
new file mode 100644
index 0000000..4456bf0
--- /dev/null
+++ b/known_problems/symbol-size-mismatch_inadequate_issue.conf
@@ -0,0 +1,11 @@
+#
+# detect packages with some inadequate tag from adequate
+#
+PATTERN='(FAIL|WARN): Running adequate resulted in .* symbol-size-mismatch'
+WHERE='pass fail bugged affected'
+ISSUE=1
+HEADER="Packages tagged 'symbol-size-mismatch' by adequate"
+HELPTEXT="
+<p>Running <a href="http://packages.debian.org/adequate" target="_blank">adequate</a> resulted in the package being tagged 'symbol-size-mismatch' which indicates a bug.
+</p>
+"
diff --git a/piuparts-report.py b/piuparts-report.py
index 59f48af..878aed7 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -401,6 +401,8 @@ linktarget_by_template = [
("py_file_not_bytecompiled_inadequate_issue.tpl", "but adequate tagged it 'py-file-not-bytecompiled'"),
("pyshared_file_not_bytecompiled_inadequate_issue.tpl", "but adequate tagged it 'pyshared-file-not-bytecompiled'"),
("undefined_symbol_inadequate_issue.tpl", "but adequate tagged it 'undefined-symbol'"),
+ ("symbol-size-mismatch_inadequate_issue.tpl", "but adequate tagged it 'symbol-size-mismatch'"),
+ ("missing-symbol-version-information_inadequate_issue.tpl", "but adequate tagged it 'missing-symbol-version-information'"),
("unknown_inadequate_issue.conf", "but an unknown adequate was found"),
("packages_have_been_kept_back_issue.tpl", "but logfile contains 'packages have been kept back'"),
("needs_rebuild_issue.tpl", "but logfile recommends to rebuild some packages"),
diff --git a/piuparts.py b/piuparts.py
index d7e6a2e..4f48c7c 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -1275,6 +1275,8 @@ class Chroot:
'py-file-not-bytecompiled',
'pyshared-file-not-bytecompiled',
'undefined-symbol',
+ 'missing-symbol-version-information',
+ 'symbol-size-mismatch',
'incompatible-licenses',
'ldd',
]
--
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