Bug#792855: apt-listbugs seems to strip the trailing zero from the version?
On Sun, 19 Jul 2015 11:36:38 -0700 Don Armstrong wrote: > On Sun, 19 Jul 2015, Francesco Poli wrote: > > However, the BTS SOAP interface apparently sends this fixed version > > ("0.30") as a number (0.3), rather than as a string. As a consequence, > > apt-listbugs considers #774628 as fixed in version 0.3 and *then* > > found again in the later version 0.22.1 : the final result is that it > > considers dgit/0.30 as buggy. > > Heh. Yeah, this definitely seems to be the bug. Hello Don, thanks for confirming! > YA example of why me > being lazy in the soap interface description has resulted in some issues > like this. > > I'll see what i can do to fix this up. Good, thanks a lot for your helpfulness. Bye. -- http://www.inventati.org/frx/ There's not a second to spare! To the laboratory! . Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE pgpQfWozR2mEo.pgp Description: PGP signature
Bug#792855: apt-listbugs seems to strip the trailing zero from the version?
On Sun, 19 Jul 2015, Francesco Poli wrote: > However, the BTS SOAP interface apparently sends this fixed version > ("0.30") as a number (0.3), rather than as a string. As a consequence, > apt-listbugs considers #774628 as fixed in version 0.3 and *then* > found again in the later version 0.22.1 : the final result is that it > considers dgit/0.30 as buggy. Heh. Yeah, this definitely seems to be the bug. YA example of why me being lazy in the soap interface description has resulted in some issues like this. I'll see what i can do to fix this up. -- Don Armstrong http://www.donarmstrong.com Le temps est un grand maître, dit-on; le malheur est qu'il soit un maître inhumain qui tue ses élèves. Time is a great teacher, but unfortunately it kills all its pupils. -- Hector Berlioz -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#792855: apt-listbugs seems to strip the trailing zero from the version?
Control: severity -1 normal Control: reassign -1 debbugs 2.4.1.1 On Sun, 19 Jul 2015 14:23:24 +0200 Johannes Schauer wrote: [...] > Hi, Hello Johannes, thanks for your bug report! > > I just tried to install dgit and got the following: > [...] > Retrieving bug reports... Done > Parsing Found/Fixed information... Done > serious bugs of dgit (→ 0.30) > b1 - #774628 - dgit must support intended dgit repo move (Fixed: 0.3) > Summary: > dgit(1 bug) > Are you sure you want to install/upgrade the above packages? [Y/n/?/...] > > > > Bug #774628 was fixed in version 0.30, yet somehow apt-listbugs seems to > think that it was only fixed in version 0.3. Since version 0.3 is lower > than version 0.30 it does not see the bug being fixed in the current > version I suppose. I've just managed to reproduce the issue. What happens is that bug #774628 is found in version "dgit/0.22.1" and fixed in version "0.30". Hence, apt-listbugs should consider dgit/0.30 as not buggy. However, the BTS SOAP interface apparently sends this fixed version ("0.30") as a number (0.3), rather than as a string. As a consequence, apt-listbugs considers #774628 as fixed in version 0.3 and *then* found again in the later version 0.22.1 : the final result is that it considers dgit/0.30 as buggy. > > I do not know why above it stripped off the trailing zero. The BTS SOAP interface sends this fixed version as the 0.3 number, rather than as the "0.30" string. The --debug option of apt-listbugs shows: [...] #nil} {}originator="Ian Jackson " {}date=1420469821 {}blocks="" {}fixed_date=[] {}log_modified=1436360961 {}found_date=[] {}blockedby="" {}summary="" {}keywords="" {}archived=0 {}source="dgit" {}done="Ian Jackson " {}id=774628 {}tags="" {}package="dgit" {}msgid="<21674.42326.891976.60...@chiark.greenend.org.uk>" {}mergedwith="" {}last_modified=1436360961 {}fixed={0.3=>nil} {}pending="done" {}bug_num=774628 {}found_versions=["dgit/0.22.1"]> [...] I am reassigning your bug report to package debbugs. Dear debbugs maintainers, could you please look into this issue? I think the BTS SOAP interface should always treat fixed/found versions as strings, and never as numbers (even when they look like numbers!). Please fix this issue, by forcing the SOAP interface to always send fixed/found versions as strings. Thanks for your time! Bye. -- http://www.inventati.org/frx/ There's not a second to spare! To the laboratory! . Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE pgppnO06cXn4u.pgp Description: PGP signature
Bug#792855: apt-listbugs seems to strip the trailing zero from the version?
Package: apt-listbugs Version: 0.1.16 Severity: minor Hi, I just tried to install dgit and got the following: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: hevea libdb-dev libdb5.3-dev libfuzzylite5.0 libpopt-dev librpm-dev libselinux1-dev libsepol1-dev libxm Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libjson-perl Recommended packages: libjson-xs-perl The following NEW packages will be installed: dgit libjson-perl 0 upgraded, 2 newly installed, 0 to remove and 115 not upgraded. Need to get 134 kB of archives. After this operation, 361 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://http.debian.net/debian/ testing/main libjson-perl all 2.90-1 [86.0 kB] Get:2 http://http.debian.net/debian/ testing/main dgit all 0.30 [48.0 kB] Fetched 134 kB in 0s (264 kB/s) Retrieving bug reports... Done Parsing Found/Fixed information... Done serious bugs of dgit (→ 0.30) b1 - #774628 - dgit must support intended dgit repo move (Fixed: 0.3) Summary: dgit(1 bug) Are you sure you want to install/upgrade the above packages? [Y/n/?/...] Bug #774628 was fixed in version 0.30, yet somehow apt-listbugs seems to think that it was only fixed in version 0.3. Since version 0.3 is lower than version 0.30 it does not see the bug being fixed in the current version I suppose. I do not know why above it stripped off the trailing zero. cheers, josch -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: armhf Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages apt-listbugs depends on: ii apt 1.0.9.10 ii ruby1:2.1.5.1 ii ruby-debian 0.3.9+b1 ii ruby-gettext3.1.2-1 ii ruby-soap4r 2.0.5-3 ii ruby-unicode0.4.4-2+b4 ii ruby-xmlparser 0.7.3-1+b1 ii ruby2.1 [ruby-interpreter] 2.1.5-3 Versions of packages apt-listbugs recommends: pn ruby-httpclient Versions of packages apt-listbugs suggests: ii chromium [www-browser] 43.0.2357.130-1 ii debianutils 4.5.1 ii iceweasel [www-browser] 38.0.1-5 ii lynx-cur [www-browser] 2.8.9dev6-3 ii reportbug6.6.3 ii w3m [www-browser]0.5.3-22 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org