doc: tags in tags ref has to match mr and user on server
authorFrantisek Hrbata <frantisek@hrbata.com>
Mon, 21 Dec 2020 11:23:53 +0000 (12:23 +0100)
committerFrantisek Hrbata <frantisek@hrbata.com>
Mon, 21 Dec 2020 12:05:44 +0000 (13:05 +0100)
Signed-off-by: Frantisek Hrbata <frantisek@hrbata.com>
Documentation/git-mr-update.txt

index 3b36b439d227736b720b86bde0a832e189025ec2..4c98078f69f89c9ac20efd5eb7233ad68382301d 100644 (file)
@@ -40,9 +40,9 @@ Following rules are enforced for each user reference.
 * The 'head' ref has to already exist for '<mr-sha-1>'.
 * The 'head' and 'mr' ref have to be in the same user namespace. Meaning they
   have to be created by the same user.
-* The commit it points to has to have the 'tag' file, which is in gimrr's format
-  for tags.
-* The 'tag' file has to contain following tags: M, B, A, C, CC, AN, AE, AT.
+* The commit it points to has to have the 'tags' file, which is in gimrr's
+  format for tags.
+* The 'tags' file has to contain following tags: M, B, A, C, CC, AN, AE, AT.
 * 'A' tag value has to match user on the server.
 * 'M' tag value has to match rev the 'head' ref points to.
 * 'B' tag value has to be ancestor of 'A'.
@@ -50,11 +50,14 @@ Following rules are enforced for each user reference.
 
 . 'refs/mrs/<mr-sha-1>/<user>/tags'
 * The 'head' ref has to already exist for '<mr-sha-1>'.
-* The commit it points to has to have the 'tag' file, which is in gimrr's format
-  for tags.
-* The 'tag' file must not to contain following tags: M, B, A, C, CC, AN, AE, AT.
+* The commit it points to has to have the 'tags' file, which is in gimrr's
+  format for tags.
+* The 'tags' file must not to contain following tags: M, B, A, C, CC, AN, AE,
+  AT.
 * 'S' and 'D' tags can be set only by the MR author. Meaning only user with
   'head' ref in his namespace can set these tags.
+* MR referenced in the 'tags' file has match '<mr-sha-1>'.
+* User referenced in the 'tags' file has to match user on server.
 
 . 'refs/mrs/<mr-sha-1>/<user>/mbox'
 * The 'head' ref has to already exist for '<mr-sha-1>'.