Automatically build PPA from launchpad branch upon commit

Asked by Steven Sheehy

Is it possible to have launchpad build a PPA directly from a launchpad bazaar branch without having to upload the source using dput? For example, I would like to have a PPA that represents the latest version from an unstable trunk. Whenever a commit occurs on that trunk, launchpad would automatically use the latest source to kick off a build of its PPA so users can test out the latest changes. This build can occur upon every commit or possibly at some regular interval after trunk has changed if building upon every commit would be too resource intensive.

The only way that I saw to keep the PPA up to date is to manually check out the code to the local computer, make a source tarball, then upload to launchpad using dput. This seems redundant since launchpad already has the source and it seems tedious since developers would have to do this upon every change to their branch.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Julian Edwards
Solved:
Last query:
Last reply:
Revision history for this message
Julian Edwards (julian-edwards) said :
#1

Hi Steven!

What you've just perfectly described is the precise strategy for the Soyuz team for the next 6 months. We plan on doing this in a few phases, but initially we'll have a "build me!" button on a source package branch page which will kick off an operation that will result in a new binary in a PPA.

This will be expanded over time to auto-build these branches so we can produce a "Package of the Day" for testing the tip of someone's trunk.

Thanks for the question!

Revision history for this message
Steven Sheehy (steven-sheehy) said :
#2

That's great news! Is there a blueprint or bug that I can use to track the progress of this functionality?

Revision history for this message
Best Julian Edwards (julian-edwards) said :
#3
Revision history for this message
Steven Sheehy (steven-sheehy) said :
#4

Thanks Julian Edwards, that solved my question.