One of theÂ things that Launchpad is working on is the daily builds project, where we take a source branch, a recipe and turn it into a source package that can be built.
It turns out that this is quite hard because you need a secure environment to run the Bazaar recipe builder in.Â Fortunately we already have the Launchpad Build Farm!Â So, on January 11th the Soyuz and Codehosting teams, plus Launchpad Strategist Jono Lange and community contributor William Grant all met at the West Plaza Hotel in Wellington, New Zealand for a week-long coding sprint with the goal of getting a recipe build job through the build farm before the week was out.
The amount of work was pretty sizeable, but we’d already done quite a lot of preparatory work before leaving so that non-Soyuz developers could get involved from day one.
We split the task into a few areas:
- Writing the code that runs on the build slave itself
- Job dispatching
- Job collection
- Job candidate selection
- Creating a generalised build infrastructure to make it easy to plug in new job types
The team split into coding pairs that mostly lasted the week and there were no bloodied noses!Â We had a strict rule that no pair could contain two people from the same Launchpad team, so that we could spread the knowledge around better.Â This worked out really well.
The local coffee shop certainly had plenty of custom that week!Â But by the end of it, on Friday afternoon at about 5:45pm, we finally got a recipe build job to run through a local Launchpad instance on William’s laptop and eventually turned into a binary package.Â Success!
We’ll be building on this work in the next couple of months so that it has a UI that will allow a user to click on a branch and get it built and uploaded to their PPA.Â It’s all very cool!
Finally, huge thanks to everyone involved, including the hotel.Â It was the best wifi/internet anyone had ever had at any hotel, ever.
Build from branch…
At the moment I am returning home after three very productive and awesome weeks in Wellington, Sydney and Strasbourg. I spent the first week in the West Plaza in Wellington, working together with fellow Launchpad developers on getting the basics of bui…
[…] in launchpad A few weeks ago at our Launchpad BuildFromBranch sprint, I gave a brief overview of the process I use when doing a significant design change – […]