Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support both Python 2 and 3 in portage._unicode_encode() and ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 2 | -2/+3 |
| | | | | | | | | portage._unicode_decode(). Update decoding in some files. svn path=/main/trunk/; revision=14321 | ||||
* | Use dep_expand instead of key_expand in the blocker display, since it seems | Zac Medico | 2009-09-21 | 1 | -3/+3 |
| | | | | | | | | like a better fit. Also, use str(atom) since we don't want to assume that Atoms are string type (though they happen to be now). This assumption is what caused the traceback in bug 285637, comment #5. svn path=/main/trunk/; revision=14320 | ||||
* | Use range() instead of xrange() for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 6 | -13/+13 |
| | | | | | | (2to3-3.1 -f xrange -nw ${FILES}) svn path=/main/trunk/; revision=14317 | ||||
* | Define basestring as str when Python 3 is used. | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 6 | -0/+22 |
| | | | | svn path=/main/trunk/; revision=14316 | ||||
* | Use filter() and zip() instead of itertools.ifilter() and itertools.izip() ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 7 | -20/+15 |
| | | | | | | | | for compatibility with Python 3. (2to3-3.1 -f itertools -f itertools_imports -nw ${FILES}) svn path=/main/trunk/; revision=14314 | ||||
* | 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 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 | 1 | -1/+7 |
| | | | | | | | with USE=build since io imports threading which imports thread which is unavailable. svn path=/main/trunk/; revision=14304 | ||||
* | Use _unicode_encode() to ensure that only unicode strings are passed into | Zac Medico | 2009-09-20 | 1 | -14/+15 |
| | | | | | | io.StringIO text streams. svn path=/main/trunk/; revision=14301 | ||||
* | Support print() function with Python 2 in more files. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 10 | -0/+20 |
| | | | | svn path=/main/trunk/; revision=14295 | ||||
* | Update system imports for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 4 | -15/+21 |
| | | | | 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 | 5 | -6/+6 |
| | | | | | | (2to3-3.1 -f numliterals -nw ${FILES}) svn path=/main/trunk/; revision=14292 | ||||
* | Update syntax of calls to print() for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 10 | -646/+645 |
| | | | | | | (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 | 18 | -73/+73 |
| | | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289 | ||||
* | Remove obsolete InvalidAtom handler in _add_pkg_dep_string(). | Zac Medico | 2009-09-19 | 1 | -15/+8 |
| | | | | svn path=/main/trunk/; revision=14283 | ||||
* | Avoid lots of redundant Atom constructor calls. Thanks to Marat Radchenko | Zac Medico | 2009-09-19 | 4 | -21/+13 |
| | | | | | | <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 | 1 | -6/+12 |
| | | | | | | 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 | ||||
* | 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 | ||||
* | Reimplement the code from bug #283795 so that indirect deps are preserved | Zac Medico | 2009-09-14 | 1 | -0/+16 |
| | | | | | | | | 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 | ||||
* | Use cpv_getkey() instead of dep_getkey() where appropriate. | Zac Medico | 2009-09-13 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14242 | ||||
* | Handle AttributeError instead of using getattr. Thanks to Marat Radchenko | Zac Medico | 2009-09-07 | 1 | -3/+3 |
| | | | | | | <slonopotamusorama@gmail.com> for reporting. svn path=/main/trunk/; revision=14209 | ||||
* | In display_news_notification(), use the exising vartree instance to populate | Zac Medico | 2009-09-06 | 1 | -0/+6 |
| | | | | | | | settings.treeVirtuals, to avoid having a temporary one instantiated. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for reporting. svn path=/main/trunk/; revision=14208 | ||||
* | Add a vardbapi._pkgs_changed attribute to use instead of PORTAGE_COUNTER_HASH | Zac Medico | 2009-09-05 | 1 | -8/+1 |
| | | | | | | | | | for emerge to check whether any packages have been added/removed. This is an optimization, since vardbapi._counter_hash() can be somewhat slow on embedded systems. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for reporting. svn path=/main/trunk/; revision=14203 | ||||
* | Inside Scheduler._check_manifests(), display all broken manifests instead of | Zac Medico | 2009-09-05 | 1 | -1/+5 |
| | | | | | | | returning after the first one. Thanks to Vlastimil Babka <caster@g.o> for the suggestion. svn path=/main/trunk/; revision=14202 | ||||
* | Use _unicode_decode() on the string returned from time.strftime(), in order | Zac Medico | 2009-09-05 | 1 | -1/+5 |
| | | | | | | | to avoid a potential UnicodeDecodeError later. Thanks to Markus Duft <mduft@gentoo.org> for reporting. svn path=/main/trunk/; revision=14201 | ||||
* | pym/portage/sets/files.py: use WORLD_FILE instead of manual reconstruction | Fabian Groffen | 2009-09-05 | 1 | -3/+2 |
| | | | | | | | | | pym/portage/const.py: introduce WORLD_SETS_FILE variable pym/portage/sets/files.py: use new WORLD_SETS_FILE var pym/_emerge/unmerge.py: likewise svn path=/main/trunk/; revision=14197 | ||||
* | consistently use CACHE_PATH with target_root, this commit needs a separate ↵ | Fabian Groffen | 2009-09-05 | 2 | -2/+2 |
| | | | | | | soon to be done commit of pym/portage/const.py to work correctly svn path=/main/trunk/; revision=14188 | ||||
* | Bug #282808 - Handle a potential KeyError inside PollScheduler._poll_loop() | Zac Medico | 2009-09-05 | 1 | -1/+8 |
| | | | | | | | when _poll_event_queue contains an event for a file descriptor that has already been unregistered. svn path=/main/trunk/; revision=14185 | ||||
* | Fix typo from previous commit. | Zac Medico | 2009-09-03 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14182 | ||||
* | Bug #283513 - Do not allow --noreplace together with --emptytree since it | Zac Medico | 2009-09-03 | 1 | -0/+6 |
| | | | | | | results in bogus masking messages. svn path=/main/trunk/; revision=14181 | ||||
* | Inside depgraph._show_unsatisfied_dep(), show reasons for packages masked due | Zac Medico | 2009-08-25 | 1 | -3/+7 |
| | | | | | | to backtracking. svn path=/main/trunk/; revision=14155 | ||||
* | Show log paths when displaying the list of failed packages for --keep-going. | Zac Medico | 2009-08-24 | 1 | -11/+14 |
| | | | | svn path=/main/trunk/; revision=14154 | ||||
* | In Scheduler._schedule_tasks_imp(), add uninstall operations to the front | Zac Medico | 2009-08-22 | 1 | -1/+1 |
| | | | | | | of the merge queue. svn path=/main/trunk/; revision=14129 | ||||
* | Make Scheduler._choose_pkg() prefer uninstall operations when available. | Zac Medico | 2009-08-22 | 1 | -3/+13 |
| | | | | svn path=/main/trunk/; revision=14128 | ||||
* | Bug #282269 - Avoid str() calls with overlay paths, which can trigger | Zac Medico | 2009-08-22 | 2 | -1/+7 |
| | | | | | | UnicodeEncodeError in python-2.x. svn path=/main/trunk/; revision=14124 | ||||
* | Add some --debug output for backtracking. Also, remove unused imports.v2.2_rc39 | Zac Medico | 2009-08-21 | 1 | -3/+31 |
| | | | | svn path=/main/trunk/; revision=14122 | ||||
* | Add support for --keep-going=n so that it can be disabled on the command line | Zac Medico | 2009-08-21 | 2 | -2/+13 |
| | | | | | | after it's been enabled in EMERGE_DEFAULT_OPTS. svn path=/main/trunk/; revision=14121 | ||||
* | Add support for --selective=n, so it can be used to remove selective | Zac Medico | 2009-08-21 | 3 | -4/+31 |
| | | | | | | behavior that may have been implied by some other option like --update. svn path=/main/trunk/; revision=14120 | ||||
* | Fix typo. | Zac Medico | 2009-08-21 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14112 | ||||
* | Use _encodings where appropriate and add _encodings['stdio'] for stdout | Zac Medico | 2009-08-21 | 1 | -1/+2 |
| | | | | | | encoding. svn path=/main/trunk/; revision=14111 | ||||
* | Use _encodings where appropriate. | Zac Medico | 2009-08-20 | 2 | -4/+12 |
| | | | | svn path=/main/trunk/; revision=14106 | ||||
* | Use _encodings where appropriate. | Zac Medico | 2009-08-20 | 1 | -7/+17 |
| | | | | svn path=/main/trunk/; revision=14105 |