Merged from trunk 8481:8492
authorFabian Groffen <grobian@gentoo.org>
Thu, 15 Nov 2007 19:09:10 +0000 (19:09 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 15 Nov 2007 19:09:10 +0000 (19:09 -0000)
commitcae017cc9e7df6704f8f21b0597c0943996d75f5
treee14afae5c76aade5f42573c68bdcac8f9b0d49cf
parent943483576878797ebfe3d72a84b5975234c24718
   Merged from trunk 8481:8492

   | 8482    | Clean up expansion of set arguments in                       |
   | zmedico | depgraph.select_files().                                     |

   | 8483    | Convert all the checks in repoman.checks to use a new        |
   | zmedico | LineCheck interface that takes a single line as an argument. |
   |         | This has at least a few of benefits: * Eliminates lots of    |
   |         | redundant code * Error messages are ordered by line number   |
   |         | across all checks The performance is slightly worse due to   |
   |         | the increased number of method calls, but it's not really    |
   |         | noticeable in comparison to the time consumed by dependency  |
   |         | checks. Thanks to Petteri Räty <betelgeuse@gentoo.org> for  |
   |         | the initial patch which I only made a few minor              |
   |         | modifications to.                                            |

   | 8484    | Fix WorldSet.cleanPackage() so that it properly preserves    |
   | zmedico | nonatoms (sets) in the world file.                           |

   | 8485    | Make the EbuildQuote.missing_quotes regex accept single      |
   | zmedico | quotes where it accepts double quotes in order to eliminate  |
   |         | some false positives. Thanks to Krzysiek Pawlik              |
   |         | <nelchael@gentoo.org> for reporting.                         |

   | 8486    | Wrap accesses to depgraph._set_atoms.findAtomForPackage() in |
   | zmedico | a new depgraph._get_arg_for_pkg() method.                    |

   | 8487    | Implement mapping of packages to instances of DependencyArg  |
   | zmedico | in depgraph._get_arg_for_pkg(). Among other things, this     |
   |         | provides a way to know whether or not a specific package has |
   |         | been specified as an argument, which determines whether or   |
   |         | not it can be removed from the graph during backtracking.    |

   | 8488    | Fix depgraph._get_arg_for_pkg() so that it compares package  |
   | zmedico | types to help ensure a proper match.                         |

   | 8489    | * Provide reasonable default values for Dependency priority  |
   | zmedico | and depth attributes. * Remove depgraph.create() since it's  |
   |         | no longer needed. * Remove depgraph._get_parent_sets() and   |
   |         | instead get the information from DependencyArg attributes.   |

   | 8490    | Make diefunc() clean up QA_INTERCEPTORS in case it is called |
   | zmedico | from inherit() since sed called below.                       |

   | 8491    | Bug #197797 - Set umask to 022 so that created files (such   |
   | zmedico | as the world file) have sane permissions.                    |

   | 8492    | Make the Package class emulate the interface of it's own     |
   | zmedico | digraph_node tuple so that the Package instance itself can   |
   |         | be added directly to the digraph.                            |

svn path=/main/branches/prefix/; revision=8505
bin/emaint
bin/isolated-functions.sh
bin/repoman
pym/_emerge/__init__.py
pym/portage/__init__.py
pym/portage/sets/base.py
pym/portage/sets/files.py
pym/repoman/checks.py