Changes between Version 6 and Version 7 of Master Slave Protocol
- Timestamp:
- Jun 23, 2005, 11:09:56 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Master Slave Protocol
v6 v7 55 55 If the client accepts a build request by sending a positive reply, the server will transmit a tarball of the code base that is to be built. The client does not need to know which exact revision (or branch) of the project it is building, nor does it need to perform a checkout itself. 56 56 57 A client accepts a build request by responding with a {{{<download>}}}. for example: 58 59 {{{ 60 RPY 1 1 . 0 60 61 Content-Type: application/beep+xml 62 63 <download> 64 <accept type="application/tar" encoding="bzip2"/> 65 <accept type="application/tar" encoding="gzip"/> 66 </download> 67 }}} 68 69 In this message, the client indicates that it will accept {{{tar}}} archives with {{{bzip2}}} or {{{gzip}}} compression (preferring the former). 70 71 After having received such a reply, the master can proceed by transmitting a snapshot of the code base to the slave: 72 57 73 {{{ 58 74 MSG 1 2 * 0 78 59 75 Content-Type: application/tar 60 Content-Encoding: gzip 76 Content-Disposition: myproject-r456.tar 77 Content-Transfer-Encoding: gzip 61 78 62 79 ...