[debexpo-devel] implement autobuilders

Jonny Lamb jonny at debian.org
Sun Feb 1 19:10:26 CET 2009


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
build.

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.

-- 
Jonny Lamb, UK
jonny at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://workaround.org/pipermail/debexpo-devel/attachments/20090201/3ecdc08e/attachment.pgp>


More information about the debexpo-devel mailing list