Merged from trunk 7890:7901
authorFabian Groffen <grobian@gentoo.org>
Tue, 2 Oct 2007 15:56:54 +0000 (15:56 -0000)
committerFabian Groffen <grobian@gentoo.org>
Tue, 2 Oct 2007 15:56:54 +0000 (15:56 -0000)
commit15523aa4f0f90920cf29900d62539b40c757432b
treea9a6735a888e11192e7611bf97952c6e797a0e6e
parent301a616aa7b9e4713ad7ca93c4be7ad648777be7
   Merged from trunk 7890:7901

|7891     |Document interaction between config.setinst() and old-style virtuals         |
|zmedico  |preferences.                                                                 |

|7892     |Reimplement portdbapi.visible() so that is works without using self.xmatch().|
|zmedico  |This should be 100% compatible with the previous implementation and have     |
|         |comparable performance. By eliminating the xmatch() dependency, the code     |
|         |becomes more generically usable, like for visibility filtering of binary     |
|         |packages. It seems that it will be necessary to move this code outside of the|
|         |dbapi since visiblity filtering is really a resolver level function and to   |
|         |solve things like bug #88613 will require a more flexible approach. since the|
|         |current internal                                                             |

|7893     |Bug #142508 - Clear the screen each time before calling the "diff" command so|
|zmedico  |that any remnants of the previous config are now shown with the current one. |
|         |command so that                                                              |

|7894     |Add new repoman check classes using StringIO; possibly need some testing,    |
|WarnerBro|obviously the old code was faster (1 iteration over the file), here we do one|
|         |iteration per check, StringIO was to try and negate this by doing the checks |
|         |in memory...how much of a price do we pay here?                              |

|7895     |Add Donnie's quote check, refactor other ebuild-content checks into classes  |
|WarnerBro|and get them out of repoman in an attempt to start moving other checks out as|
|         |well. Again wonder at the price of StringIO and N passes, is the readability |
|         |worth it?                                                                    |

|7896     |keep old repoman names so we don't confuse people                            |
|WarnerBro|                                                                             |

|7897     |Delete some extra leaky vars, also after some testing I discovered read() is |
|WarnerBro|much faster than readlines(), see                                            |
|         |http://dev.gentoo.org/~antarus/projects/portage/stats/StringIOVsFiles.txt    |

|7898     |Rename checks as the naming was overkill (they are all obviously checks being|
|WarnerBro|in the check module), add nesteddie check                                    |

|7899     |Apply new checks, minor cleanup                                              |
|WarnerBro|                                                                             |

|7900     |Bug #194398 - Do not log "exiting successfully" in emerge.log unless the     |
|zmedico  |status really is successful. Otherwise, log "exiting unsuccessfully". Thanks |
|         |to David Watzke.                                                             |

|7901     |Filter some false positives out of the EbuildQuote check. It might work well |
|zmedico  |enough now so that we don't have to degrade it to a warning.                 |

svn path=/main/branches/prefix/; revision=7902
bin/dispatch-conf
bin/repoman
pym/emerge/__init__.py
pym/portage/__init__.py
pym/portage/dbapi/porttree.py
pym/repoman/__init__.py [new file with mode: 0644]
pym/repoman/checks.py [new file with mode: 0644]
pym/repoman/errors.py [new file with mode: 0644]