コード例 #1
0
ファイル: packageImport.py プロジェクト: flavio/spacewalk
 def __init__(self, batch, backend, caller=None, update_last_modified=0):
     Import.__init__(self, batch, backend)
     self._update_last_modified = update_last_modified
     self.ignoreUploaded = 1
     self.sourceRPMs = {}
     self.groups = {}
     self.checksums = {}
コード例 #2
0
 def __init__(self, batch, backend, caller=None, update_last_modified=0):
     Import.__init__(self, batch, backend)
     self._update_last_modified = update_last_modified
     self.ignoreUploaded = 1
     self.sourceRPMs = {}
     self.groups = {}
     self.checksums = {}
コード例 #3
0
ファイル: kickstartImport.py プロジェクト: flavio/spacewalk
    def __init__(self, batch, backend):
        Import.__init__(self, batch, backend)

        self.channels = {}

        self.kstree_types = {}
        self.ks_install_types = {}
        self.checksums = {}
コード例 #4
0
ファイル: kickstartImport.py プロジェクト: lpramuk/spacewalk
    def __init__(self, batch, backend):
        Import.__init__(self, batch, backend)

        self.channels = {}

        self.kstree_types = {}
        self.ks_install_types = {}
        self.checksums = {}
コード例 #5
0
ファイル: channelImport.py プロジェクト: dewayneHat/spacewalk
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.arches = {}
     self.families = {}
     self.dists = {}
     self.will_commit = 1
     self.releases = {}
     self.channels = {}
     self.checksum_types = {}
コード例 #6
0
ファイル: channelImport.py プロジェクト: vanloswang/spacewalk
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.arches = {}
     self.families = {}
     self.dists = {}
     self.will_commit = 1
     self.releases = {}
     self.channels = {}
     self.checksum_types = {}
コード例 #7
0
    def _processPackage(self, package):
        Import._processPackage(self, package)
        # Fix the arch
        package.arch = 'src'
        package.source_rpm = package['source_rpm']
        sourceRPM = package['source_rpm']
        if not sourceRPM:
            # Should not happen
            raise Exception("Source RPM %s does not exist")
        self.sourceRPMs[sourceRPM] = None
        self.groups[package['package_group']] = None

        checksumTuple = (package['checksum_type'], package['checksum'])
        if checksumTuple not in self.checksums:
            self.checksums[checksumTuple] = None

        sigchecksumTuple = (package['sigchecksum_type'], package['sigchecksum'])
        if sigchecksumTuple not in self.checksums:
            self.checksums[sigchecksumTuple] = None
コード例 #8
0
ファイル: packageImport.py プロジェクト: flavio/spacewalk
    def _processPackage(self, package):
        Import._processPackage(self, package)
        # Fix the arch
        package.arch = 'src'
        package.source_rpm = package['source_rpm']
        sourceRPM = package['source_rpm']
        if not sourceRPM:
            # Should not happen
            raise Exception("Source RPM %s does not exist")
        self.sourceRPMs[sourceRPM] = None
        self.groups[package['package_group']] = None

        checksumTuple = (package['checksum_type'], package['checksum'])
        if checksumTuple not in self.checksums:
            self.checksums[checksumTuple] = None

        sigchecksumTuple = (package['sigchecksum_type'], package['sigchecksum'])
        if sigchecksumTuple not in self.checksums:
            self.checksums[sigchecksumTuple] = None
コード例 #9
0
 def _cleanup_object(self, object):
     Import._cleanup_object(self, object)
     if object.ignored:
         object.id = object.first_package.id
コード例 #10
0
ファイル: orgImport.py プロジェクト: dewayneHat/spacewalk
 def __init__(self, batch, backend, master_label, create_orgs=False):
     Import.__init__(self, batch, backend)
     self.master_label = master_label
     self.create_orgs = create_orgs
     self._create_maps()
コード例 #11
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
コード例 #12
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.arches1 = {}
     self.arches2 = {}
コード例 #13
0
ファイル: packageImport.py プロジェクト: flavio/spacewalk
 def _cleanup_object(self, object):
     Import._cleanup_object(self, object)
     if object.ignored:
         object.id = object.first_package.id
コード例 #14
0
ファイル: archImport.py プロジェクト: aronparsons/spacewalk
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.arches1 = {}
     self.arches2 = {}
コード例 #15
0
ファイル: channelImport.py プロジェクト: vanloswang/spacewalk
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.arches = {}
     self.channels = {}
コード例 #16
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.channel_families = {}
     self.will_commit = 1
コード例 #17
0
ファイル: channelImport.py プロジェクト: dewayneHat/spacewalk
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.arches = {}
     self.channels = {}
コード例 #18
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
コード例 #19
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.channels_to_link = {}
コード例 #20
0
 def __init__(self, batch, backend, master_label, create_orgs=False):
     Import.__init__(self, batch, backend)
     self.master_label = master_label
     self.create_orgs = create_orgs
     self._create_maps()
コード例 #21
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.channels_to_link = {}
コード例 #22
0
ファイル: channelImport.py プロジェクト: bjmingyang/spacewalk
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.channel_families = {}
     self.will_commit = 1