[misc] 02/02: Skip some commit messages.

Chris Lamb chris at chris-lamb.co.uk
Sun Jul 30 08:41:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository misc.

commit 929009e7a4580c6441d7aa278ce5fef9effb589f
Author: Chris Lamb <lamby at debian.org>
Date:   Sun Jul 30 09:41:09 2017 +0100

    Skip some commit messages.
---
 reports/bin/generate-draft | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/reports/bin/generate-draft b/reports/bin/generate-draft
index 3ce35dc..2695f8a 100755
--- a/reports/bin/generate-draft
+++ b/reports/bin/generate-draft
@@ -1,6 +1,7 @@
 #!/usr/bin/env python3
 
 import os
+import re
 import sys
 import time
 import jinja2
@@ -247,6 +248,14 @@ def commits(week_start, week_end, project, path='.'):
     for x in output.splitlines():
         author, sha, title = x.split('\t', 2)
 
+        for pattern in (
+            r'^--fix-deterministic$',
+            r'^Add missing usertagged bugs$',
+            r'^Remove archived bugs$',
+        ):
+            if re.search(patterm, title) is not None:
+                continue
+
         result[author].append({
             'sha': sha,
             'title': title.replace('_', '\_'),

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list