aboutsummaryrefslogtreecommitdiff
path: root/old/ls-projects2gerrit.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2011-12-08 18:30:56 +0200
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2011-12-08 18:30:56 +0200
commitc18307a8ab0506e045a83a518ea18cc9ce70fe55 (patch)
treebd722fb0f3ed5c37d2148364ce2afea974dee0da /old/ls-projects2gerrit.py
parent4524cb7dd1f9cbe0caf021a561daefa06b32d3b3 (diff)
Move older utilities to old/ .
Keep them around for some time yet.
Diffstat (limited to 'old/ls-projects2gerrit.py')
-rw-r--r--old/ls-projects2gerrit.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/old/ls-projects2gerrit.py b/old/ls-projects2gerrit.py
new file mode 100644
index 0000000..d1307d3
--- /dev/null
+++ b/old/ls-projects2gerrit.py
@@ -0,0 +1,9 @@
+import sys
+from xml.dom import minidom
+
+from config import *
+
+
+f = open(sys.argv[1])
+for l in f:
+ print "ssh -p %d %s gerrit create-project --name %s" % (GERRIT_PORT, GERRIT_HOST, l.strip())