Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make Atom.__init__ call the base class constructor, though it doesn't seem | Zac Medico | 2009-09-21 | 1 | -0/+2 |
| | | | | | | to matter. svn path=/main/trunk/; revision=14313 | ||||
* | When generating config.prevmaskdict, only call the Atom constructor when | Zac Medico | 2009-09-21 | 1 | -1/+3 |
| | | | | | | necessary. svn path=/main/trunk/; revision=14312 | ||||
* | Fix AtomArg constructor calls to pass in Atom instances, so the constructor | Zac Medico | 2009-09-21 | 2 | -23/+19 |
| | | | | | | never has to construct one. svn path=/main/trunk/; revision=14311 | ||||
* | Tread blockers as invalid. | Zac Medico | 2009-09-21 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14310 | ||||
* | Fix redundant Atom construtor call in _show_unsatisfied_dep(). | Zac Medico | 2009-09-21 | 1 | -1/+0 |
| | | | | svn path=/main/trunk/; revision=14309 | ||||
* | Remove virtuals from the cache because they're unused since portage-2.1.6 | Zac Medico | 2009-09-20 | 1 | -4/+0 |
| | | | | | | and it won't hurt older portage. svn path=/main/trunk/; revision=14308 | ||||
* | Fix typos in http.client imports. | Zac Medico | 2009-09-20 | 1 | -6/+6 |
| | | | | svn path=/main/trunk/; revision=14307 | ||||
* | Fix typo from previous commit. | Zac Medico | 2009-09-20 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14306 | ||||
* | Fix depgraph._validate_blockers() so that it doesn't do prohibited Atom(Atom) | Zac Medico | 2009-09-20 | 1 | -5/+4 |
| | | | | | | constructor calls. svn path=/main/trunk/; revision=14305 | ||||
* | Add fallback in ImportError for io.StringIO. This is needed for python-2.6 | Zac Medico | 2009-09-20 | 2 | -2/+14 |
| | | | | | | | with USE=build since io imports threading which imports thread which is unavailable. svn path=/main/trunk/; revision=14304 | ||||
* | Add support in ConsoleStyleFile.write() for unicode encoding when writing to | Zac Medico | 2009-09-20 | 1 | -5/+15 |
| | | | | | | stdout/stderr in python-2.x. svn path=/main/trunk/; revision=14303 | ||||
* | Misc unicode fixes for repoman. | Zac Medico | 2009-09-20 | 2 | -7/+17 |
| | | | | svn path=/main/trunk/; revision=14302 | ||||
* | Use _unicode_encode() to ensure that only unicode strings are passed into | Zac Medico | 2009-09-20 | 2 | -14/+22 |
| | | | | | | io.StringIO text streams. svn path=/main/trunk/; revision=14301 | ||||
* | Make Atom inherit from str. Thanks to Marat Radchenko | Zac Medico | 2009-09-20 | 1 | -79/+24 |
| | | | | | | <marat@slonopotamus.org> for this patch from bug #276813. svn path=/main/trunk/; revision=14300 | ||||
* | Make _unicode_module_wrapper cache wrappers and reuse them. Thanks to | Zac Medico | 2009-09-20 | 1 | -2/+14 |
| | | | | | | Marat Radchenko <marat@slonopotamus.org> for this patch from bug #276813. svn path=/main/trunk/; revision=14299 | ||||
* | In doebuild_environment(), detect if setcpv() hasn't been called properly, | Zac Medico | 2009-09-20 | 1 | -3/+9 |
| | | | | | | and call it if necessary (mainly for api consumers). svn path=/main/trunk/; revision=14298 | ||||
* | Add back a line which I erroneously removed when committing the patch for | Zac Medico | 2009-09-20 | 1 | -0/+1 |
| | | | | | | | bug 203733. Thanks to Alexis Ballier <aballier@g.o> for reporting the related KeyError. svn path=/main/trunk/; revision=14297 | ||||
* | Fix position of imports from __future__. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 2 | -4/+3 |
| | | | | svn path=/main/trunk/; revision=14296 | ||||
* | Support print() function with Python 2 in more files. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 19 | -0/+38 |
| | | | | svn path=/main/trunk/; revision=14295 | ||||
* | Update system imports for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 15 | -53/+112 |
| | | | | svn path=/main/trunk/; revision=14294 | ||||
* | Update syntax of numbers in some files which were missing in previous commit. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 2 | -9/+9 |
| | | | | svn path=/main/trunk/; revision=14293 | ||||
* | Update syntax of numbers for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 17 | -71/+71 |
| | | | | | | (2to3-3.1 -f numliterals -nw ${FILES}) svn path=/main/trunk/; revision=14292 | ||||
* | Support print() function with Python 2 in some files. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=14291 | ||||
* | Update syntax of calls to print() for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 27 | -728/+727 |
| | | | | | | (2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290 | ||||
* | Update syntax of 'except' statements for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 53 | -333/+333 |
| | | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289 | ||||
* | Bug #285637 - Fix NameError exception triggered by InvalidAtom in | Zac Medico | 2009-09-20 | 1 | -1/+1 |
| | | | | | | grabfile_package(). svn path=/main/trunk/; revision=14288 | ||||
* | Add isinstance(mydep, Atom) checks to the dep_* functions since we don't use av2.2_rc41 | Zac Medico | 2009-09-19 | 1 | -6/+15 |
| | | | | | | metaclass to do that anymore (due to performance). svn path=/main/trunk/; revision=14286 | ||||
* | Fix config.setinst() to add Atom instances to the provider lists instead of | Zac Medico | 2009-09-19 | 1 | -1/+1 |
| | | | | | | plain str. svn path=/main/trunk/; revision=14285 | ||||
* | Revert accidental changes _unicode_module_wrapper.__getattribute__ from | Zac Medico | 2009-09-19 | 1 | -4/+4 |
| | | | | | | previous commit. svn path=/main/trunk/; revision=14284 | ||||
* | Remove obsolete InvalidAtom handler in _add_pkg_dep_string(). | Zac Medico | 2009-09-19 | 2 | -19/+12 |
| | | | | svn path=/main/trunk/; revision=14283 | ||||
* | Avoid lots of redundant Atom constructor calls. Thanks to Marat Radchenko | Zac Medico | 2009-09-19 | 8 | -68/+79 |
| | | | | | | <marat@slonopotamus.org> for the initial patch from bug #276813. svn path=/main/trunk/; revision=14282 | ||||
* | Fix _expand_new_virtuals() to preserve USE deps in atoms for new-style | Zac Medico | 2009-09-19 | 2 | -52/+53 |
| | | | | | | virtuals, and update the corresponding depgraph code. svn path=/main/trunk/; revision=14281 | ||||
* | Use a dict for Package.metadata, because it's faster. Thanks to Marat | Zac Medico | 2009-09-19 | 1 | -49/+33 |
| | | | | | | Radchenko <marat@slonopotamus.org> for this patch from bug #276813. svn path=/main/trunk/; revision=14280 | ||||
* | Atom optimizations. Remove the metaclass and cache since it just slows it | Zac Medico | 2009-09-18 | 1 | -52/+21 |
| | | | | | | down. Thanks to Marat Radchenko <marat@slonopotamus.org> for this patch. svn path=/main/trunk/; revision=14279 | ||||
* | Fix broken virtual depth code from previous commit. | Zac Medico | 2009-09-14 | 1 | -2/+1 |
| | | | | svn path=/main/trunk/; revision=14273 | ||||
* | Add support in depgraph._add_pkg_dep_string() for adding indirect virtual | Zac Medico | 2009-09-14 | 1 | -6/+36 |
| | | | | | | | | deps to the graph. This takes advantage of circular dependency avoidance that's done by dep_zapdeps, while avoiding the dependency graph distortion reported in bug #283795. svn path=/main/trunk/; revision=14272 | ||||
* | Make depgraph._select_atoms() return a dict, in order to separate selected | Zac Medico | 2009-09-14 | 1 | -17/+30 |
| | | | | | | direct deps from indirect virtual deps. svn path=/main/trunk/; revision=14271 | ||||
* | When _expand_new_virtuals() is called by repoman, skip expansion of new-style | Zac Medico | 2009-09-14 | 1 | -5/+17 |
| | | | | | | virtuals. svn path=/main/trunk/; revision=14270 | ||||
* | Reimplement the code from bug #283795 so that indirect deps are preserved | Zac Medico | 2009-09-14 | 2 | -37/+57 |
| | | | | | | | | for later use. TODO: Write code to add selected indirect virtual deps to the graph. This will take advantage of circular dependency avoidance that's done by dep_zapdeps. svn path=/main/trunk/; revision=14269 | ||||
* | Simplify cpv_getkey() by just calling dep_getkey('=' + mycpv). | Zac Medico | 2009-09-14 | 2 | -17/+1 |
| | | | | svn path=/main/trunk/; revision=14264 | ||||
* | Make dep_getcpv() use Atom, and fall back to legacy code for backward compat. | Zac Medico | 2009-09-14 | 1 | -10/+7 |
| | | | | svn path=/main/trunk/; revision=14262 | ||||
* | Insice match_from_list(), use remove_slot() instead of dep_getcpv() where | Zac Medico | 2009-09-14 | 1 | -1/+1 |
| | | | | | | appropriate. svn path=/main/trunk/; revision=14261 | ||||
* | Use a regular expression for cpv_getkey(), and fall back to legacy code if | Zac Medico | 2009-09-14 | 2 | -0/+6 |
| | | | | | | no match is found. svn path=/main/trunk/; revision=14259 | ||||
* | Make get_operator() use Atom, and remove unnecessary reflection code from | Zac Medico | 2009-09-14 | 1 | -6/+7 |
| | | | | | | | dep_getkey(). Thanks to Marat Radchenko <marat@slonopotamus.org> for suggestions. svn path=/main/trunk/; revision=14256 | ||||
* | Make isspecific() use the Atom class and fall back to legacy code if the | Zac Medico | 2009-09-14 | 1 | -13/+9 |
| | | | | | | | atom is invalid. Also, optimize called isjustname() legacy code to only check the last 2 components. svn path=/main/trunk/; revision=14255 | ||||
* | Use the Atom class to implement dep_getkey(), and fall back to legacy code | Zac Medico | 2009-09-14 | 1 | -0/+10 |
| | | | | | | when necessary for backward compatibility. svn path=/main/trunk/; revision=14254 | ||||
* | Add more test cases. | Zac Medico | 2009-09-14 | 1 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=14253 | ||||
* | Simplify isvalidatom() to simply use the Atom class. Thanks to Marat | Zac Medico | 2009-09-14 | 1 | -33/+3 |
| | | | | | | Radchenko <marat@slonopotamus.org> for the suggestion. svn path=/main/trunk/; revision=14252 | ||||
* | Simplify the _pkg regex and fix validation for some cases by using the | Zac Medico | 2009-09-14 | 2 | -12/+41 |
| | | | | | | | | _version regex to match unwanted version-like components which can not be at the end of a _pkg match. For example isvalidatom('app-doc/php-docs-20071125-r2') now correctly returns False. svn path=/main/trunk/; revision=14251 | ||||
* | Bug #240656 - Unmerge broken symlinks where a directory was expected. | Zac Medico | 2009-09-14 | 1 | -1/+1 |
| | | | | | | (merged from branches/prefix r14248) svn path=/main/trunk/; revision=14250 |