nicholasdavidson / pybit

Python Build Integration Toolkit - a distributed cross platform AMQP based build system
17 stars 5 forks source link

Update build-client to handle new SuiteArch / Environment relationship #117

Closed nicholasdavidson closed 11 years ago

nicholasdavidson commented 11 years ago

In issue #114 we decided to extend and make explicit the relationship between the build environment and the target suite.

Currently this is handled by aliases in schroot or sbuild itself, we would like to make this explicit and it will require changes to the client.

The plan is that when we send a job without a defined environment we simply map as we currently to do suite arch such as i386-development but when environment is defined we not only use an explicit relationship squeeze-i386-development but also use the sbuild distribution handling mechanism to hook debchange so that we can send to a target disitribution in reprepro. For example squeeze-development.

ghost commented 11 years ago

Slight typo, what was discussed was that sbuild passes the relevant suite and development to dpkg-genchanges so that the debian/changelog won't be affected (as debchange would do) but the .changes file will list the environment based suite.

This allows a package from an "illgill" release to be built in a squeeze build environment (a schroot called squeeze-illgill which has apt sources for squeeze and illgill) whilst also allowing a build request for the same, unchanged, source code to be built in a wheezy build environment.