Merged from trunk 10853:10869
| 10854 | Avoid python-2.6 deprecation warnings for md5 and sha |
| zmedico | modules by trying to import hashlib first and then falling |
| | back to the deprecated modules if necessary. Thanks to |
| | ColdWind for reporting. |
| 10855 | Reimplement parallel-fetch by spawning the `ebuild fetch` |
| zmedico | command for each ebuild. The benefit of using this approach |
| | is that it can be integrated together with parallel build |
| | scheduling that's planned. Parallel-fetch support for |
| | binhost is not implemented yet, though it worked previously. |
| 10856 | Clear the self._task_queue to avoid duplicate parallel-fetch |
| zmedico | tasks in --keep-going mode. |
| 10857 | Add "(no inline comments)" to qualify "comments begin with |
| zmedico | #" statements. |
| 10858 | Bug #230245 - Pass the correct directory when calling `snv |
| zmedico | list` and `svn status` since repoman supports category-level |
| | and repo-level commits. |
| 10859 | Bug #230245 - Use os.path.basename() on paths returned from |
| zmedico | `svn list` and `svn status`. |
| 10860 | Bug #230249 - Disable the "ebuild.notadded" check when not |
| zmedico | in commit mode and running `svn list` and `svn status` calls |
| | in every package dir will be too expensive. |
| 10861 | Fix typo. |
| zmedico | |
| 10862 | add a call to pruneNonExisting() at the end of |
| zmedico | dbapi.vartree.PreservedLibsRegistry.__init__() |
| 10864 | Split out a write_contents() function and a |
| zmedico | vardbapi.removeFromContents() function. This is refactoring |
| | of code from the blocker file collision contents handling in |
| | dblink.treewalk(). Also, there is a new |
| | dblink._match_contents() method derived from isowner(). It |
| | returns the exact path from the contents file that matches |
| | the given path, regardless of path differences due to things |
| | such as symlinks. |
| 10865 | Handle potential errors in PreservedLibsRegistry.store() now |
| zmedico | that it can be called via pruneNonExisting(), due to things |
| | such as portageq calls where the user may not have write |
| | permission to the registry. |
| 10866 | Also avoid sandbox violations in |
| zmedico | PreservedLibsRegistry.store(), for running portage inside |
| | ebuild phases. |
| 10867 | Never do realpath() on an empty string for |
| zmedico | portdbapi.porttree_root since otherwise it can evaluate to |
| | $CWD which leads to undesireable results. |
| 10868 | Add a new BinpkgFetcherAsync class and use it to implement |
| zmedico | parellel-fetch for --getbinpkg. |
| 10869 | Add a "prefix" keyword parameter to slot_dict_class() which |
| zmedico | controls the prefix used when mapping attribute names from |
| | keys. Use this to change the syntax from files["foo"] to |
| | files.foo (it's fewer characters to look at). |
svn path=/main/branches/prefix/; revision=10880