[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

extras-buildsys/client buildclient.py,1.4,1.5



Author: dcbw

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

Modified Files:
	buildclient.py 
Log Message:
2005-06-09  Dan Williams <dcbw redhat com>

    * client/buildclient.py
        - Add sparc32 and sparc64 bits

2005-06-09  Dan Williams <dcbw redhat com>

    * common/FileDownloader.py
        - Don't traceback on refused or dropped connections




Index: buildclient.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/client/buildclient.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- buildclient.py	9 Jun 2005 18:14:26 -0000	1.4
+++ buildclient.py	10 Jun 2005 01:35:33 -0000	1.5
@@ -141,6 +141,10 @@
                         print "Bad status %s encountered!" % self._status
                 elif exit_status > 0:
                     print "%s: job failed! mock exit status was %d\n" % (self._uniqid, exit_status)
+                    print "---------------------------------"
+                    for line in self._pobj.fromchild:
+                        print line
+                    print "---------------------------------"
                     self._status = 'failed'
                     self._files = self._find_files()
                 else:
@@ -202,9 +206,22 @@
         self.arch_command = ''
         BuildClientMach.__init__(self, uniqid, target, srpm_url)
 
+class SparcArch(BuildClientMach):
+    def __init__(self, uniqid, target, buildarch, srpm_url):
+        self.buildroot = '%s-%s-sparc-%s' % (CONFIG.get('distro_name'), target, CONFIG.get('repo_name'))
+        self.buildarch = buildarch
+        self.arch_command = '/usr/bin/sparc32'
+        BuildClientMach.__init__(self, uniqid, target, srpm_url)
+
+class Sparc64Arch(BuildClientMach):
+    def __init__(self, uniqid, target, buildarch, srpm_url):
+        self.buildroot = '%s-%s-sparc64-%s' % (CONFIG.get('distro_name'), target, CONFIG.get('repo_name'))
+        self.buildarch = buildarch
+        self.arch_command = '/usr/bin/sparc64'
+        BuildClientMach.__init__(self, uniqid, target, srpm_url)
 
 # Keep this global scope, used in __main__
-builder_dict = { 'i386':i386Arch,
+builder_dict = {'i386':i386Arch,
                 'i486':i386Arch,
                 'i586':i386Arch,
                 'i686':i386Arch,
@@ -215,6 +232,8 @@
                 'ppc':PPCArch,
                 'ppc32':PPCArch,
                 'ppc64':PPC64Arch,
+                'sparc':SparcArch,
+                'sparc64':Sparc64Arch
                }
 
 def getBuildClient(uniqid, target, buildarch, srpm_url, localarches):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]