]> mj.ucw.cz Git - moe.git/blobdiff - submit/PROTOCOL
Added the show-submits utility.
[moe.git] / submit / PROTOCOL
index 7002b5aefbdbf459fb39f55cb219ad7cbb37d1d4..fcd1106b8c6296ecab93c60bff0b54043d041f41 100644 (file)
@@ -25,3 +25,50 @@ Hello request:
 Hello reply:
 
        (only status)
 Hello reply:
 
        (only status)
+
+Submit request:
+
+       !SUBMIT
+       Ttask
+       Ppart                   <-- optional part ID
+       Ssize
+       Xextension
+       (after the request is ACK-ed, the client sends raw data and then server sends a 2nd reply)
+
+Submit reply:
+
+       (only status)
+
+Submit reply after data:
+
+       (only status)
+
+Status request:
+
+       !STATUS
+
+Status reply:
+
+       task status objects defined below with the following added:
+       (T
+               Aallowed_extension
+       )
+
+
+Task status objects
+~~~~~~~~~~~~~~~~~~~
+(T                             <-- task
+       Tname
+       (P                      <-- task part
+               Pname
+               Vid             <-- which version is current
+               (V              <-- submitted version
+                       Vid
+                       Tsubmit_time
+                       Sstatus
+                       Lfilesize
+                       Hhash
+                       Xextension
+               )
+       )
+)