extras-repoclosure rc-run.py,1.17,1.18
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Fri Sep 29 21:02:15 UTC 2006
- Previous message: extras-buildsys/utils ExtrasMultiLib.py, 1.13, NONE ExtrasPushUtils.py, 1.15, NONE extras-push-new, 1.64, NONE extras-repobuild.py, 1.30, NONE extras-repomanage.py, 1.2, NONE extras-repoview.py, 1.14, NONE
- Next message: extras-repoclosure rc-report.py,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/fedora/extras-repoclosure
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10712
Modified Files:
rc-run.py
Log Message:
TODO: make this configurable and see how to combine RepoSupport.py
and Config_*.py
Index: rc-run.py
===================================================================
RCS file: /cvs/fedora/extras-repoclosure/rc-run.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- rc-run.py 20 Sep 2006 12:57:24 -0000 1.17
+++ rc-run.py 29 Sep 2006 21:02:10 -0000 1.18
@@ -15,8 +15,8 @@
sys.path.append('/srv/extras-push/work/extras-repoclosure')
from RepoSupport import RepoSupport
-sys.path.append('/srv/extras-push/work/buildsys-utils')
-from ExtrasPushUtils import *
+sys.path.append('/srv/extras-push/work/buildsys-utils/pushscript')
+import Utils
def makereport():
@@ -32,19 +32,20 @@
rcargs += ('-r %s ' % repoid)
# -n, --newest : yum-utils 0.5
# -d : modified version only
- fix_mdcache_access(workdir,cachedir)
+ Utils.fix_mdcache_access(workdir,cachedir)
rc = os.system('rc-modified -q -d %s -n -c %s %s >> %s' % (cachedir,conffile,rcargs,logfilename))
- fix_mdcache_access(workdir,cachedir)
+ Utils.fix_mdcache_access(workdir,cachedir)
if rc:
return False
return True
# Main.
-signer_gid_check()
+cfg = Utils.load_config_module('Extras')
+Utils.signer_gid_check(cfg.signersgid)
cwd = os.getcwd()
os.chdir(workdir)
-os.umask(signersumask) # only for our /srv environment
+os.umask(cfg.signersumask) # only for our /srv environment
# Delete old log files.
import glob
- Previous message: extras-buildsys/utils ExtrasMultiLib.py, 1.13, NONE ExtrasPushUtils.py, 1.15, NONE extras-push-new, 1.64, NONE extras-repobuild.py, 1.30, NONE extras-repomanage.py, 1.2, NONE extras-repoview.py, 1.14, NONE
- Next message: extras-repoclosure rc-report.py,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list