Changes between Version 3 and Version 4 of Master Slave Protocol Http
- Timestamp:
- Jul 24, 2007, 2:15:53 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Master Slave Protocol Http
v3 v4 2 2 [[PageOutline(2)]] 3 3 4 This is a proposal for an HTTP-based protocol enabling communication between the build master and various build slaves. The protocol presented here is not final yet , nor is it implemented. Just throwing ideas out there, basically.4 This is a proposal for an HTTP-based protocol enabling communication between the build master and various build slaves. The protocol presented here is not final yet. Implementation has been started on the [source:sandbox/http] branch. 5 5 6 6 == Comparison to the Previous BEEP Protocol == … … 25 25 {{{ 26 26 #!xml 27 POST /build / HTTP/1.127 POST /builds/ HTTP/1.1 28 28 Host: example.org 29 29 Content-Type: application/x-bitten+xml … … 42 42 #!xml 43 43 HTTP/1.1 201 Created 44 Location: http://example.org/build /trunk/123/44 Location: http://example.org/builds/trunk/123/ 45 45 }}} 46 46 … … 60 60 {{{ 61 61 #!xml 62 GET /build /trunk/123/ HTTP/1.162 GET /builds/trunk/123/ HTTP/1.1 63 63 Host: example.org 64 64 Accept: application/x-bitten+xml … … 89 89 The first element in a build recipe must be the `<checkout>` element containing the information necessary for the slave to perform a checkout from the version control repository. 90 90 91 ''Open issue: should `<checkout>` be a normal `<step>`, e.g.:'' 92 {{{ 93 #!xml 94 <step id="checkout"> 95 <svn:checkout repos="http://svn.example.org/" rev="$revision" path="$path" /> 96 </step> 97 }}} 98 91 99 == Build Reporting == 92 100 … … 99 107 {{{ 100 108 #!xml 101 PUT /build /trunk/123/steps/test/ HTTP/1.1109 PUT /builds/trunk/123/steps/test/ HTTP/1.1 102 110 Host: example.org 103 111 … … 124 132 {{{ 125 133 #!xml 126 PUT /build /trunk/123/files/foobar-r123.tar.gz HTTP/1.1134 PUT /builds/trunk/123/files/foobar-r123.tar.gz HTTP/1.1 127 135 Host: example.org 128 136 Content-Type: application/tar