Re: binary -> source mapping file from the BTS
On Mon, 20 Sep 2010, Joerg Jaspert wrote:
> > This is what the code in binary_to_source does that we expose via
> > SOAP, and it uses the binsrc.idx bdb database file, which you can
> > rsync directly from the BTS
> > (rsync://bugs-mirror.debian.org/bts-versions/indices/binsrc.idx). [You
> > should also be able to directly rsync the sources file using
> > rsync://bugs-mirror.debian.org/bts-spool-indexes/sources .]
> This sounds like it entirely should be a file provided by dak, not by
> the BTS.
> There are various files we have that list various relations. One is
> pkg-file-mapping used by snapshot, then whatever the bts is using,
> but whatever, this should be exported by us if another service needs
> it. After all we are the canonical location for that kind of data.
> So, what exactly do you need?
It would be ideal if dak could provide it, but I'm not sure if dak has
the historical data required to generate that file.
Basically, it's just a mapping of the (binary,arch,version) triple to
the (source,version) double for all packages debian has distributed in
a very long time. [That's what the BTS needs.]
I'm not sure exactly what qa.debian.org needs, but I'm assuming it's
similar to what the BTS requires.
Build a fire for a man, an he'll be warm for a day. Set a man on
fire, and he'll be warm for the rest of his life.
-- Jules Bean