[sysadmin-bin] Only track commits made against official GNOME modules
- From: Andrea Veri <averi src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Only track commits made against official GNOME modules
- Date: Tue, 29 May 2018 19:19:49 +0000 (UTC)
commit 9a1c9101010da39a57a481f62c62a406162c10c8
Author: Andrea Veri <averi redhat com>
Date: Tue May 29 21:19:35 2018 +0200
Only track commits made against official GNOME modules
cleanup-inactive-ldap-accounts.py | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/cleanup-inactive-ldap-accounts.py b/cleanup-inactive-ldap-accounts.py
index 3ef69dd..9d80174 100755
--- a/cleanup-inactive-ldap-accounts.py
+++ b/cleanup-inactive-ldap-accounts.py
@@ -32,15 +32,12 @@ if socket.gethostname() != 'gitlab.gnome.org':
print ("You are not allowed to run this script on a different host than git.gnome.org, exiting...",
end='\n')
sys.exit(1)
-gnome_repositories = filter( lambda f: not f.endswith('wiki.git'), os.listdir('%s/GNOME' % GL_PATH))
-infra_repositories = filter( lambda f: not f.endswith('wiki.git'), os.listdir('%s/Infrastructure' % GL_PATH))
-repositories = gnome_repositories + infra_repositories
-
+repositories = filter( lambda f: not f.endswith('wiki.git'), os.listdir('%s/GNOME' % GL_PATH))
last_pushed_times = {}
for repository in repositories:
- pushlog = open('/git/%s/gnome_pushlog' % repository, 'r')
+ pushlog = open('%s/%s/gnome_pushlog' % (GL_PATH, repository), 'r')
for line in pushlog.readlines():
fields = line.rstrip().split('\t')
username = fields[3]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]