[Apt-listbugs-commits] [SCM] apt-listbugs development tree branch, master, updated. apt-listbugs/0.1.6-4-g43b13c3
Francesco Poli (wintermute)
invernomuto at paranoici.org
Sun Mar 18 18:02:52 UTC 2012
The following commit has been merged in the master branch:
commit 43b13c360ce0fea88a462214869b18c2017183a5
Author: Francesco Poli (wintermute) <invernomuto at paranoici.org>
Date: Sun Mar 18 18:58:15 2012 +0100
cope with pins without bugs (Closes: #664496)
diff --git a/aptcleanup b/aptcleanup
index 65692af..41675f2 100755
--- a/aptcleanup
+++ b/aptcleanup
@@ -4,7 +4,7 @@
#
# Copyright (C) 2004 Masato Taruishi <taru at debian.org>
# Copyright (C) 2007 Jean Lepropre <jlepropre at gmail.com>
-# Copyright (C) 2008-2009 Francesco Poli <invernomuto at paranoici.org>
+# Copyright (C) 2008-2012 Francesco Poli <invernomuto at paranoici.org>
# Copyright (C) 2009 Ryan Niebur <ryan at debian.org>
#
# This program is free software; you can redistribute it and/or modify
@@ -73,7 +73,11 @@ p.pins.each do |pin|
# are bugs that the user fears still affecting unpinned_candidate_version ?
$stderr.puts "Checking bug(s) #{feared_list} for #{pack_with_vers}" if $DEBUG
- open("|#{LISTBUGS} -y -q -B #{feared_list} list #{pack_with_vers}") { |io|
+ optionB = nil
+ if feared_list != "" and feared_list != nil
+ optionB = "-B #{feared_list}"
+ end
+ open("|#{LISTBUGS} -y -q #{optionB} list #{pack_with_vers}") { |io|
array = io.readlines()
bugpkgs << pinned_package if array.size != 0
}
diff --git a/debian/changelog b/debian/changelog
index 3901ac5..2e93b19 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,13 @@ apt-listbugs (0.1.7) UNRELEASED; urgency=low
* fixed "aptitude shows apt-listbugs has no homepage URL in the
description" by adding a Homepage field to debian/control pointing
to the alioth project page (Closes: #663143)
+ * fixed "Possible weakness in preferences parsing.": aptcleanup is now
+ able to handle pinning stanzas which do not reference any bug(s) in their
+ explanation fields; such a pinning will be removed by the cron.daily
+ job, when the package candidate version is no longer affected
+ by any bug of high severity (Closes: #664496)
- -- Francesco Poli (wintermute) <invernomuto at paranoici.org> Fri, 09 Mar 2012 22:20:39 +0100
+ -- Francesco Poli (wintermute) <invernomuto at paranoici.org> Sun, 18 Mar 2012 18:07:29 +0100
apt-listbugs (0.1.6) unstable; urgency=low
diff --git a/debian/copyright b/debian/copyright
index d3edf01..fabfdf3 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -7,7 +7,7 @@ The original source can always be found at:
Copyright (C) 2002-2004 Masato Taruishi <taru at debian.org>
Copyright (C) 2006-2008 Junichi Uekawa <dancer at debian.org>
Copyright (C) 2007 Jean Lepropre <jlepropre at gmail.com>
-Copyright (C) 2008-2011 Francesco Poli <invernomuto at paranoici.org>
+Copyright (C) 2008-2012 Francesco Poli <invernomuto at paranoici.org>
Copyright (C) 2009-2010 Ryan Niebur <ryan at debian.org>
This program is free software; you can redistribute it and/or modify
--
apt-listbugs development tree
More information about the Apt-listbugs-commits
mailing list