[Libreoffice-commits] dev-tools.git: 4 commits - gerritbot/README gerritbot/send-daily-digest
Bjoern Michaelsen
bjoern.michaelsen at canonical.com
Thu Jun 6 16:40:41 PDT 2013
gerritbot/README | 3 ++-
gerritbot/send-daily-digest | 7 +++----
2 files changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 48370997929e353d3a7eba56994a533607735b32
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date: Fri Jun 7 01:39:10 2013 +0200
fix message
diff --git a/gerritbot/send-daily-digest b/gerritbot/send-daily-digest
index 53edcbd..f18579f 100755
--- a/gerritbot/send-daily-digest
+++ b/gerritbot/send-daily-digest
@@ -65,6 +65,6 @@ if __name__ == '__main__':
parser.add_argument('-g', '--gerrit', help='(i. e. logerrit or gerrit.libreoffice.org, use alias in your ~/.ssh(config with your public key)', required=True)
args=vars(parser.parse_args())
server = smtplib.SMTP('localhost')
- server.sendmail('gerrit at libreoffice.org', 'libreoffice at lists.freedesktop.org', str(message))
+ server.sendmail('gerrit at libreoffice.org', 'libreoffice at lists.freedesktop.org', str(create_message(args['gerrit'], 25)))
server.quit()
# vim: set et sw=4 ts=4:
commit c00d98ee30643de48b6835bc9291c47b537ed6e1
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date: Fri Jun 7 01:36:28 2013 +0200
add sh module to docs
diff --git a/gerritbot/README b/gerritbot/README
index d69f435..cbc7e07 100644
--- a/gerritbot/README
+++ b/gerritbot/README
@@ -8,7 +8,8 @@ To install gerritbot::
* install prerequisites::
- sudo apt-get install python getmail4 procmail
+ sudo apt-get install python getmail4 procmail python-pip
+ sudo pip install sh
* create a user gerritbot and log in as it::
commit 7bddcde70d96785da9ec612ad36cc4ff948c2fb5
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date: Fri Jun 7 01:34:13 2013 +0200
enable mailing for real
diff --git a/gerritbot/send-daily-digest b/gerritbot/send-daily-digest
index 1efbb92..53edcbd 100755
--- a/gerritbot/send-daily-digest
+++ b/gerritbot/send-daily-digest
@@ -64,8 +64,7 @@ if __name__ == '__main__':
parser = argparse.ArgumentParser('gerrit daily digest generator')
parser.add_argument('-g', '--gerrit', help='(i. e. logerrit or gerrit.libreoffice.org, use alias in your ~/.ssh(config with your public key)', required=True)
args=vars(parser.parse_args())
- #server = smtplib.SMTP('localhost')
- #server.sendmail('gerrit at libreoffice.org', 'libreoffice at lists.freedesktop.org', str(message))
- #server.quit()
- print(create_message(args['gerrit'], 25))
+ server = smtplib.SMTP('localhost')
+ server.sendmail('gerrit at libreoffice.org', 'libreoffice at lists.freedesktop.org', str(message))
+ server.quit()
# vim: set et sw=4 ts=4:
commit c4780c053dbd13826602947e6cf373cc7b2833d8
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date: Fri Jun 7 01:33:39 2013 +0200
fix whitespace
diff --git a/gerritbot/send-daily-digest b/gerritbot/send-daily-digest
index e1e9c3f..1efbb92 100755
--- a/gerritbot/send-daily-digest
+++ b/gerritbot/send-daily-digest
@@ -64,8 +64,8 @@ if __name__ == '__main__':
parser = argparse.ArgumentParser('gerrit daily digest generator')
parser.add_argument('-g', '--gerrit', help='(i. e. logerrit or gerrit.libreoffice.org, use alias in your ~/.ssh(config with your public key)', required=True)
args=vars(parser.parse_args())
- #server = smtplib.SMTP('localhost')
+ #server = smtplib.SMTP('localhost')
#server.sendmail('gerrit at libreoffice.org', 'libreoffice at lists.freedesktop.org', str(message))
- #server.quit()
+ #server.quit()
print(create_message(args['gerrit'], 25))
# vim: set et sw=4 ts=4:
More information about the Libreoffice-commits
mailing list