Edgewall Software

Changes between Version 6 and Version 7 of Master Slave Protocol


Ignore:
Timestamp:
Jun 23, 2005, 11:09:56 PM (19 years ago)
Author:
cmlenz
Comment:

Update build initiation messages

Legend:

Unmodified
Added
Removed
Modified
  • Master Slave Protocol

    v6 v7  
    5555If 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.
    5656
     57A 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
     69In this message, the client indicates that it will accept {{{tar}}} archives with {{{bzip2}}} or {{{gzip}}} compression (preferring the former).
     70
     71After having received such a reply, the master can proceed by transmitting a snapshot of the code base to the slave:
     72
    5773{{{
    5874  MSG 1 2 * 0 78
    5975  Content-Type: application/tar
    60   Content-Encoding: gzip
     76  Content-Disposition: myproject-r456.tar
     77  Content-Transfer-Encoding: gzip
    6178 
    6279  ...