[debexpo-devel] implement autobuilders
ondrej at certik.cz
Sun Feb 1 20:39:47 CET 2009
On Sun, Feb 1, 2009 at 10:10 AM, Jonny Lamb <jonny at debian.org> wrote:
> On Sat, Jan 31, 22:45:12 -0800, Ondrej Certik wrote:
>> for debian.mentors it is maybe not so interesting, but for my own
>> hosting of debexpo, I'd like to only allow to upload source packages,
>> but then build them automatically.
>> How should this be implemented? As a new plugin?
> Yes. Write a post-upload plugin to call sbuild or whatever. It should be
> fairly trivial, except looking at the code now, I reckon you'll have to
> modify the plugin code to get you in a temporary directory for the
> Hm, maybe it won't be so trivial. All the other plugins don't actually
> touch the actually uploaded package, but this one will. The thing is, in
> debexpo, you either upload a source package, or upload a binary package.
> It wouldn't be too difficult to trick the importer so although you upload
> a source package, it gets built and then gets "converted" into a binary
> package. This is fine, but then you'd need to modify the changes file,
> and as a result any GPG sign will be wrong.
> This is one to ponder over. Feel free to throw some early code to the
> list for review or questions.
Well, I don't want to build it on the server that runs debexpo. Also I
want to have a builder for both i386 and amd64, so I will run it on 2
So my idea was that debexpo will have some special easy to parse page
that will export all packages that need building and my autobuilder
will just periodically poll the page and build the package and upload
the built package back to debexpo. Debexpo will have to be fixed to
accept the binary package from autobuilders and add it to the archive.
What do you think?
More information about the debexpo-devel