rem stringlengths 1 322k | add stringlengths 0 2.05M | context stringlengths 4 228k | meta stringlengths 156 215 |
|---|---|---|---|
key = (binary, None, None, arch) | key = (binary, arch) | def doop_source(self, pkg): | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
key = (j[0], j[1], j[2], arch) | key = (j[0], arch) | def doop_source(self, pkg): | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
key = (j[0], j[1], j[2], arch) | key = (j[0], arch) | def doop_source(self, pkg): | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
key = (p, None, None, arch) | key = (p, arch) | def doop_source(self, pkg): | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
key = (j[0], j[1], j[2], arch) | key = (j[0], arch) | def doop_source(self, pkg): | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
broken = [] for arch in self.options.architectures: | for arch in ("/" in pkg and (pkg.split("/")[1],) or self.options.architectures): | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
for p in filter(lambda x: x[3] == arch, affected): | for p in filter(lambda x: x[1] == arch, affected): | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
nuninst[arch] = sorted(broken) if len(nuninst[arch]) > 0: | for b in broken: if b not in nuninst[arch]: nuninst[arch].append(b) if len(nuninst[arch]) > len(nuninst_comp[arch]): | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
nuninst_new = nuninst_comp | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py | |
output.write(" now: %s\n" % (self.eval_nuninst(nuninst_new))) | output.write(" now: %s\n" % (self.eval_nuninst(nuninst))) | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
nuninst_comp = nuninst_new | for k in nuninst: nuninst_comp[k] = nuninst[k] | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
output.write(" got: %s\n" % self.eval_nuninst(nuninst, self.nuninst_orig)) output.write(" * %s: %s\n" % (arch, ", ".join(nuninst[arch]))) | output.write(" got: %s\n" % (self.eval_nuninst(nuninst, "/" in pkg and self.nuninst_orig or None))) output.write(" * %s: %s\n" % (arch, ", ".join(sorted(broken)))) | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
def do_all(self, output): | def do_all(self, output, maxdepth=0, init=None): | def do_all(self, output): nuninst_start = self.get_nuninst() output.write("start: %s\n" % self.eval_nuninst(nuninst_start)) output.write("orig: %s\n" % self.eval_nuninst(nuninst_start)) self.selected = [] self.nuninst_orig = nuninst_start self.iter_packages(self.upgrade_me, output) | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
self.iter_packages(self.upgrade_me, output) | (nuninst_end, extra) = self.iter_packages(self.upgrade_me, output) if nuninst_end: output.write("final: %s\n" % ",".join(self.selected)) output.write("start: %s\n" % self.eval_nuninst(nuninst_start)) output.write(" orig: %s\n" % self.eval_nuninst(self.nuninst_orig)) output.write(" end: %s\n" % self.eval_nuninst(nunin... | def do_all(self, output): nuninst_start = self.get_nuninst() output.write("start: %s\n" % self.eval_nuninst(nuninst_start)) output.write("orig: %s\n" % self.eval_nuninst(nuninst_start)) self.selected = [] self.nuninst_orig = nuninst_start self.iter_packages(self.upgrade_me, output) | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
if not system[source][1]: | if not system[source][1][0]: | def handle_conflict(pkg, source, system, conflicts): # reached the top of the tree if not system[source][1]: return False # remove its conflicts unregister_conflicts(source, conflicts) # if there are alternatives, try them alternatives = system[source][0] for alt in alternatives: if satisfy(alt, [x for x in alternative... | 66d643e1aca44644f68289990acfd7ef3eaca045 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/66d643e1aca44644f68289990acfd7ef3eaca045/britney.py |
if pkg in binaries[1]: | if pkg_from and pkg in binaries[1]: | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: if type(pkg_from) == list: system[pkg][1].extend(pkg_from) else: system[pkg][1].append(pkg_from) system[pk... | 66d643e1aca44644f68289990acfd7ef3eaca045 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/66d643e1aca44644f68289990acfd7ef3eaca045/britney.py |
system[p] = ([], [pkg]) | if p in system: if system[p][1][0] == None: continue system[p][1].append(pkg) else: system[p] = ([], [pkg]) | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: if type(pkg_from) == list: system[pkg][1].extend(pkg_from) else: system[pkg][1].append(pkg_from) system[pk... | 66d643e1aca44644f68289990acfd7ef3eaca045 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/66d643e1aca44644f68289990acfd7ef3eaca045/britney.py |
if conflicting not in binary_u['provides'] and ( \ op == '' and version == '' or check_depends(binary_u['version'], op, version)): | if conflicting in binary_u['provides'] and system[conflicting][1] == [pkg]: continue if op == '' and version == '' or check_depends(binary_u['version'], op, version): | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: if type(pkg_from) == list: system[pkg][1].extend(pkg_from) else: system[pkg][1].append(pkg_from) system[pk... | 66d643e1aca44644f68289990acfd7ef3eaca045 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/66d643e1aca44644f68289990acfd7ef3eaca045/britney.py |
if name in broken: continue | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: if type(pkg_from) == list: system[pkg][1].extend(pkg_from) else: system[pkg][1].append(pkg_from) system[pk... | 66d643e1aca44644f68289990acfd7ef3eaca045 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/66d643e1aca44644f68289990acfd7ef3eaca045/britney.py | |
if len(nuninst[arch]) > len(nuninst_comp[arch]): | if arch not in self.options.break_arches and \ len(nuninst[arch]) > len(nuninst_comp[arch]): | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | b6b677620b2e8f8dff3d71fa4da17fcf1fb1d679 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b6b677620b2e8f8dff3d71fa4da17fcf1fb1d679/britney.py |
", ".join(nuninst[arch])) | ", ".join(sorted(nuninst[arch]))) | def eval_uninst(self, nuninst): res = "" for arch in self.options.architectures: if arch in nuninst and nuninst[arch] != []: res = res + " * %s: %s\n" % (arch, ", ".join(nuninst[arch])) return res | e81aa4250bd0ff95a418b09096e22c47f1f3d469 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/e81aa4250bd0ff95a418b09096e22c47f1f3d469/britney.py |
nuninst[arch] = nuninst_comp[arch][:] | nuninst[arch] = [x for x in nuninst_comp[arch] if x in binaries[arch][0]] | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | e81aa4250bd0ff95a418b09096e22c47f1f3d469 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/e81aa4250bd0ff95a418b09096e22c47f1f3d469/britney.py |
output.write(" got: %s\n" % (self.eval_nuninst(nuninst, "/" in pkg and self.nuninst_orig or None))) output.write(" * %s: %s\n" % (arch, ", ".join(sorted(broken)))) | output.write(" got: %s\n" % (self.eval_nuninst(nuninst, "/" in pkg and nuninst_comp or None))) output.write(" * %s: %s\n" % (arch, ", ".join(sorted([b for b in broken if b not in nuninst_comp[arch]])))) | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | e81aa4250bd0ff95a418b09096e22c47f1f3d469 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/e81aa4250bd0ff95a418b09096e22c47f1f3d469/britney.py |
selected = self.selected | selected = self.selected[:] | def do_all(self, maxdepth=0, init=None, actions=None): """Testing update runner | d966ada77be00e81ee34250d93c42554603809ca /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d966ada77be00e81ee34250d93c42554603809ca/britney.py |
strict = not self.options.compatible | strict = True | def excuse_unsat_deps(self, pkg, src, arch, suite, excuse, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | 6078ef1c2df4fa8d7b5c32860b524c56b14d80a3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6078ef1c2df4fa8d7b5c32860b524c56b14d80a3/britney.py |
for i in provides[a[0]]: | for i in provides.get(a[0]): | def register_reverses(self, pkg, packages, provides, check_doubles=True, parse_depends=apt_pkg.ParseDepends): """Register reverse dependencies and conflicts for the specified package | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
if name in binaries[0] and name not in excluded: | if name not in excluded and name in binaries[0]: | def get_dependency_solvers(self, block, arch, distribution, excluded=[], strict=False): """Find the packages which satisfy a dependency block | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
if name in binaries[1]: for prov in binaries[1][name]: if prov in excluded or \ prov not in binaries[0]: continue package = binaries[0][prov] if op == '' and version == '' or not strict and apt_pkg.CheckDep(package['version'], op, version): packages.append(prov) break | for prov in binaries[1].get(name, []): if prov in excluded or \ prov not in binaries[0]: continue package = binaries[0][prov] if op == '' and version == '' or not strict and apt_pkg.CheckDep(package['version'], op, version): packages.append(prov) break | def get_dependency_solvers(self, block, arch, distribution, excluded=[], strict=False): """Find the packages which satisfy a dependency block | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
elif excuse == None: return False | def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py | |
if not excuse and conflicts: | if conflicts: | def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
for block in map(operator.itemgetter(0), parse_depends(binary_u['conflicts'])): | for block in map(operator.itemgetter(0), parse_depends(binary_u.get('conflicts', []))): | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
def should_remove_source(self, pkg): """Check if a source package should be removed from testing This method checks if a source package should be removed from the testing distribution; this happen if the source package is not present in the unstable distribution anymore. It returns True if the package can be remo... | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py | |
if pkg_name in self.sources['testing']: source = self.sources['testing'][pkg_name] | if pkg_name in sources['testing']: source = sources['testing'][pkg_name] | def doop_source(self, pkg): | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
undo['binaries'][p] = self.binaries['testing'][arch][0][binary] for j in self.binaries['testing'][arch][0][binary]['rdepends']: | undo['binaries'][p] = binaries[arch][0][binary] for j in binaries[arch][0][binary]['rdepends']: | def doop_source(self, pkg): | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
for j in self.binaries['testing'][arch][0][binary]['provides']: | for j in binaries[arch][0][binary]['provides']: | def doop_source(self, pkg): | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
undo['virtual'][j + "/" + arch] = self.binaries['testing'][arch][1][j][:] self.binaries['testing'][arch][1][j].remove(binary) if len(self.binaries['testing'][arch][1][j]) == 0: del self.binaries['testing'][arch][1][j] del self.binaries['testing'][arch][0][binary] | undo['virtual'][j + "/" + arch] = binaries[arch][1][j][:] binaries[arch][1][j].remove(binary) if len(binaries[arch][1][j]) == 0: del binaries[arch][1][j] del binaries[arch][0][binary] | def doop_source(self, pkg): | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
del self.sources['testing'][pkg_name] | del sources['testing'][pkg_name] | def doop_source(self, pkg): | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
if pkg_name in self.binaries['testing'][arch][0]: for j in self.binaries['testing'][arch][0][pkg_name]['rdepends']: | if pkg_name in binaries[arch][0]: for j in binaries[arch][0][pkg_name]['rdepends']: | def doop_source(self, pkg): | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
source = self.sources[suite][pkg_name] | source = sources[suite][pkg_name] | def doop_source(self, pkg): | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
if binary in self.binaries['testing'][arch][0]: undo['binaries'][p] = self.binaries['testing'][arch][0][binary] for j in self.binaries['testing'][arch][0][binary]['rdepends']: | if binary in binaries[arch][0]: undo['binaries'][p] = binaries[arch][0][binary] for j in binaries[arch][0][binary]['rdepends']: | def doop_source(self, pkg): | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
for j in self.binaries['testing'][arch][0][binary]['rconflicts']: | for j in binaries[arch][0][binary]['rconflicts']: | def doop_source(self, pkg): | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
self.binaries['testing'][arch][0][binary] = self.binaries[suite][arch][0][binary] for j in self.binaries['testing'][arch][0][binary]['provides']: if j not in self.binaries['testing'][arch][1]: | binaries[arch][0][binary] = self.binaries[suite][arch][0][binary] for j in binaries[arch][0][binary]['provides']: if j not in binaries[arch][1]: | def doop_source(self, pkg): | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
self.binaries['testing'][arch][1][j] = [] | binaries[arch][1][j] = [] | def doop_source(self, pkg): | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
undo['virtual'][j + "/" + arch] = self.binaries['testing'][arch][1][j][:] self.binaries['testing'][arch][1][j].append(binary) for j in self.binaries['testing'][arch][0][binary]['rdepends']: | undo['virtual'][j + "/" + arch] = binaries[arch][1][j][:] binaries[arch][1][j].append(binary) for j in binaries[arch][0][binary]['rdepends']: | def doop_source(self, pkg): | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
self.register_reverses(binary, self.binaries['testing'][arch][0] , self.binaries['testing'][arch][1]) self.sources['testing'][pkg_name] = self.sources[suite][pkg_name] | self.register_reverses(binary, binaries[arch][0] , binaries[arch][1]) sources['testing'][pkg_name] = sources[suite][pkg_name] | def doop_source(self, pkg): | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
excuse_unsat_deps = self.excuse_unsat_deps | check_installable = self.check_installable | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
r = excuse_unsat_deps(p, None, arch, 'testing', None, excluded=broken, conflicts=True) | r = check_installable(p, arch, 'testing', excluded=broken, conflicts=True) | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
if p not in binaries[arch][0] or \ | if p in broken or p not in binaries[arch][0] or \ | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
r = excuse_unsat_deps(p, None, arch, 'testing', None, excluded=broken, conflicts=True) | r = check_installable(p, arch, 'testing', excluded=broken, conflicts=True) | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 1f9ba4410c75a5f4cafac19e8033b8218b3b49ba /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1f9ba4410c75a5f4cafac19e8033b8218b3b49ba/britney.py |
for pkg in sorted(filter(lambda x: x.endswith("/" + arch), source_u['binaries'])): | for pkg in sorted(filter(lambda x: x.endswith("/" + arch), source_u['binaries']), key=lambda x: x.split("/")[0]): | def should_upgrade_srcarch(self, src, arch, suite): """Check if binary package should be upgraded | 61e48c22295e1b813f3a150ce11d345a19e710fe /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/61e48c22295e1b813f3a150ce11d345a19e710fe/britney.py |
if pkg in sources['testing']: | if pkg in sources['testing'] and 'fake' not in sources['testing'][pkg]: | def write_excuses(self): """Produce and write the update excuses | 61e48c22295e1b813f3a150ce11d345a19e710fe /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/61e48c22295e1b813f3a150ce11d345a19e710fe/britney.py |
for k in ('Pre-Depends', 'Depends', 'Provides'): | for k in ('Pre-Depends', 'Depends', 'Provides', 'Conflicts'): | def read_binaries(self, basedir, distribution, arch): """Read the list of binary packages from the specified directory The binary packages are read from the `Packages_${arch}' files within the directory specified as `basedir' parameter, replacing ${arch} with the value of the arch parameter. Considering the large amou... | 0ef270283d494acfb65d58fb8123811e47c21a74 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/0ef270283d494acfb65d58fb8123811e47c21a74/britney.py |
for block, block_txt in map(None, apt_pkg.ParseDepends(binary_u[type_key]), binary_u[type_key].split(',')): | for block, block_txt in zip(apt_pkg.ParseDepends(binary_u[type_key]), binary_u[type_key].split(',')): | def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[]): """Find unsatisfied dependencies for a binary package | 0ef270283d494acfb65d58fb8123811e47c21a74 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/0ef270283d494acfb65d58fb8123811e47c21a74/britney.py |
binaries = [] | def doop_source(self, pkg): | 0ef270283d494acfb65d58fb8123811e47c21a74 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/0ef270283d494acfb65d58fb8123811e47c21a74/britney.py | |
binaries.append(p) | def doop_source(self, pkg): | 0ef270283d494acfb65d58fb8123811e47c21a74 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/0ef270283d494acfb65d58fb8123811e47c21a74/britney.py | |
if p not in binaries: binaries.append(p) | def doop_source(self, pkg): | 0ef270283d494acfb65d58fb8123811e47c21a74 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/0ef270283d494acfb65d58fb8123811e47c21a74/britney.py | |
return (pkg_name, affected, binaries, undo) | return (pkg_name, suite, affected, undo) | def doop_source(self, pkg): | 0ef270283d494acfb65d58fb8123811e47c21a74 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/0ef270283d494acfb65d58fb8123811e47c21a74/britney.py |
pkg_name, affected, binaries, undo = self.doop_source(pkg) | pkg_name, suite, affected, undo = self.doop_source(pkg) | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 0ef270283d494acfb65d58fb8123811e47c21a74 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/0ef270283d494acfb65d58fb8123811e47c21a74/britney.py |
self.binaries['testing'][arch][0][p[0]]['source'] == pkg_name or \ | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 0ef270283d494acfb65d58fb8123811e47c21a74 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/0ef270283d494acfb65d58fb8123811e47c21a74/britney.py | |
r = self.excuse_unsat_deps(p[0], None, arch, 'testing', None) | r = self.excuse_unsat_deps(p[0], None, arch, 'testing', None, excluded=[]) | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 0ef270283d494acfb65d58fb8123811e47c21a74 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/0ef270283d494acfb65d58fb8123811e47c21a74/britney.py |
self.binaries['testing'][arch][0][p[0]]['source'] == pkg_name or \ | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 0ef270283d494acfb65d58fb8123811e47c21a74 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/0ef270283d494acfb65d58fb8123811e47c21a74/britney.py | |
if k in self.sources['testing']: for p in self.sources['testing'][k]['binaries']: | if k in self.sources[suite]: for p in self.sources[suite][k]['binaries']: | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 0ef270283d494acfb65d58fb8123811e47c21a74 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/0ef270283d494acfb65d58fb8123811e47c21a74/britney.py |
for i in provides[a[0]]: | for i in provides.get(a[0]): | def register_reverses(self, pkg, packages, provides, check_doubles=True, parse_depends=apt_pkg.ParseDepends): """Register reverse dependencies and conflicts for the specified package | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
if name in binaries[0] and name not in excluded: | if name not in excluded and name in binaries[0]: | def get_dependency_solvers(self, block, arch, distribution, excluded=[], strict=False): """Find the packages which satisfy a dependency block | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
if name in binaries[1]: for prov in binaries[1][name]: if prov in excluded or \ prov not in binaries[0]: continue package = binaries[0][prov] if op == '' and version == '' or not strict and apt_pkg.CheckDep(package['version'], op, version): packages.append(prov) break | for prov in binaries[1].get(name, []): if prov in excluded or \ prov not in binaries[0]: continue package = binaries[0][prov] if op == '' and version == '' or not strict and apt_pkg.CheckDep(package['version'], op, version): packages.append(prov) break | def get_dependency_solvers(self, block, arch, distribution, excluded=[], strict=False): """Find the packages which satisfy a dependency block | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
elif excuse == None: return False | def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py | |
if not excuse and conflicts: | if conflicts: | def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
for block in map(operator.itemgetter(0), parse_depends(binary_u['conflicts'])): | for block in map(operator.itemgetter(0), parse_depends(binary_u.get('conflicts', []))): | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
def should_remove_source(self, pkg): """Check if a source package should be removed from testing This method checks if a source package should be removed from the testing distribution; this happen if the source package is not present in the unstable distribution anymore. It returns True if the package can be remo... | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py | |
if pkg_name in self.sources['testing']: source = self.sources['testing'][pkg_name] | if pkg_name in sources['testing']: source = sources['testing'][pkg_name] | def doop_source(self, pkg): | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
undo['binaries'][p] = self.binaries['testing'][arch][0][binary] for j in self.binaries['testing'][arch][0][binary]['rdepends']: | undo['binaries'][p] = binaries[arch][0][binary] for j in binaries[arch][0][binary]['rdepends']: | def doop_source(self, pkg): | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
for j in self.binaries['testing'][arch][0][binary]['provides']: | for j in binaries[arch][0][binary]['provides']: | def doop_source(self, pkg): | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
undo['virtual'][j + "/" + arch] = self.binaries['testing'][arch][1][j][:] self.binaries['testing'][arch][1][j].remove(binary) if len(self.binaries['testing'][arch][1][j]) == 0: del self.binaries['testing'][arch][1][j] del self.binaries['testing'][arch][0][binary] | undo['virtual'][j + "/" + arch] = binaries[arch][1][j][:] binaries[arch][1][j].remove(binary) if len(binaries[arch][1][j]) == 0: del binaries[arch][1][j] del binaries[arch][0][binary] | def doop_source(self, pkg): | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
del self.sources['testing'][pkg_name] | del sources['testing'][pkg_name] | def doop_source(self, pkg): | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
if pkg_name in self.binaries['testing'][arch][0]: for j in self.binaries['testing'][arch][0][pkg_name]['rdepends']: | if pkg_name in binaries[arch][0]: for j in binaries[arch][0][pkg_name]['rdepends']: | def doop_source(self, pkg): | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
source = self.sources[suite][pkg_name] | source = sources[suite][pkg_name] | def doop_source(self, pkg): | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
if binary in self.binaries['testing'][arch][0]: undo['binaries'][p] = self.binaries['testing'][arch][0][binary] for j in self.binaries['testing'][arch][0][binary]['rdepends']: | if binary in binaries[arch][0]: undo['binaries'][p] = binaries[arch][0][binary] for j in binaries[arch][0][binary]['rdepends']: | def doop_source(self, pkg): | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
for j in self.binaries['testing'][arch][0][binary]['rconflicts']: | for j in binaries[arch][0][binary]['rconflicts']: | def doop_source(self, pkg): | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
self.binaries['testing'][arch][0][binary] = self.binaries[suite][arch][0][binary] for j in self.binaries['testing'][arch][0][binary]['provides']: if j not in self.binaries['testing'][arch][1]: | binaries[arch][0][binary] = self.binaries[suite][arch][0][binary] for j in binaries[arch][0][binary]['provides']: if j not in binaries[arch][1]: | def doop_source(self, pkg): | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
self.binaries['testing'][arch][1][j] = [] | binaries[arch][1][j] = [] | def doop_source(self, pkg): | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
undo['virtual'][j + "/" + arch] = self.binaries['testing'][arch][1][j][:] self.binaries['testing'][arch][1][j].append(binary) for j in self.binaries['testing'][arch][0][binary]['rdepends']: | undo['virtual'][j + "/" + arch] = binaries[arch][1][j][:] binaries[arch][1][j].append(binary) for j in binaries[arch][0][binary]['rdepends']: | def doop_source(self, pkg): | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
self.register_reverses(binary, self.binaries['testing'][arch][0] , self.binaries['testing'][arch][1]) self.sources['testing'][pkg_name] = self.sources[suite][pkg_name] | self.register_reverses(binary, binaries[arch][0] , binaries[arch][1]) sources['testing'][pkg_name] = sources[suite][pkg_name] | def doop_source(self, pkg): | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
excuse_unsat_deps = self.excuse_unsat_deps | check_installable = self.check_installable | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
r = excuse_unsat_deps(p, None, arch, 'testing', None, excluded=broken, conflicts=True) | r = check_installable(p, arch, 'testing', excluded=broken, conflicts=True) | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
if p not in binaries[arch][0] or \ | if p in broken or p not in binaries[arch][0] or \ | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
r = excuse_unsat_deps(p, None, arch, 'testing', None, excluded=broken, conflicts=True) | r = check_installable(p, arch, 'testing', excluded=broken, conflicts=True) | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 59b36ea1bf248c8b337353565b2ecc0547783fab /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/59b36ea1bf248c8b337353565b2ecc0547783fab/britney.py |
if arch in self.options.architectures: | if arch.split("+", 1)[0] in self.options.architectures: | def read_nuninst(self): """Read the non-installable report""" f = open(self.options.noninst_status) nuninst = {} for r in f: if ":" not in r: continue arch, packages = r.strip().split(":", 1) if arch in self.options.architectures: nuninst[arch] = packages.split() return nuninst | d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py |
for pkg in nuninst[arch][:]: | for pkg in nuninst[arch + "+all"]: | def add_nuninst(pkg, arch): if pkg not in nuninst[arch]: nuninst[arch].append(pkg) for p in binaries[arch][0][pkg]['rdepends']: r = check_installable(p, arch, 'testing', excluded=nuninst[arch], conflicts=True) if not r: add_nuninst(p, arch) | d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py |
if pkg in broken: | if pkg in broken and pkg_from: | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: if type(pkg_from) == list: system[pkg][1].extend(pkg_from) else: system[pkg][1].append(pkg_from) system[pk... | d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py |
lundo.append((undo, pkg, suite)) | lundo.append((undo, pkg, pkg_name, suite)) | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py |
broken = nuninst[arch][:] | nuninst[arch + "+all"] = [x for x in nuninst_comp[arch + "+all"] if x in binaries[arch][0]] broken = nuninst[arch + "+all"][:] | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py |
def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py | ||
if p not in binaries[arch][0] or \ skip_archall and binaries[arch][0][p]['architecture'] == 'all': continue | if p not in binaries[arch][0]: continue | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py |
elif r and p in nuninst[arch]: | elif r and p in nuninst[arch + "+all"]: | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py |
nuninst[arch].remove(p) | nuninst[arch + "+all"].remove(p) if not (skip_archall and binaries[arch][0][p]['architecture'] == 'all'): nuninst[arch].remove(p) | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py |
while l < len(broken): l = len(broken) for j in broken: | while old_broken != broken: old_broken = broken[:] for j in broken + repaired: | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py |
if p in broken or p not in binaries[arch][0] or \ skip_archall and binaries[arch][0][p]['architecture'] == 'all': continue | if p in broken or p not in binaries[arch][0]: continue | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py |
if b not in nuninst[arch]: | if b not in nuninst[arch + "+all"]: nuninst[arch + "+all"].append(b) if b not in nuninst[arch] and not (skip_archall and binaries[arch][0][b]['architecture'] == 'all'): | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py |
self.output_write(" * %s: %s\n" % (arch, ", ".join(sorted([b for b in broken if b not in nuninst_comp[arch]])))) | self.output_write(" * %s: %s\n" % (arch, ", ".join(sorted([b for b in nuninst[arch] if b not in nuninst_comp[arch]])))) | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py |
if pkg in sources[suite]: for p in sources[suite][pkg]['binaries']: | if pkg[0] != '-' and pkg_name in sources[suite]: for p in sources[suite][pkg_name]['binaries']: | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.