Bug#639041: PTS mail interface doesn't have an up-to-date list of packages
On Wed, 24 Aug 2011, Giovanni Mascellani wrote:
> Actually I don't know nearly anything of Perl, so I doubt I can
> contribute to that part. The binary <-> source mapping is actually
> already available, it is computed by sources_to_xml.py and then pickled
> and stored in www/base/sources_mapping. It should be easy to store it
> (also) in a format that Perl can import (for example JSON). And it
> should also be easy to instruct Perl to read such file, provided that
> you know Perl.
Or you could directly generate something that uses the same format as
sources.map in www/base/ too and update the path to the file in
> Well, it also means that you can't subscribe to a package by its binary
> name. I tried to subscribe to subscribe to libmodbus5 (binary package
> generated by libmodbus, accepted in unstable on August, 20th): the bot
> replied with the wrong email as before, but also sent me the
> confirmation token. But the confirmation token contained libmodbus5, not
> libmodbus, as "source" package name, so it probably wouldn't be able to
> subscribe me correctly if I answered. For double check, I also tried to
> subscribe to geogebra-gnome (built by geogebra), which has been
> available in unstable since about an year, and it correctly sent a token
> with geogebra in it.
Right, I did not think of this...
> I'll try to have another look at it, but, as I said, I'm not a Perl hacker.
Thanks for your help!
Raphaël Hertzog ◈ Debian Developer
Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)