Hi,
I send this patch to the list, don't know how to submit that to gerrit
(since it's not the core project, but dev-tools).
Thanks
Samuel
>From db232dcfc2baec8bd176e93f115c0493f4157f0d Mon Sep 17 00:00:00 2001
From: Samuel Mehrbrodt <[email protected]>
Date: Sat, 20 Jul 2013 14:37:39 +0200
Subject: [PATCH] Improve Gerrit Daily Digest Mail
Put the URL at the end of the line to give focus to the commit message.
Now it looks like this:
+ This is the commit message (Author, https://gerrit.libreoffice.org/1234)
---
gerritbot/send-daily-digest | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gerritbot/send-daily-digest b/gerritbot/send-daily-digest
index 5f8d937..87899b4 100755
--- a/gerritbot/send-daily-digest
+++ b/gerritbot/send-daily-digest
@@ -27,7 +27,7 @@ def get_digest(gerrit, query):
for line in sh.ssh(gerrit, 'gerrit query --format=JSON -- \'%s\'' % query).strip().split('\n'):
change = json.loads(line)
if 'url' in change.keys():
- digest += '+ %s\n in %s from %s\n' % (change['subject'][:73], change['url'], change['owner']['name'])
+ digest += '+ %s (%s, %s)\n' % (change['subject'][:73], change['owner']['name'], change['url'])
if digest == '':
digest = 'None'
return digest
--
1.8.1.2
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice