git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[StGit PATCH] mail: add some commonly used tags to --auto

From
DWDan Williams <dan.j.williams@intel.com>
Date
Dec 3, 2008, 18:51 UTC
Message-ID
<20081203185122.6977.91624.stgit@dwillia2-linux.ch.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 stgit/commands/mail.py |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/stgit/commands/mail.py b/stgit/commands/mail.py
index 72d0133..2dd88c3 100644
--- a/stgit/commands/mail.py
+++ b/stgit/commands/mail.py
@@ -283,8 +283,17 @@ def __get_signers_list(msg):
     acked-by lines in the message.
     """
     addr_list = []
-
-    r = re.compile('^(signed-off-by|acked-by|cc):\s+(.+)$', re.I)
+    tags = '%s|%s|%s|%s|%s|%s|%s' % (
+            'signed-off-by',
+            'acked-by',
+            'cc',
+            'reviewed-by',
+            'reported-by',
+            'tested-by',
+            'reported-and-tested-by')
+    regex = '^(%s):\s+(.+)$' % tags
+
+    r = re.compile(regex, re.I)
     for line in msg.split('\n'):
         m = r.match(line)
         if m:
Message 1 of 1 in “mail: add some commonly used tags to --auto”
  1. mail: add some commonly used tags to --autoDan Williams, Dec 3, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.