Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Use _encodings where appropriate. | Zac Medico | 2009-08-19 | 2 | -6/+13 |
| | | | | svn path=/main/trunk/; revision=14101 | ||||
* | Use _encodings where appropriate. | Zac Medico | 2009-08-19 | 3 | -9/+20 |
| | | | | svn path=/main/trunk/; revision=14100 | ||||
* | Use _encodings where appropriate. | Zac Medico | 2009-08-19 | 2 | -7/+16 |
| | | | | svn path=/main/trunk/; revision=14099 | ||||
* | Use the new portage.output._init(config_root) function. | Zac Medico | 2009-08-18 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14089 | ||||
* | Use a clean listener system for portage.elog instead of _emerge_elog_listener | Mounir Lamouri | 2009-08-16 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=14071 | ||||
* | Scheduler is now able to clean world set when removing a package. | Mounir Lamouri | 2009-08-15 | 3 | -16/+30 |
| | | | | | | | world_atom function has been updated and PackageUninstall is calling it after unmerge. svn path=/main/trunk/; revision=14070 | ||||
* | sets/files.py cleanPackages function stop calling lock and load | Mounir Lamouri | 2009-08-15 | 1 | -2/+13 |
| | | | | | | | and requires the caller to do that changing unmerge to reflect this change svn path=/main/trunk/; revision=14069 | ||||
* | Revert r14042 since we're not going to use it. | Zac Medico | 2009-08-14 | 1 | -4/+2 |
| | | | | svn path=/main/trunk/; revision=14048 | ||||
* | Add a clean_world attribute. | Zac Medico | 2009-08-14 | 1 | -2/+4 |
| | | | | svn path=/main/trunk/; revision=14042 | ||||
* | Rename and log installed files that don't conform to portage._merge_encoding | Zac Medico | 2009-08-14 | 1 | -1/+10 |
| | | | | | | (equal to sys.getfilesystemencoding()). svn path=/main/trunk/; revision=14029 | ||||
* | Set a limit of 30 backtracking attempts, since it's possible for it to | Zac Medico | 2009-08-12 | 1 | -3/+4 |
| | | | | | | go out of control and take an unreasonable amount of time. svn path=/main/trunk/; revision=14014 | ||||
* | Add ACCEPT_PROPERTIES variable which has default value * and can be set in | Mounir Lamouri | 2009-08-11 | 1 | -0/+2 |
| | | | | | | | make.conf or /etc/portage/package.properties. If ACCEPT_PROPERTIES doesn't match ebuild PROPERTIES, the ebuild is masked. svn path=/main/trunk/; revision=13997 | ||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 13 | -110/+29 |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13995 | ||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 11 | -71/+27 |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13994 | ||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 22 | -156/+57 |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993 | ||||
* | Use writemsg_stdout() for safe unicode output of --list-sets. | Zac Medico | 2009-08-10 | 1 | -3/+2 |
| | | | | svn path=/main/trunk/; revision=13973 | ||||
* | Don't trigger the --root-deps code for removal actions such as --prune and | Zac Medico | 2009-08-10 | 1 | -7/+8 |
| | | | | | | --depclean. svn path=/main/trunk/; revision=13971 | ||||
* | In calc_depclean(), sort packages that are displayed due to being pulled | Zac Medico | 2009-08-10 | 1 | -1/+2 |
| | | | | | | in by link level dependencies. svn path=/main/trunk/; revision=13970 | ||||
* | Tweak $ROOT handling inside depgraph._add_pkg_deps() for removal actions, | Zac Medico | 2009-08-10 | 1 | -0/+2 |
| | | | | | | so --with-bdeps works correctly with --depclean and --prune. svn path=/main/trunk/; revision=13969 | ||||
* | Inside calc_depclean(), use LinkageMap.findConsumers() for checking | Zac Medico | 2009-08-10 | 1 | -15/+11 |
| | | | | | | | intersection of files being removed with providers in the LinkageMap (a KeyError is raised when there is no intersection). svn path=/main/trunk/; revision=13968 | ||||
* | Use writemsg_stdout() for safe display of unicode overlay paths. | Zac Medico | 2009-08-08 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13956 | ||||
* | Use writemsg_stdout() for safe unicode output. | Zac Medico | 2009-08-08 | 1 | -8/+18 |
| | | | | svn path=/main/trunk/; revision=13955 | ||||
* | Add missing noiselevel argument in writemsg_stdout() calls. | Zac Medico | 2009-08-08 | 1 | -3/+5 |
| | | | | svn path=/main/trunk/; revision=13954 |