bugged stringlengths 4 228k | fixed stringlengths 0 96.3M | __index_level_0__ int64 0 481k |
|---|---|---|
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,500 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,501 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,502 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,503 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,504 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,505 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,506 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,507 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,508 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,509 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,510 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,511 |
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) | def do_all(self, output, maxdepth=0, init=None): 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) | 37,512 |
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) | 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) | 37,513 |
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... | def handle_conflict(pkg, source, system, conflicts): # reached the top of the tree if not system[source][1][0]: 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 alternat... | 37,514 |
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... | 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... | 37,515 |
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... | 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... | 37,516 |
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... | 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... | 37,517 |
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... | 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... | 37,518 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,519 |
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 | 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(sorted(nuninst[arch]))) return res | 37,520 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,521 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,522 |
def do_all(self, maxdepth=0, init=None, actions=None): """Testing update runner | def do_all(self, maxdepth=0, init=None, actions=None): """Testing update runner | 37,523 |
def excuse_unsat_deps(self, pkg, src, arch, suite, excuse, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | def excuse_unsat_deps(self, pkg, src, arch, suite, excuse, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | 37,524 |
def register_reverses(self, pkg, packages, provides, check_doubles=True, parse_depends=apt_pkg.ParseDepends): """Register reverse dependencies and conflicts for the specified package | def register_reverses(self, pkg, packages, provides, check_doubles=True, parse_depends=apt_pkg.ParseDepends): """Register reverse dependencies and conflicts for the specified package | 37,525 |
def get_dependency_solvers(self, block, arch, distribution, excluded=[], strict=False): """Find the packages which satisfy a dependency block | def get_dependency_solvers(self, block, arch, distribution, excluded=[], strict=False): """Find the packages which satisfy a dependency block | 37,526 |
def get_dependency_solvers(self, block, arch, distribution, excluded=[], strict=False): """Find the packages which satisfy a dependency block | def get_dependency_solvers(self, block, arch, distribution, excluded=[], strict=False): """Find the packages which satisfy a dependency block | 37,527 |
def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | 37,528 |
def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | 37,529 |
def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): | 37,530 |
def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): | 37,531 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,532 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,533 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,534 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,535 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,536 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,537 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,538 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,539 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,540 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,541 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,542 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,543 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,544 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,545 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,546 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,547 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,548 |
def should_upgrade_srcarch(self, src, arch, suite): """Check if binary package should be upgraded | def should_upgrade_srcarch(self, src, arch, suite): """Check if binary package should be upgraded | 37,549 |
def write_excuses(self): """Produce and write the update excuses | def write_excuses(self): """Produce and write the update excuses | 37,550 |
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... | 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... | 37,551 |
def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[]): """Find unsatisfied dependencies for a binary package | def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[]): """Find unsatisfied dependencies for a binary package | 37,552 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,553 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,554 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,555 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,556 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,557 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,558 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,559 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,560 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,561 |
def register_reverses(self, pkg, packages, provides, check_doubles=True, parse_depends=apt_pkg.ParseDepends): """Register reverse dependencies and conflicts for the specified package | def register_reverses(self, pkg, packages, provides, check_doubles=True, parse_depends=apt_pkg.ParseDepends): """Register reverse dependencies and conflicts for the specified package | 37,562 |
def get_dependency_solvers(self, block, arch, distribution, excluded=[], strict=False): """Find the packages which satisfy a dependency block | def get_dependency_solvers(self, block, arch, distribution, excluded=[], strict=False): """Find the packages which satisfy a dependency block | 37,563 |
def get_dependency_solvers(self, block, arch, distribution, excluded=[], strict=False): """Find the packages which satisfy a dependency block | def get_dependency_solvers(self, block, arch, distribution, excluded=[], strict=False): """Find the packages which satisfy a dependency block | 37,564 |
def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | 37,565 |
def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | 37,566 |
def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): | 37,567 |
def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): | 37,568 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,569 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,570 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,571 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,572 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,573 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,574 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,575 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,576 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,577 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,578 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,579 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,580 |
def doop_source(self, pkg): | def doop_source(self, pkg): | 37,581 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,582 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,583 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,584 |
def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 37,585 |
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 | 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.split("+", 1)[0] in self.options.architectures: nuninst[arch] = packages.split() return nuninst | 37,586 |
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) | 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) | 37,587 |
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... | 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... | 37,588 |
def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | 37,589 |
def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | 37,590 |
def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | defiter_packages(self,packages,selected,hint=False,nuninst=None):"""Iteronthelistofactionsandapplythemone-by-one | 37,591 |
def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | 37,592 |
def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | 37,593 |
def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | 37,594 |
def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | 37,595 |
def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | 37,596 |
def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | 37,597 |
def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | 37,598 |
def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | def iter_packages(self, packages, selected, hint=False, nuninst=None): """Iter on the list of actions and apply them one-by-one | 37,599 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.