Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update syntax of calls to print() for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 1 | -57/+57 |
| | | | | | | (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 | 1 | -19/+19 |
| | | | | | | (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 | 1 | -16/+10 |
| | | | | | | <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 | ||||
* | 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 | ||||
* | 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 | ||||
* | Bug #282269 - Avoid str() calls with overlay paths, which can trigger | Zac Medico | 2009-08-22 | 1 | -1/+3 |
| | | | | | | 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 | ||||
* | 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 | ||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 1 | -8/+2 |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13995 | ||||
* | 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 | ||||
* | 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 | ||||
* | Use writemsg_stdout() for safe display of unicode overlay paths. | Zac Medico | 2009-08-08 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13956 | ||||
* | Add missing noiselevel argument in writemsg_stdout() calls. | Zac Medico | 2009-08-08 | 1 | -3/+5 |
| | | | | svn path=/main/trunk/; revision=13954 | ||||
* | Use writemsg_stdout() for safe unicode output. | Zac Medico | 2009-08-07 | 1 | -17/+3 |
| | | | | svn path=/main/trunk/; revision=13948 | ||||
* | Open file in text mode (unicode) where appropriate. | Zac Medico | 2009-08-05 | 1 | -0/+8 |
| | | | | svn path=/main/trunk/; revision=13913 | ||||
* | Avoid UnicodeEncodeError with unicode package.mask comments. Thanks to | Zac Medico | 2009-08-04 | 1 | -0/+5 |
| | | | | | | Thanks to Scott Moreau (soreau) for reporting. svn path=/main/trunk/; revision=13910 | ||||
* | Fix NameError from r13880. Thanks to Arfrever for reporting. | Zac Medico | 2009-08-03 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13883 | ||||
* | Bug #278729 - Add an Atom.without_use attribute which is identical to the | Zac Medico | 2009-08-03 | 1 | -15/+3 |
| | | | | | | atom itself, except without any USE dependencies. svn path=/main/trunk/; revision=13880 | ||||
* | In depgraph._show_slot_collision_notice(), display $ROOT (if not /) with each | Zac Medico | 2009-07-30 | 1 | -0/+2 |
| | | | | | | slot atom. svn path=/main/trunk/; revision=13865 | ||||
* | Fix depgraph._show_missed_update() to keep each $ROOT separate. | Zac Medico | 2009-07-29 | 1 | -4/+8 |
| | | | | svn path=/main/trunk/; revision=13855 | ||||
* | Account for $ROOT inside depgraph._show_missed_update_unsatisfied_dep(). | Zac Medico | 2009-07-29 | 1 | -4/+3 |
| | | | | svn path=/main/trunk/; revision=13854 | ||||
* | Remove redundant loop inside depgraph._show_missed_update_slot_conflicts(). | Zac Medico | 2009-07-28 | 1 | -12/+12 |
| | | | | svn path=/main/trunk/; revision=13853 | ||||
* | When backtracking due to an unsatisfied dependency, show a normal unsatisfied | Zac Medico | 2009-07-28 | 1 | -3/+49 |
| | | | | | | | dependency message for the given atom. Thanks to Thomas Sachau <tommy@gentoo.org> for reporting. svn path=/main/trunk/; revision=13852 | ||||
* | Fix --onlydeps breakage. Thanks to Arfrever for reporting. | Zac Medico | 2009-07-25 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13851 | ||||
* | For unsatisfied USE dependencies, do not backtrack if only USE have to change | Zac Medico | 2009-07-16 | 1 | -4/+16 |
| | | | | | | | in order to be satisfied. Thanks to Thomas Sachau <tommy@gentoo.org> fo reporting. svn path=/main/trunk/; revision=13832 | ||||
* | Allow search and depgraph to avoid spinner by using spinner=None | Mounir Lamouri | 2009-07-12 | 1 | -9/+13 |
| | | | | svn path=/main/trunk/; revision=13822 | ||||
* | In depgraph._show_missed_update(), don't show installed packages since we | Zac Medico | 2009-07-12 | 1 | -0/+4 |
| | | | | | | only want to show available updates. svn path=/main/trunk/; revision=13819 | ||||
* | Move the backtracking code from action_build() to a new backtrack_depgraph() | Zac Medico | 2009-07-12 | 1 | -0/+32 |
| | | | | | | function. svn path=/main/trunk/; revision=13818 | ||||
* | Eliminate duplicate code inside depgraph._show_missed_update(). | Zac Medico | 2009-07-11 | 1 | -14/+9 |
| | | | | svn path=/main/trunk/; revision=13817 | ||||
* | Bug #137562 - Implement backtracking for missing dependencies. Thanks to | Zac Medico | 2009-07-11 | 1 | -0/+25 |
| | | | | | | | Sebastian Mingramm (few) <s.mingramm@gmx.de> for the initial patch which only needed minor changes. svn path=/main/trunk/; revision=13816 | ||||
* | Allow --deep to take an optional integer parameter, to specify how deep it | Zac Medico | 2009-07-09 | 1 | -9/+11 |
| | | | | | | | should go. Also make --update so it no longer implies the equivalent of --deep=1. To get the old --update behavior, use --update --deep=1. svn path=/main/trunk/; revision=13812 | ||||
* | Use a dict for depgraph params, so we can use it to store key/value pairs | Zac Medico | 2009-07-09 | 1 | -4/+4 |
| | | | | | | and fix the depgraph so it doesn't use emerge options directly. svn path=/main/trunk/; revision=13809 | ||||
* | Add a --debug warning message inside _add_pkg in case a potentially infinite | Zac Medico | 2009-07-08 | 1 | -0/+12 |
| | | | | | | backtracking loop is detected (it should never happen). svn path=/main/trunk/; revision=13808 | ||||
* | Bug #276866 - --binpkg-respect-use < y | n > | Zac Medico | 2009-07-07 | 1 | -2/+4 |
| | | | | | | | | | Tells emerge to ignore binary packages if their use flags don't match the current configuration. (default: ´n´) Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch (small tweaks by me). svn path=/main/trunk/; revision=13802 | ||||
* | Use PackageSet.findAtomForPackage() when matching the existing node against | Zac Medico | 2009-07-06 | 1 | -1/+4 |
| | | | | | | the atom inside _select_pkg_highest_available_imp(), for PROVIDE support. svn path=/main/trunk/; revision=13794 | ||||
* | Make sure avoid_update always returns existing_node if available. | Zac Medico | 2009-07-05 | 1 | -0/+2 |
| | | | | svn path=/main/trunk/; revision=13789 | ||||
* | Remove the --avoid-update option and make it the default behavior when | Zac Medico | 2009-07-04 | 1 | -1/+1 |
| | | | | | | | --update is not specified, as suggested by Allen Brooker (AllenJB) <gentoo-bugs@allenjb.me.uk> in bug #275945, comment #2. svn path=/main/trunk/; revision=13772 | ||||
* | Disable depgraph._show_missed_update() when --quiet is enabled and --debug | Zac Medico | 2009-07-04 | 1 | -0/+4 |
| | | | | | | is not enabled. svn path=/main/trunk/; revision=13771 | ||||
* | Bug #275217 - Part 5 - When a slot conflict occurs, mask the first package | Zac Medico | 2009-07-04 | 1 | -8/+104 |
| | | | | | | | | | | | | | that got pulled in and restart the calculation. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for the initial patch which I added some additional features to: * display message about missed updates * cache frozen_config instance, to optimize performance * disable backtracking if it fails, fall back to a normal dep calculation + error message. svn path=/main/trunk/; revision=13769 | ||||
* | Fix broken reference to self.myopts in the dynamic_config constructor. | Zac Medico | 2009-07-03 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=13762 | ||||
* | Use the new frozen_config depgraph constructor parameter to optimize | Zac Medico | 2009-07-03 | 1 | -1/+3 |
| | | | | | | resume_depgraph(). svn path=/main/trunk/; revision=13761 | ||||
* | Add a frozen_config parameter to the depgraph constructor, so that multiple | Zac Medico | 2009-07-03 | 1 | -95/+102 |
| | | | | | | | depgraph instances created for backtracking purposes can reuse the same frozen_config instance. svn path=/main/trunk/; revision=13760 | ||||
* | Use depgraph._pkg() whenever possible. | Zac Medico | 2009-07-03 | 1 | -32/+13 |
| | | | | svn path=/main/trunk/; revision=13759 | ||||
* | Move RootConfig.visible_pkgs to dynamic_config._visible_pkgs, so RootConfig | Zac Medico | 2009-07-02 | 1 | -2/+7 |
| | | | | | | can be considered entirely "frozen". svn path=/main/trunk/; revision=13758 | ||||
* | Fix reversal in --nodeps merge order. Thanks to Michael Haubenwallner | Zac Medico | 2009-07-02 | 1 | -1/+0 |
| | | | | | | <haubi@gentoo.org> for reporting. svn path=/main/trunk/; revision=13757 |