Esempio n. 1
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 = {}
Esempio n. 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 = {}
Esempio n. 3
0
    def __init__(self, batch, backend):
        Import.__init__(self, batch, backend)

        self.channels = {}

        self.kstree_types = {}
        self.ks_install_types = {}
        self.checksums = {}
Esempio n. 4
0
    def __init__(self, batch, backend):
        Import.__init__(self, batch, backend)

        self.channels = {}

        self.kstree_types = {}
        self.ks_install_types = {}
        self.checksums = {}
Esempio n. 5
0
 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 = {}
Esempio n. 6
0
 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 = {}
Esempio n. 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
Esempio n. 8
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
Esempio n. 9
0
 def _cleanup_object(self, object):
     Import._cleanup_object(self, object)
     if object.ignored:
         object.id = object.first_package.id
Esempio n. 10
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()
Esempio n. 11
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
Esempio n. 12
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.arches1 = {}
     self.arches2 = {}
Esempio n. 13
0
 def _cleanup_object(self, object):
     Import._cleanup_object(self, object)
     if object.ignored:
         object.id = object.first_package.id
Esempio n. 14
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.arches1 = {}
     self.arches2 = {}
Esempio n. 15
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.arches = {}
     self.channels = {}
Esempio n. 16
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.channel_families = {}
     self.will_commit = 1
Esempio n. 17
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.arches = {}
     self.channels = {}
Esempio n. 18
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
Esempio n. 19
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.channels_to_link = {}
Esempio n. 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()
Esempio n. 21
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.channels_to_link = {}
Esempio n. 22
0
 def __init__(self, batch, backend):
     Import.__init__(self, batch, backend)
     self.channel_families = {}
     self.will_commit = 1