summaryrefslogtreecommitdiffstats
path: root/rpmci-update-config
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-10-03 16:56:42 -0400
committerColin Walters <walters@verbum.org>2010-10-03 16:56:42 -0400
commitaa471079451dc5f54c36ff341830e66bc36f1a97 (patch)
treec76e34538304c65ee66064f3dfe6ac02e329ed2b /rpmci-update-config
parentdb8df4a040883b631ff3c719c453246df9085776 (diff)
downloadrpmci-aa471079451dc5f54c36ff341830e66bc36f1a97.tar.gz
rpmci-aa471079451dc5f54c36ff341830e66bc36f1a97.tar.xz
rpmci-aa471079451dc5f54c36ff341830e66bc36f1a97.zip
Add rpmci-update-config, other bits
Diffstat (limited to 'rpmci-update-config')
-rwxr-xr-xrpmci-update-config20
1 files changed, 20 insertions, 0 deletions
diff --git a/rpmci-update-config b/rpmci-update-config
new file mode 100755
index 0000000..fd53e9d
--- /dev/null
+++ b/rpmci-update-config
@@ -0,0 +1,20 @@
+#!/usr/bin/python
+
+# rpmci-vcs-mirror:
+# Poll set of VCS URLs, caching local repositories
+#
+# Licensed under the new-BSD license (http://www.opensource.org/licenses/bsd-license.php)
+# Copyright (C) 2010 Red Hat, Inc.
+# Written by Colin Walters <walters@verbum.org>
+
+import os
+import sys
+
+if os.path.isdir('.git'):
+ sys.path.insert(0, os.getcwd())
+
+import rpmci
+from rpmci.rpmci_update_config_main import main
+
+if __name__ == '__main__':
+ main()