Bug#434507: debbugs SOAP interface returns multiple package names separated with comma.
On 11092 March 1977, Junichi Uekawa wrote: These bug reports return package names in the following format: xfonts-75dpi-transcoded,xfonts-75dpi which apt-listbugs fails to understand. I'm not quite sure how it should be handled in apt-listbugs or debbugs. (well, barfing out with an error isn't a reasonable reaction, but I'm not quite sure what the correct fix is) Parsing the field and split it by comma. If a tool doesnt support it it should IMO get fixed. -- bye Joerg http://meta.wikimedia.org/wiki/How_to_win_an_argument -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#434507: debbugs SOAP interface returns multiple package names separated with comma.
Hi, These bug reports return package names in the following format: xfonts-75dpi-transcoded,xfonts-75dpi which apt-listbugs fails to understand. This notation has been allowed in debbugs, but it has never been supported too well in any of the interfaces. It's actually supported in all of them; the underlying implementation is the following: =head2 splitpackages splitpackages($pkgs) Split a package string from the status file into a list of package names. =cut sub splitpackages { my $pkgs = shift; return unless defined $pkgs; return map lc, split /[ \t?,()]+/, $pkgs; } [It's in Debbugs/Status.am] Either way, apt-listbugs is broken, so I need to fix it. However, I was expecting an array from debbug SOAP interface rather than a CSV string. I've been thinking over it for a day, and I guess it's fine as it is if it's not going to change. I can translate it in debbugs SOAP interface handler library. regards, junichi -- [EMAIL PROTECTED],netfort.gr.jp} Debian Project -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#434507: debbugs SOAP interface returns multiple package names separated with comma.
On Thu, 26 Jul 2007, Junichi Uekawa wrote: Hi, I found it. http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=nobug=434287 http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=nobug=434286 These bug reports return package names in the following format: xfonts-75dpi-transcoded,xfonts-75dpi which apt-listbugs fails to understand. This notation has been allowed in debbugs, but it has never been supported too well in any of the interfaces. It's actually supported in all of them; the underlying implementation is the following: =head2 splitpackages splitpackages($pkgs) Split a package string from the status file into a list of package names. =cut sub splitpackages { my $pkgs = shift; return unless defined $pkgs; return map lc, split /[ \t?,()]+/, $pkgs; } [It's in Debbugs/Status.pm] Don Armstrong -- As nightfall does not come at once, neither does oppression. In both instances, there is a twilight when everything remains seemingly unchanged. And it is in such twilight that we all must be most aware of change in the air however slight lest we become unwitting victims of the darkness. -- William O. Douglas http://www.donarmstrong.com http://rzlab.ucr.edu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#434507: debbugs SOAP interface returns multiple package names separated with comma.
Hi, I found it. http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=nobug=434287 http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=nobug=434286 These bug reports return package names in the following format: xfonts-75dpi-transcoded,xfonts-75dpi which apt-listbugs fails to understand. This notation has been allowed in debbugs, but it has never been supported too well in any of the interfaces. I'm not quite sure how it should be handled in apt-listbugs or debbugs. (well, barfing out with an error isn't a reasonable reaction, but I'm not quite sure what the correct fix is) regards, junichi -- [EMAIL PROTECTED],netfort.gr.jp} Debian Project -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]