[Piuparts-devel] [Git][debian/piuparts][master] 5 commits: piuparts: Only depend on latest version
Holger Levsen
gitlab at salsa.debian.org
Sat Jun 2 12:50:57 BST 2018
Holger Levsen pushed to branch master at Debian / piuparts
Commits:
daddbf9a by Philipp Hahn at 2018-05-14T12:02:18+00:00
piuparts: Only depend on latest version
It may happen that the Packages files contain multiple versions of a
package. Using `apt-cache show` list all of them leading to the
situation, where the generated "piuparts-depends-dummy" has multiple
dependencies on the same package with different versions:
Depends: pkg (= 1), pkg (= 2)
Use `apt-cache show --no-all-versions` to only lists the version with
the highest priority.
- - - - -
cd8a7c65 by Holger Levsen at 2018-05-14T12:06:46+00:00
add changelog entry for Philipp
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
15bc6d9d by Holger Levsen at 2018-06-02T11:35:25+00:00
Update all occurrences of piuparts-devel at lists.alioth.debian.org with piuparts-devel at alioth-lists.debian.net.
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
81e2054f by Holger Levsen at 2018-06-02T11:36:29+00:00
Drop X-Python-Version header from debian/control.
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
fbfb4725 by Holger Levsen at 2018-06-02T11:36:41+00:00
release as 0.87
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
8 changed files:
- CONTRIBUTING
- debian/changelog
- debian/control
- htdocs/bug_howto.tpl
- instances/piuparts.conf-template.pejacevic
- known_problems/unknown_inadequate_issue.conf
- piuparts-report.py
- piuparts.py
Changes:
=====================================
CONTRIBUTING
=====================================
--- a/CONTRIBUTING
+++ b/CONTRIBUTING
@@ -4,7 +4,7 @@ Contributing code to this project
It's helpful to track fixes or new features via wishlist bugs against the
'piuparts' package, eg with the 'reportbug' tool ('devscripts' package).
The BTS will ensure the developers' mailing list
- piuparts-devel at lists.alioth.debian.org
+ piuparts-devel at alioth-lists.debian.net
is notified.
Patches can be submitted by mail (git format-patch, see below)
=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+piuparts (0.87) unstable; urgency=medium
+
+ [ Philipp Hahn ]
+ * piuparts.py: use `apt-cache show --no-all-versions` to prevent generating
+ a "piuparts-depends-dummy" package with multiple dependencies on the same
+ package with different versions. (Closes: #898606)
+
+ [ Holger Levsen ]
+ * Update all occurrences of piuparts-devel at lists.alioth.debian.org with
+ piuparts-devel at alioth-lists.debian.net.
+ * Drop X-Python-Version header from debian/control.
+
+ -- Holger Levsen <holger at debian.org> Sat, 02 Jun 2018 11:36:36 +0000
+
piuparts (0.86) unstable; urgency=medium
* debian/control: switch packaging to salsa.debian.org. Thanks to the alioth
=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -1,5 +1,5 @@
Source: piuparts
-Maintainer: piuparts developers team <piuparts-devel at lists.alioth.debian.org>
+Maintainer: piuparts developers team <piuparts-devel at alioth-lists.debian.net>
Uploaders:
Holger Levsen <holger at debian.org>
Section: devel
@@ -26,7 +26,6 @@ Build-Depends-Indep:
Homepage: https://piuparts.debian.org
Vcs-Git: https://salsa.debian.org/debian/piuparts.git
Vcs-Browser: https://salsa.debian.org/debian/piuparts.git
-X-Python-Version: >= 2.7
Package: piuparts
Architecture: all
=====================================
htdocs/bug_howto.tpl
=====================================
--- a/htdocs/bug_howto.tpl
+++ b/htdocs/bug_howto.tpl
@@ -77,7 +77,7 @@
</tr>
<tr class="normalrow">
<td class="contentcell2">
- Please take care when filing bugs to file meaningful bugs and to not annoy maintainers. Don't nitpick or insist on severities, the important thing is to get the bug fixed, not the right severity. Optionally you can also send copies to the piuparts-devel mailinglist by adding <i>X-debbugs-cc: piuparts-devel at lists.alioth.debian.org</i> pseudo-headers.
+ Please take care when filing bugs to file meaningful bugs and to not annoy maintainers. Don't nitpick or insist on severities, the important thing is to get the bug fixed, not the right severity. Optionally you can also send copies to the piuparts-devel mailinglist by adding <i>X-debbugs-cc: piuparts-devel at alioth-lists.debian.net</i> pseudo-headers.
</td>
</tr>
<tr class="normalrow">
=====================================
instances/piuparts.conf-template.pejacevic
=====================================
--- a/instances/piuparts.conf-template.pejacevic
+++ b/instances/piuparts.conf-template.pejacevic
@@ -165,7 +165,7 @@ sections =
mirror = @MIRROR@
master-host = pejacevic.debian.org
master-user = piupartsm
-bts-from = piuparts-devel at lists.alioth.debian.org
+bts-from = piuparts-devel at alioth-lists.debian.net
master-command = /srv/piuparts.debian.org/share/piuparts/piuparts-master
piuparts-command =
sudo
=====================================
known_problems/unknown_inadequate_issue.conf
=====================================
--- a/known_problems/unknown_inadequate_issue.conf
+++ b/known_problems/unknown_inadequate_issue.conf
@@ -6,5 +6,5 @@ WHERE='pass fail bugged affected'
ISSUE=1
HEADER='Packages which have logs with the string "Found unknown tags running adequate"'
HELPTEXT='
-<p>Sometimes new types of problems are detected by <a href="https://packages.debian.org/adequate" target="_blank">adequate</a>, which classifies them using tags. When this happens these new tags need to be made known to piuparts. Please notify <a href="piuparts-devel at lists.alioth.debian.org">piuparts-devel at lists.alioth.debian.org</a>.</p>
+<p>Sometimes new types of problems are detected by <a href="https://packages.debian.org/adequate" target="_blank">adequate</a>, which classifies them using tags. When this happens these new tags need to be made known to piuparts. Please notify <a href="piuparts-devel at alioth-lists.debian.net">piuparts-devel at alioth-lists.debian.net</a>.</p>
'
=====================================
piuparts-report.py
=====================================
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -127,7 +127,7 @@ HTML_HEADER = """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
</tr>
<tr class="normalrow">
<td class="contentcell">
- <a href="mailto:piuparts-devel at lists.alioth.debian.org" target="_blank">Contact us</a>
+ <a href="mailto:piuparts-devel at alioth-lists.debian.net" target="_blank">Contact us</a>
</td>
</tr>
<tr class="titlerow">
@@ -248,7 +248,7 @@ HTML_FOOTER = """
<a href="mailto:anbe at debian.org">Andreas Beckmann</a> and
<a href="mailto:holger at layer-acht.org">Holger Levsen</a> and
- <a href="mailto:piuparts-devel at lists.alioth.debian.org">others</a> using
+ <a href="mailto:piuparts-devel at alioth-lists.debian.net">others</a> using
<a href="https://salsa.debian.org/debian/piuparts.git" target="_blank">piuparts.git</a>.
Ditto for this website.
Weather icons are from the <a href="http://tango.freedesktop.org/Tango_Icon_Library" target="_blank">Tango Icon Library</a>.
=====================================
piuparts.py
=====================================
--- a/piuparts.py
+++ b/piuparts.py
@@ -646,7 +646,7 @@ def make_metapackage(name, depends, conflicts, arch='all'):
control['Version'] = '0.invalid.0'
control['Architecture'] = arch
control['Maintainer'] = ('piuparts developers team '
- '<piuparts-devel at lists.alioth.debian.org>')
+ '<piuparts-devel at alioth-lists.debian.net>')
control['Description'] = ('Dummy package to satisfy dependencies - '
'created by piuparts\n'
' This package was created automatically by '
@@ -1180,7 +1180,7 @@ class Chroot:
known_packages = []
new_packages = []
for name in packages:
- (status, output) = self.run(["apt-cache", "show", name],
+ (status, output) = self.run(["apt-cache", "show", "--no-all-versions", name],
ignore_errors=True)
# apt-cache reports status for some virtual packages and packages
# in status config-files-remaining state without installation
@@ -2292,7 +2292,7 @@ def install_purge_test(chroot, chroot_state, package_files, packages, extra_pack
else:
# We have package names. Use apt to get all their control
# information.
- apt_cache_args = ["apt-cache", "show"]
+ apt_cache_args = ["apt-cache", "show", "--no-all-versions"]
if os.environ["PIUPARTS_DISTRIBUTION"] in ["lenny"]:
# apt-cache in lenny does not accept version-qualified packages
apt_cache_args.extend(unqualify(packages))
View it on GitLab: https://salsa.debian.org/debian/piuparts/compare/ceba00e26faac78d53fa070ed5b70f7de5419c32...fbfb4725845f214b1d91194a0d4b91c9a265a7d7
--
View it on GitLab: https://salsa.debian.org/debian/piuparts/compare/ceba00e26faac78d53fa070ed5b70f7de5419c32...fbfb4725845f214b1d91194a0d4b91c9a265a7d7
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20180602/64ee7e0a/attachment-0001.html>
More information about the Piuparts-devel
mailing list