Skip to contentSkip to conversation

docs: add explanation for 'Resolved:'

PATCH In review [email protected] 3 participants 4 messages Mar 11, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: add explanation for 'Resolved:'

From: Denis Mukhin <[email protected]>

'Resolves:' tag may be used if the patch addresses one of the tickets logged via Gitlab to auto-close such ticket when the patch got merged.

Add documentation for the tag.

---
 docs/process/sending-patches.pandoc | 12 ++++++++++++
 1 file changed, 12 insertions(+)
docs/process/sending-patches.pandoc +12 -0
index 2e74c3b57e..9fc3b407ff 100644
@@ -106,6 +106,18 @@ If git was configured as explained earlier, this can be retrieved using
 ``git log --pretty=fixes`` otherwise ``git log --abbrev=12 --oneline`` will
 give the proper tag and commit-id.
 
+### Resolves:
+
+If your patch addresses an issue logged in a GitLab ticket, use the `Resolves:`
+tag followed by the issue link to automatically close the ticket when the patch
+is merged.
+
+    Resolves: <URL>
+
+E.g.:
+
+    Resolves: https://gitlab.com/xen-project/xen/-/issues/185
+
 ### Backport:
 
 A backport tag is an optional tag in the commit message to request a
Signature · 1 line
2.34.1
#1 lore raw
Quoted 11 lines · On Tuesday, March 11th, 2025 at 12:28 AM, [email protected] <[email protected]>…

From: Denis Mukhin [email protected]

'Resolves:' tag may be used if the patch addresses one of the tickets logged via Gitlab to auto-close such ticket when the patch got merged.

Add documentation for the tag.

Whoops, I made a typo in the subject line of the commit message:
s/Resolved/Resolves/

If all looks good, can I ask to fix the typo on commit?

Thanks,
Denis

Quoted 31 lines

---
docs/process/sending-patches.pandoc | 12 ++++++++++++

1 file changed, 12 insertions(+)
docs/process/sending-patches.pandoc +0 -0
index 2e74c3b57e..9fc3b407ff 100644
@@ -106,6 +106,18 @@ If git was configured as explained earlier, this can be retrieved using

git log --pretty=fixes otherwise git log --abbrev=12 --oneline will give the proper tag and commit-id.

docs/process/sending-patches.pandoc +12 -0
+### Resolves:
+
+If your patch addresses an issue logged in a GitLab ticket, use the `Resolves:`
+tag followed by the issue link to automatically close the ticket when the patch
+is merged.
+
+ Resolves: <URL>
 
+
+E.g.:
+
+ Resolves: https://gitlab.com/xen-project/xen/-/issues/185
+

### Backport:

A backport tag is an optional tag in the commit message to request a --
2.34.1

Reviewed-by on v1 1/1
#2 lore raw
In reply to [email protected]
Quoted 8 lines · On 2025-03-11 03:28, [email protected] wrote:

From: Denis Mukhin <[email protected]>

'Resolves:' tag may be used if the patch addresses one of the tickets logged via Gitlab to auto-close such ticket when the patch got merged.

Add documentation for the tag.

With the commit title change,

Quoted 13 lines
---
  docs/process/sending-patches.pandoc | 12 ++++++++++++
  1 file changed, 12 insertions(+)
docs/process/sending-patches.pandoc +1 -0
index 2e74c3b57e..9fc3b407ff 100644
@@ -106,6 +106,18 @@ If git was configured as explained earlier, this can be retrieved using
  ``git log --pretty=fixes`` otherwise ``git log --abbrev=12 --oneline`` will
  give the proper tag and commit-id.
 
+### Resolves:

docs/process/sending-patches.pandoc If git was configured as explained earlier, this can be retrieved using · line 119

Quoted 10 lines
docs/process/sending-patches.pandoc +10 -0
+
+If your patch addresses an issue logged in a GitLab ticket, use the `Resolves:`
+tag followed by the issue link to automatically close the ticket when the patch
+is merged.
+
+    Resolves: <URL>
+
+E.g.:
+
+    Resolves: https://gitlab.com/xen-project/xen/-/issues/185

(I'd find it funny if you created a new issue about documenting "Resolved:" to place as the example.)

Regards,
Jason

#3 lore raw
Quoted 6 lines · Jason Andryuk
Quoted 5 lines · On 2025-03-11 03:28, [email protected] wrote:

From: Denis Mukhin <[email protected]>

'Resolves:' tag may be used if the patch addresses one of the tickets logged via Gitlab to auto-close such ticket when the patch got merged.

Quoted 7 lines
Quoted 3 lines

Add documentation for the tag.

With the commit title change,