extras-buildsys/utils extras-push-new,1.47,1.48

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Sun Aug 20 12:41:09 UTC 2006


Author: mschwendt

Update of /cvs/fedora/extras-buildsys/utils
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1670

Modified Files:
	extras-push-new 
Log Message:
- make extras-push-new use the module



Index: extras-push-new
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/extras-push-new,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- extras-push-new	26 Jul 2006 21:04:38 -0000	1.47
+++ extras-push-new	20 Aug 2006 12:41:06 -0000	1.48
@@ -24,16 +24,14 @@
 import tempfile
 import time
 
+sys.path.append('/srv/extras-push/work/extras-buildsys/utils')
+from ExtrasPushUtils import *
+
 DEBUG = False
 
 signersgid = 100581  # signers group
 signkeyname = 'extras at fedoraproject.org'
 
-distro = 'fedora'
-project = 'extras'
-
-stagesdir = '/srv/rpmbuild/repodir'
-treedir = '/srv/rpmbuild/%s/tree/%s' % (project, project)
 # Where we store mails to be sent and our main lockfile.
 rundir = '/srv/rpmbuild/extras-push-rundir'
 
@@ -67,14 +65,6 @@
     excludearch_for_noarch = True
     upgradecheck = True
 
-alldists = [ '5', '4', '3', 'development' ] # also the order in build reports
-
-archdict = { '3' : ['x86_64', 'i386'], 
-             '4' : ['ppc','x86_64', 'i386'],
-             '5' : ['ppc','x86_64', 'i386'],
-             'development' : ['ppc','x86_64','i386'],
-             }
-
 # Note: *no* depsolving is done for these.
 copydict = { 'wine.i386': ['x86_64'],
              'wine-arts.i386': ['x86_64'],
@@ -97,23 +87,6 @@
 ts = rpmUtils.transaction.initReadOnlyTransaction()
 
 
-def debugprint(msg):
-    if DEBUG:
-        print msg
-        
-
-def run_and_check(cmd):
-    debugprint('DEBUG: %s' % cmd)
-    if DEBUG:
-        return
-    result = os.system(cmd)
-    if result != 0:
-        print >> sys.stderr, 'Error running command: %s ' % cmd
-        if result > 127:
-            sys.exit(1)
-        sys.exit(result)
-
-
 class LockFile:
 
     def __init__(self, name, blocking=False):




More information about the scm-commits mailing list