From aa471079451dc5f54c36ff341830e66bc36f1a97 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sun, 3 Oct 2010 16:56:42 -0400 Subject: Add rpmci-update-config, other bits --- rpmci-update-config | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 rpmci-update-config (limited to 'rpmci-update-config') 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 + +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() -- cgit