rem
stringlengths
1
322k
add
stringlengths
0
2.05M
context
stringlengths
4
228k
meta
stringlengths
156
215
for (undo, pkg, suite) in lundo:
for (undo, pkg, pkg_name, suite) in lundo:
def do_all(self, maxdepth=0, init=None, actions=None): """Testing update runner
d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py
if pkg in self.sources[suite]: for p in self.sources[suite][pkg]['binaries']:
if pkg_name in self.sources[suite]: for p in self.sources[suite][pkg_name]['binaries']:
def do_all(self, maxdepth=0, init=None, actions=None): """Testing update runner
d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py
for x in self.hints['easy']: self.do_hint("easy", x[0], x[1]) for x in self.hints["force-hint"]: self.do_hint("force-hint", x[0], x[1])
if not self.options.actions: for x in self.hints['easy']: self.do_hint("easy", x[0], x[1]) for x in self.hints["force-hint"]: self.do_hint("force-hint", x[0], x[1])
def upgrade_testing(self): """Upgrade testing using the unstable packages
d5362ad8a66b3cf545afb782387a1c2c01d551e2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/d5362ad8a66b3cf545afb782387a1c2c01d551e2/britney.py
if not actions:
if not actions and not earlyabort:
def do_all(self, maxdepth=0, init=None, actions=None): """Testing update runner
e6d3628aeffb52ce858eb954a86dae5f5f654513 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/e6d3628aeffb52ce858eb954a86dae5f5f654513/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()
79f93f777b0cfaf28648111d777ee8f1e878b167 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/79f93f777b0cfaf28648111d777ee8f1e878b167/britney.py
def iter_packages(self, packages, hint=False):
def iter_packages(self, packages, selected, hint=False):
def iter_packages(self, packages, hint=False): """Iter on the list of actions and apply them one-by-one
c6000093ba590d07a46a730983431eb269e0727f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/c6000093ba590d07a46a730983431eb269e0727f/britney.py
self.output_write("recur: [%s] %s %d/%d\n" % (",".join(self.selected), "", len(packages), len(extra)))
self.output_write("recur: [%s] %s %d/%d\n" % (",".join(selected), "", len(packages), len(extra)))
def iter_packages(self, packages, hint=False): """Iter on the list of actions and apply them one-by-one
c6000093ba590d07a46a730983431eb269e0727f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/c6000093ba590d07a46a730983431eb269e0727f/britney.py
self.selected.append(pkg)
selected.append(pkg)
def iter_packages(self, packages, hint=False): """Iter on the list of actions and apply them one-by-one
c6000093ba590d07a46a730983431eb269e0727f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/c6000093ba590d07a46a730983431eb269e0727f/britney.py
self.output_write(" now: %s\n" % (self.eval_nuninst(nuninst))) if len(self.selected) <= 20: self.output_write(" all: %s\n" % (" ".join(self.selected)))
self.output_write(" now: %s\n" % (self.eval_nuninst(nuninst, nuninst_comp))) if len(selected) <= 20: self.output_write(" all: %s\n" % (" ".join(selected)))
def iter_packages(self, packages, hint=False): """Iter on the list of actions and apply them one-by-one
c6000093ba590d07a46a730983431eb269e0727f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/c6000093ba590d07a46a730983431eb269e0727f/britney.py
self.output_write(" most: (%d) .. %s\n" % (len(self.selected), " ".join(self.selected[-20:])))
self.output_write(" most: (%d) .. %s\n" % (len(selected), " ".join(selected[-20:])))
def iter_packages(self, packages, hint=False): """Iter on the list of actions and apply them one-by-one
c6000093ba590d07a46a730983431eb269e0727f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/c6000093ba590d07a46a730983431eb269e0727f/britney.py
self.output_write(" finish: [%s]\n" % ",".join(self.selected))
self.output_write(" finish: [%s]\n" % ",".join(selected))
def iter_packages(self, packages, hint=False): """Iter on the list of actions and apply them one-by-one
c6000093ba590d07a46a730983431eb269e0727f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/c6000093ba590d07a46a730983431eb269e0727f/britney.py
selected = self.selected[:]
selected = self.selected
def do_all(self, maxdepth=0, init=None, actions=None): """Testing update runner
c6000093ba590d07a46a730983431eb269e0727f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/c6000093ba590d07a46a730983431eb269e0727f/britney.py
(nuninst_end, lundo) = self.iter_packages(init, hint=True)
(nuninst_end, lundo) = self.iter_packages(init, selected, hint=True)
def do_all(self, maxdepth=0, init=None, actions=None): """Testing update runner
c6000093ba590d07a46a730983431eb269e0727f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/c6000093ba590d07a46a730983431eb269e0727f/britney.py
(nuninst_end, extra) = self.iter_packages(upgrade_me)
(nuninst_end, extra) = self.iter_packages(upgrade_me, selected)
def do_all(self, maxdepth=0, init=None, actions=None): """Testing update runner
c6000093ba590d07a46a730983431eb269e0727f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/c6000093ba590d07a46a730983431eb269e0727f/britney.py
filename = os.path.join(basedir, 'Packages_%s.new' % arch)
filename = os.path.join(basedir, 'Packages_%s' % arch)
def write_controlfiles(self, basedir, suite): """Write the control files
b7cb8f1497ac9fa04092b5a174a39618121416e1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b7cb8f1497ac9fa04092b5a174a39618121416e1/britney.py
filename = os.path.join(basedir, 'Sources.new')
filename = os.path.join(basedir, 'Sources')
def write_controlfiles(self, basedir, suite): """Write the control files
b7cb8f1497ac9fa04092b5a174a39618121416e1 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b7cb8f1497ac9fa04092b5a174a39618121416e1/britney.py
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
if not arch:
if not (arch and pkg[0] == '-'):
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
binary, arch = p.split("/")
binary, parch = p.split("/") if arch and parch != arch: continue
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
binary not in self.binaries[suite][arch][0] and \
binary not in self.binaries[suite][parch][0] and \
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
binaries[arch][0][binary].get('section', None) in self.options.smooth_updates):
binaries[parch][0][binary].get('section', None) in self.options.smooth_updates):
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
undo['binaries'][p] = binaries[arch][0][binary]
undo['binaries'][p] = binaries[parch][0][binary]
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
for j in binaries[arch][0][binary]['rdepends']: key = (j, arch)
for j in binaries[parch][0][binary]['rdepends']: key = (j, parch)
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
for j in binaries[arch][0][binary]['provides']: key = j + "/" + arch
for j in binaries[parch][0][binary]['provides']: key = j + "/" + parch
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
undo['virtual'][key] = binaries[arch][1][j][:] binaries[arch][1][j].remove(binary) if len(binaries[arch][1][j]) == 0: del binaries[arch][1][j]
undo['virtual'][key] = binaries[parch][1][j][:] binaries[parch][1][j].remove(binary) if len(binaries[parch][1][j]) == 0: del binaries[parch][1][j]
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
del binaries[arch][0][binary]
del binaries[parch][0][binary]
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
undo['sources'][pkg_name] = source del sources['testing'][pkg_name]
if not arch: undo['sources'][pkg_name] = source del sources['testing'][pkg_name]
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
else: if pkg_name in binaries[arch][0]: undo['binaries'][pkg_name + "/" + arch] = binaries[arch][0][pkg_name] for j in binaries[arch][0][pkg_name]['rdepends']: key = (j, arch) if key not in affected: affected.append(key) if pkg[0] != "-": undo['binaries']['-' + pkg] = True source = {'binaries': [pkg]} else: del bina...
elif pkg_name in binaries[arch][0]: undo['binaries'][pkg_name + "/" + arch] = binaries[arch][0][pkg_name] for j in binaries[arch][0][pkg_name]['rdepends']: key = (j, arch) if key not in affected: affected.append(key) del binaries[arch][0][pkg_name]
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
binary, arch = p.split("/") key = (binary, arch)
binary, parch = p.split("/") if arch and parch != arch: continue key = (binary, parch)
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
if binary in binaries[arch][0]:
if binary in binaries[parch][0]:
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
undo['binaries'][p] = binaries[arch][0][binary]
undo['binaries'][p] = binaries[parch][0][binary]
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
for j in binaries[arch][0][binary]['rdepends']: key = (j, arch)
for j in binaries[parch][0][binary]['rdepends']: key = (j, parch)
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
for j in binaries[arch][0][binary]['rconflicts']: key = (j, arch)
for j in binaries[parch][0][binary]['rconflicts']: key = (j, parch)
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
for p in self.get_full_tree(j, arch, 'testing'): key = (p, arch)
for p in self.get_full_tree(j, parch, 'testing'): key = (p, parch)
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
binaries[arch][0][binary] = self.binaries[suite][arch][0][binary]
binaries[parch][0][binary] = self.binaries[suite][parch][0][binary]
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
for j in binaries[arch][0][binary]['provides']: key = j + "/" + arch if j not in binaries[arch][1]:
for j in binaries[parch][0][binary]['provides']: key = j + "/" + parch if j not in binaries[parch][1]:
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
binaries[arch][1][j] = []
binaries[parch][1][j] = []
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
undo['virtual'][key] = binaries[arch][1][j][:] binaries[arch][1][j].append(binary)
undo['virtual'][key] = binaries[parch][1][j][:] binaries[parch][1][j].append(binary)
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
for j in binaries[arch][0][binary]['rdepends']: key = (j, arch)
for j in binaries[parch][0][binary]['rdepends']: key = (j, parch)
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
binary, arch = p.split("/") self.register_reverses(binary, binaries[arch][0] , binaries[arch][1])
binary, parch = p.split("/") if arch and parch != arch: continue self.register_reverses(binary, binaries[parch][0] , binaries[parch][1])
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
sources['testing'][pkg_name] = sources[suite][pkg_name]
if not arch: sources['testing'][pkg_name] = sources[suite][pkg_name]
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg`
b0ef0af3487c34142dce19457921f7cceb8b113e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b0ef0af3487c34142dce19457921f7cceb8b113e/britney.py
n = len(nuninst[arch]) + (original and len(original[arch]) or 0) if arch in self.options.break_arches: totalbreak = totalbreak + n else: total = total + n res.append("%s-%d" % (arch[0], n))
n = len(nuninst[arch]) elif original and original.has_key(arch): n = len(original[arch]) else: continue if arch in self.options.break_arches: totalbreak = totalbreak + n else: total = total + n res.append("%s-%d" % (arch[0], n))
def eval_nuninst(self, nuninst, original=None): res = [] total = 0 totalbreak = 0 for arch in self.options.architectures: if nuninst.has_key(arch): n = len(nuninst[arch]) + (original and len(original[arch]) or 0) if arch in self.options.break_arches: totalbreak = totalbreak + n else: total = total + n res.append("%s-%d...
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/britney.py
key = (j[0], j[1], j[2], arch)
key = (j[0], arch)
def doop_source(self, pkg):
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/britney.py
key = (j[0], j[1], j[2], arch)
key = (j[0], arch)
def doop_source(self, pkg):
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/britney.py
key = (binary, None, None, arch)
key = (binary, arch)
def doop_source(self, pkg):
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/britney.py
key = (j[0], j[1], j[2], arch)
key = (j[0], arch)
def doop_source(self, pkg):
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/britney.py
key = (j[0], j[1], j[2], arch)
key = (j[0], arch)
def doop_source(self, pkg):
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/britney.py
key = (p, None, None, arch)
key = (p, arch)
def doop_source(self, pkg):
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/britney.py
key = (j[0], j[1], j[2], arch)
key = (j[0], arch)
def doop_source(self, pkg):
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/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()
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/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()
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/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()
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/britney.py
nuninst_new = nuninst_comp
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst()
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/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()
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/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()
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/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()
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/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)
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/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)
6abbd90bfcb33ae5f570c924e7387a2633b9d0de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/6abbd90bfcb33ae5f570c924e7387a2633b9d0de/britney.py
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst()
199dcbd927a7aebec58f56222a6e79e596168925 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/199dcbd927a7aebec58f56222a6e79e596168925/britney.py
if k in self.sources[suite]: for p in self.sources[suite][k]['binaries']: binary, arch = p.split("/") del self.binaries['testing'][arch][0][binary] del self.sources['testing'][k] self.sources['testing'][k] = undo['sources'][k]
if k[0] == '-': del self.sources['testing'][k[1:]] else: self.sources['testing'][k] = undo['sources'][k] if pkg in self.sources[suite]: for p in self.sources[suite][pkg]['binaries']: binary, arch = p.split("/") del self.binaries['testing'][arch][0][binary]
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst()
199dcbd927a7aebec58f56222a6e79e596168925 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/199dcbd927a7aebec58f56222a6e79e596168925/britney.py
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst()
199dcbd927a7aebec58f56222a6e79e596168925 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/199dcbd927a7aebec58f56222a6e79e596168925/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
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/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)
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/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...
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/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
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/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
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/britney.py
def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/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
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/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
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/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
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/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
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/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
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/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
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/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
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/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
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/britney.py
for (undo, pkg, suite) in lundo:
for (undo, pkg, pkg_name, suite) in lundo:
def do_all(self, maxdepth=0, init=None, actions=None): """Testing update runner
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/britney.py
if pkg in self.sources[suite]: for p in self.sources[suite][pkg]['binaries']:
if pkg_name in self.sources[suite]: for p in self.sources[suite][pkg_name]['binaries']:
def do_all(self, maxdepth=0, init=None, actions=None): """Testing update runner
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/britney.py
for x in self.hints['easy']: self.do_hint("easy", x[0], x[1]) for x in self.hints["force-hint"]: self.do_hint("force-hint", x[0], x[1])
if not self.options.actions: for x in self.hints['easy']: self.do_hint("easy", x[0], x[1]) for x in self.hints["force-hint"]: self.do_hint("force-hint", x[0], x[1])
def upgrade_testing(self): """Upgrade testing using the unstable packages
333b76f04c83e940fd1667457dc7d9c0a58c6aa6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/333b76f04c83e940fd1667457dc7d9c0a58c6aa6/britney.py
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst()
89a60b362687981e597e08cad4b2cb7054ef9528 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/89a60b362687981e597e08cad4b2cb7054ef9528/britney.py
if k in self.sources[suite]: for p in self.sources[suite][k]['binaries']: binary, arch = p.split("/") del self.binaries['testing'][arch][0][binary] del self.sources['testing'][k] self.sources['testing'][k] = undo['sources'][k]
if k[0] == '-': del self.sources['testing'][k[1:]] else: self.sources['testing'][k] = undo['sources'][k] if pkg in self.sources[suite]: for p in self.sources[suite][pkg]['binaries']: binary, arch = p.split("/") del self.binaries['testing'][arch][0][binary]
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst()
89a60b362687981e597e08cad4b2cb7054ef9528 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/89a60b362687981e597e08cad4b2cb7054ef9528/britney.py
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst()
89a60b362687981e597e08cad4b2cb7054ef9528 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/89a60b362687981e597e08cad4b2cb7054ef9528/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
f03b6261a211bc414fe8b6d0504fff93d04acc06 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/f03b6261a211bc414fe8b6d0504fff93d04acc06/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
f03b6261a211bc414fe8b6d0504fff93d04acc06 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/f03b6261a211bc414fe8b6d0504fff93d04acc06/britney.py
return False return True
return False
def should_upgrade_srcarch(self, src, arch, suite): """Check if binary package should be upgraded
3e75f09c49c4cf8a1517898c50c77844d644f142 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/3e75f09c49c4cf8a1517898c50c77844d644f142/britney.py
for p in filter(lambda x: x[3] == arch, affected): if not self.binaries['testing'][arch][0].has_key(p[0]) or \ skip_archall and self.binaries['testing'][arch][0][p[0]]['architecture'] == 'all': continue r = self.excuse_unsat_deps(p[0], None, arch, 'testing', None, excluded=[]) if not r and p[0] not in broken: broken.ap...
nbroken = -1 while len(broken) > nbroken: nbroken = len(broken) for p in filter(lambda x: x[3] == arch, affected): if not self.binaries['testing'][arch][0].has_key(p[0]) or \ skip_archall and self.binaries['testing'][arch][0][p[0]]['architecture'] == 'all': continue r = self.excuse_unsat_deps(p[0], None, arch, 'testing...
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst()
378a33fe363e01c9f20a1ee953ff2985518a50b9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/378a33fe363e01c9f20a1ee953ff2985518a50b9/britney.py
if not actions:
if not actions and not earlyabort:
def do_all(self, maxdepth=0, init=None, actions=None): """Testing update runner
04cfaea33d495fb9072c886703c2c6309b977af4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/04cfaea33d495fb9072c886703c2c6309b977af4/britney.py
return False return True
return False
def should_upgrade_srcarch(self, src, arch, suite): """Check if binary package should be upgraded
16f23b39ee374eb9cb3cf84a720e4f31c16e7db3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/16f23b39ee374eb9cb3cf84a720e4f31c16e7db3/britney.py
if not mark_passed and position < 0:
if not compatible and not mark_passed and position < 0:
def iter_packages(self, packages, hint=False): """Iter on the list of actions and apply them one-by-one
a852f13834c8e3d7a206e7f27e4a026dcccf7ef8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a852f13834c8e3d7a206e7f27e4a026dcccf7ef8/britney.py
continue
def iter_packages(self, packages, hint=False): """Iter on the list of actions and apply them one-by-one
a852f13834c8e3d7a206e7f27e4a026dcccf7ef8 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a852f13834c8e3d7a206e7f27e4a026dcccf7ef8/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...
fd15f44b0cbebd0ae34b33e45f638bb313401f5f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fd15f44b0cbebd0ae34b33e45f638bb313401f5f/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...
fd15f44b0cbebd0ae34b33e45f638bb313401f5f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fd15f44b0cbebd0ae34b33e45f638bb313401f5f/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...
fd15f44b0cbebd0ae34b33e45f638bb313401f5f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fd15f44b0cbebd0ae34b33e45f638bb313401f5f/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...
fd15f44b0cbebd0ae34b33e45f638bb313401f5f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fd15f44b0cbebd0ae34b33e45f638bb313401f5f/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...
fd15f44b0cbebd0ae34b33e45f638bb313401f5f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fd15f44b0cbebd0ae34b33e45f638bb313401f5f/britney.py
parse_depends = apt_pkg.ParseDepends
register_reverses = self.register_reverses
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...
b57aefed68ccf3a45d249459e90c513a8a777948 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b57aefed68ccf3a45d249459e90c513a8a777948/britney.py
dependencies = [] if 'depends' in packages[pkg]: dependencies.extend(parse_depends(packages[pkg]['depends'])) if 'pre-depends' in packages[pkg]: dependencies.extend(parse_depends(packages[pkg]['pre-depends'])) for p in dependencies:
register_reverses(pkg, packages, provides, check_doubles=False) return (packages, provides) def register_reverses(self, pkg, packages, provides, check_doubles=True, parse_depends=apt_pkg.ParseDepends): """Register reverse dependencies and conflicts for the specified package This method register the reverse dependen...
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...
b57aefed68ccf3a45d249459e90c513a8a777948 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b57aefed68ccf3a45d249459e90c513a8a777948/britney.py
if a[0] in packages: packages[a[0]]['rdepends'].append((pkg, a[1], a[2]))
if a[0] in packages and (not check_doubles or pkg not in packages[a[0]]['rconflicts']): packages[a[0]]['rconflicts'].append(pkg)
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...
b57aefed68ccf3a45d249459e90c513a8a777948 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b57aefed68ccf3a45d249459e90c513a8a777948/britney.py
packages[i]['rdepends'].append((pkg, a[1], a[2])) if 'conflicts' in packages[pkg]: for p in parse_depends(packages[pkg]['conflicts']): if a[0] in packages: packages[a[0]]['rconflicts'].append((pkg, a[1], a[2])) elif a[0] in provides: for i in provides[a[0]]: packages[i]['rconflicts'].append((pkg, a[1], a[2])) return...
if i not in packages: continue if not check_doubles or pkg not in packages[i]['rconflicts']: packages[i]['rconflicts'].append(pkg)
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...
b57aefed68ccf3a45d249459e90c513a8a777948 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b57aefed68ccf3a45d249459e90c513a8a777948/britney.py
tpkg = binaries[arch][0][p[0]]
tpkg = binaries[arch][0][p]
def add_nuninst(pkg, arch): if pkg not in nuninst[arch]: nuninst[arch].append(pkg) for p in binaries[arch][0][pkg]['rdepends']: tpkg = binaries[arch][0][p[0]] if skip_archall and tpkg['architecture'] == 'all': continue r = excuse_unsat_deps(p[0], None, arch, 'testing', None, excluded=nuninst[arch], conflicts=False) if ...
b57aefed68ccf3a45d249459e90c513a8a777948 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b57aefed68ccf3a45d249459e90c513a8a777948/britney.py