releng r1018 - trunk/tools
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: releng r1018 - trunk/tools
- Date: Fri, 21 Nov 2008 16:32:43 +0000 (UTC)
Author: vuntz
Date: Fri Nov 21 16:32:43 2008
New Revision: 1018
URL: http://svn.gnome.org/viewvc/releng?rev=1018&view=rev
Log:
2008-11-21 Vincent Untz <vuntz gnome org>
* mail-maintainers.py: make the jhbuild moduleset more visible and add
a comment about updating it before running the script.
Modified:
trunk/tools/ChangeLog
trunk/tools/mail-maintainers.py
Modified: trunk/tools/mail-maintainers.py
==============================================================================
--- trunk/tools/mail-maintainers.py (original)
+++ trunk/tools/mail-maintainers.py Fri Nov 21 16:32:43 2008
@@ -40,9 +40,11 @@
# ./mail-maintainers.py -m gnome-utils --force-maintainers=cosimoc \
# roadmap-call-to-update.txt
#
-# Note:
-# You should run this script on a machine that can connect to
-# the LDAP server
+# Notes:
+# + You should run this script on a machine that can connect to
+# the LDAP server
+# + You should check that MODULESET_URL points to the current jhbuild
+# moduleset.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -74,6 +76,7 @@
SENDMAIL = '/usr/sbin/sendmail'
LDAP_URL = 'ldap://ldap-back'
+MODULESET_URL = 'http://svn.gnome.org/svn/jhbuild/trunk/modulesets/gnome-suites-2.26.modules'
def sendmail(mssg):
if options.simulate:
@@ -150,8 +153,7 @@
if options.modules:
modules = options.modules.split(',')
else:
- suites = ET.parse(urllib2.urlopen(
- 'http://svn.gnome.org/svn/jhbuild/trunk/modulesets/gnome-suites-2.26.modules'))
+ suites = ET.parse(urllib2.urlopen(MODULESET_URL))
modules = [x.attrib.get('id') for x in suites.getroot().getchildren() \
if x.tag not in ('repository', 'metamodule', 'include')]
if options.blacklist:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]