[Pkg-bazaar-maint] builddeb questions

Reinhard Tartler siretart at tauware.de
Sun Jul 1 09:05:58 UTC 2007


James Westby <jw+debian at jameswestby.net> writes:

> On (30/06/07 22:44), Reinhard Tartler wrote:
>> James Westby <jw+debian at jameswestby.net> writes:
>> 
>> > Are you working on a loom plugin at the moment then?
>> 
>> More or less. Actually, I'm rather looking at your specs about importing
>> debian packages. I have the impression with the importing code done
>> right, the loom plugin will be pretty trivial to implement.
>> 
>> Since I'm currently busy with work for at least 2 weeks now, don't count
>> on me in that time :( - At this point, I'd rather try to assist you by
>> reviewing/writing tests for what you are currently working on.
>
> That would be great.
>
> The code is coming along quite well, and so we should be able to offer
> some import functionality in 0.18.
>
> The things that are lacking are the UI, and decisions on tags and things
> like that. They are easy to change, but I would like to try and get them
> right first time.
>
> However I can currently pull in all the versions of a package on
> snapshot.d.n and create a branch out of them. It seems to work quite
> well. I think there should be a --snapshot option to the import-dsc
> command that will supplement all of the dscs you provide with all of the
> ones on snapshot.d.n.

Wow. That would be really great. 

> Is there a Ubuntu service like this that I can add support for, or any
> others that you know about?

Yes, launchpad has all uploaded versions of packages available, but we
would need to do some html scraping:

look at https://launchpad.net/ubuntu/+source/bzr-builddeb, there you
have a list of all historic versions of bzr-builddeb launchpad knows
about. In order to get the source packages, you need to klick on the
'version' link:

https://launchpad.net/ubuntu/+source/bzr-builddeb/0.15~rc1ubuntu1

At the bottom, you see the 2 links to the source package to that
particular version:

http://launchpadlibrarian.net/7498842/bzr-builddeb_0.15%7Erc1ubuntu1.tar.gz
http://launchpadlibrarian.net/7498843/bzr-builddeb_0.15%7Erc1ubuntu1.dsc

You see that the source packages are not dget'able :(


The html doesn't look too easy to parse. Another project which scrapes
launchpad's html for bugs, bughlper [1,2,3] has the same problem as
well. They seem to sanitize the html before parsing [4]...

[1] https://launchpad.net/bughelper
[2] https://code.launchpad.net/bughelper
[3] https://code.launchpad.net/~bughelper-dev/python-launchpad-bugs/main
[4] http://codebrowse.launchpad.net/~bughelper-dev/python-launchpad-bugs/main/annotate/daniel.holbach%40ubuntu.com-20070621113208-8gorj6m1d2tg3rqn?file_id=htmloperations.py-20070420081525-1p9hbme73f0thzdr-14

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



More information about the Pkg-bazaar-maint mailing list