summaryrefslogtreecommitdiff
path: root/distbuild/protocol.py
Commit message (Collapse)AuthorAgeFilesLines
* Implement partial distbuildsAdam Coldrick2015-04-021-2/+4
| | | | | | | | | | | | | | In addition to partial builds we also want to be able to do partial distbuilds, and distbuild uses a different codepath. This commit updates the distbuild code to know what to do if a partial build is requested. It only builds up to the latest chunk/stratum that was requested, and displays where to find the artifacts for each of the chunks/strata requested upon completion of the build. The usage is the same as for local builds. Change-Id: I0537f74e2e65c7aefe5e71795f17999e2415fce5
* Use the modern way of the GPL copyright header: URL instead real addressJavier Jardón2015-03-161-2/+1
| | | | Change-Id: I992dc0c1d40f563ade56a833162d409b02be90a0
* Merge branch 'sam/distbuild-build-logs'Sam Thursfield2015-03-111-5/+1
|\ | | | | | | | | Reviewed-By: Adam Coldrick <adam.coldrick@codethink.co.uk> Reviewed-By: Richard Maw <richard.maw@codethink.co.uk>
| * distbuild: Remove the build-steps messageSam Thursfield2015-02-181-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This message was hundreds of kilobytes in size, as it contained a recursive list of dependencies for each artifact in the build graph. It was used in the initiator only to print this message: Build steps in total: 592 This message is now gone. The 'Need to build %d artifacts' build-progress message now indicates the total build steps instead: Need to build 300 artifacts, of 592 total This is a compatible change to the distbuild protocol: old initiators will continue to work as normal with new controllers that don't send the build-steps message.
| * Update copyright yearsSam Thursfield2015-02-181-1/+1
| |
* | Add protocol versioning for distbuild systemsLauren Perry2015-02-251-1/+9
|/
* Fix distbuild to allow passing a commit instead of a named ref to be builtSam Thursfield2014-10-271-4/+15
| | | | | | | | | | | The recent changes to the BuildCommand.build() function caused distbuild to break, because I didn't make the same change to the InitiatorBuildCommand.build() function but did change how it was called. This commit adds the ability to have optional fields in distbuild messages. This is used to add an optional 'original_ref' field, which will get passed to `morph serialise-artifact` by new distbuild controllers, and will be ignored by older ones.
* Fix copyright years of distbuild code.Sam Thursfield2014-09-111-1/+1
|
* Add new step-already-started message to protocolRichard Ipsum2014-04-231-0/+5
|
* Add body and headers to http-request messageRichard Ipsum2014-04-081-0/+2
|
* Add the distbuild libsRichard Ipsum2014-03-211-0/+93