[Piuparts-commits] [piuparts] 01/01: Add support for adequate tag missing-pkgconfig-dependency. (Closes: #783528)

Holger Levsen holger at moszumanska.debian.org
Fri Jun 12 10:37:51 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit a5779946d55630ab4706330d9634a50318527f13
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Jun 12 12:37:19 2015 +0200

    Add support for adequate tag missing-pkgconfig-dependency. (Closes: #783528)
---
 debian/changelog                                       |  2 ++
 known_problems/missing_pkgconfig-dependency_issue.conf | 10 ++++++++++
 piuparts-report.py                                     |  1 +
 piuparts.py                                            |  1 +
 4 files changed, 14 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index c73a288..ad58dad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ piuparts (0.64) UNRELEASED; urgency=medium
   * Add FancyIndexing to piuparts-master.conf and enable apache syntax
     highlighting in vim. (Thanks DSA!)
   * Use httpredir.debian.org instead of http.debian.net. (Closes: #783617)
+  * Add support for adequate tag missing-pkgconfig-dependency.
+    (Closes: #783528)
 
   [ Andreas Beckmann ]
   * piuparts.py:
diff --git a/known_problems/missing_pkgconfig-dependency_issue.conf b/known_problems/missing_pkgconfig-dependency_issue.conf
new file mode 100644
index 0000000..f9b0fbd
--- /dev/null
+++ b/known_problems/missing_pkgconfig-dependency_issue.conf
@@ -0,0 +1,10 @@
+#
+# detect packages with some inadequate tag from adequate
+#
+PATTERN='(FAIL|WARN): Running adequate resulted in .*missing-pkgconfig-dependency'
+WHERE='pass fail bugged affected'
+ISSUE=1
+HEADER="Packages tagged 'missing-pkgconfig-dependency' by adequate"
+HELPTEXT="
+<p>Running <a href="https://packages.debian.org/adequate" target="_blank">adequate</a> resulted in the package being tagged 'missing-pkgconfig-dependency' which indicates a bug.
+"
diff --git a/piuparts-report.py b/piuparts-report.py
index 1375f8b..b48c307 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -430,6 +430,7 @@ linktarget_by_template = [
     ("broken_binfmt_interpreter_inadequate_issue.tpl", "but adequate did not find the interpreter registered with update_binfmts"),
     ("missing_alternative_inadequate_issue.tpl", "but adequate found a missing alternative"),
     ("missing_copyright_file_inadequate_issue.tpl", "but adequate couldn't find a copyright file"),
+    ("missing_pkgconfig-dependency_issue.tpl", "but adequate found a missing pkgconfig dependency"),
     ("program_name_collision_inadequate_issue.tpl", "but adequate found a program name collision"),
     ("py_file_not_bytecompiled_inadequate_issue.tpl", "but adequate found a .py file that is not byte-compiled"),
     ("pyshared_file_not_bytecompiled_inadequate_issue.tpl", "but adequate found a .py file in /usr/share/pyshared that is not byte-compiled"),
diff --git a/piuparts.py b/piuparts.py
index 7ba8662..b2dd507 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -1253,6 +1253,7 @@ class Chroot:
                     'library-not-found',
                     'missing-alternative',
                     'missing-copyright-file',
+                    'missing-pkgconfig-dependency',
                     'missing-symbol-version-information',
                     'program-name-collision',
                     'py-file-not-bytecompiled',

-- 
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