Package: apt-listbugs
Version: 0.0.90
Severity: important
Hi!
In order to fix bug #485109, you apparently rewrote the bug-version
detection logic.
Now there seems to be the opposite problem, though: apt-listbugs
alerts for unfixed bugs that have been found only *later* than the
version under consideration:
$ /usr/sbin/apt-listbugs -s important list audacious/1.5.0-1
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
important bugs of audacious (1.5.1-3 -> 1.5.0-1) <marked as done in some
version
>
#468926 - audacious: sometimes refuses to play MP3 stream (with errors or
segfa
ult) (Fixed: audacious-plugins/1.5.1-1)
important bugs of audacious (1.5.1-3 -> 1.5.0-1) <unfixed>
#487206 - audacious: Audacious fails to detect ogg and MP3 file lengths and
to
play music
#487828 - audacious: Failed to load plugin
#483106 - audacious: does not play music
#491615 - audacious 1.5.1-1 (lenny) fails with a Segmentation fault on
startup
#446852 - audacious: Goes crazy with network playlists
Summary:
audacious(6 bugs)
Of these 6 bugs, some should *not* have been listed, because they
have been found in a later version with respect to audacious/1.5.0-1:
#487206, #487828, #483106, and #491615.
I mean: these 4 bugs are all unfixed, but they have been found in
audacious versions which came *later* than audacious/1.5.0-1.
Hence, lacking other information, they should *not* be considered
as affecting audacious/1.5.0-1.
I think that, with the current logic, the user will have to review
a lot of false positives (e.g.: bugs found in experimental, while
the user is using apt or aptitude to upgrade a testing system).
Let's take a look at the code.
/usr/share/apt-listbugs/apt-listbugs/logic.rb
includes the following snippet:
if fixed_max_below == nil && found_max_below == nil
# this is a hard thing to handle, but do some guessing here
if found_min_above == nil
puts " ... found is nil; I guess I am buggy" if $DEBUG
val=true
else if fixed_min_above == nil
puts " ... fixed is nil; bug is not fixed later than this
version, I guess I am buggy?" if $DEBUG
val=true
This last val=true is executed in the case when
* there's no version marked as "fixed"
(both fixed_max_below and fixed_min_above are nil)
and
* the first version marked as "found" is later than the version
under examination
(found_max_below is nil, but found_min_above is not nil)
For the reasons explained above, I think this instruction should
instead be val=false
Indeed, changing that instruction to val=false, produces the
following result:
$ /usr/sbin/apt-listbugs -s important list audacious/1.5.0-1
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
important bugs of audacious (1.5.1-3 -> 1.5.0-1) <marked as done in some
version
>
#468926 - audacious: sometimes refuses to play MP3 stream (with errors or
segfa
ult) (Fixed: audacious-plugins/1.5.1-1)
important bugs of audacious (1.5.1-3 -> 1.5.0-1) <unfixed>
#446852 - audacious: Goes crazy with network playlists
Summary:
audacious(2 bugs)
I think this correction should be applied.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt-listbugs depends on:
ii apt 0.7.9 Advanced front-end for dpkg
ii libdpkg-ruby1.8 0.3.2 modules/classes for dpkg on ruby 1
ii libgettext-ruby1.8 1.91.0-1.1 Gettext for ruby1.8
ii libhttp-access2-ruby1.8 2.0.6-3 HTTP accessing library for ruby
ii libruby1.8 [libzlib-ruby1.8] 1.8.7.22-3 Libraries necessary to run Ruby 1.
ii libxml-parser-ruby1.8 0.6.8-4 Interface of expat for the scripti
ii ruby 4.2 An interpreter of object-oriented
apt-listbugs recommends no packages.
Versions of packages apt-listbugs suggests:
ii debianutils 2.30 Miscellaneous utilities specific t
ii epiphany-gecko [www-browser] 2.22.3-1 Intuitive GNOME web browser - Geck
ii galeon [www-browser] 2.0.6-2 GNOME web browser for advanced use
ii reportbug 3.45 reports bugs in the Debian distrib
ii w3m [www-browser] 0.5.2-2+b1 WWW browsable pager with excellent
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]