summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/depgraph.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Make depgraph._serialize_tasks show a debug message when itZac Medico2010-05-301-0/+12
| | | | | enables 'complete' mode due to an uninstall, and fix the Package.__str__ method to display uninstall tasks properly.
* Move imports to the top and use textwrap.wrap() instead of the formatterZac Medico2010-05-291-14/+9
| | | | module where appropriate.
* Fix --rebuilt-binaries code to return existing_node where appropriate.Zac Medico2010-05-271-2/+2
|
* Tweak --rebuilt-binaries code to solve bug #306659 once again (logicZac Medico2010-05-271-2/+4
| | | | was reverted by the --rebuilt-binaries-timestamp patch).
* Add --rebuilt-binaries-timestamp optionSebastian Luther2010-05-271-4/+22
| | | | | | | This option makes emerge ignore binaries that would have been used for --rebuilt-binaries, if they are older than the given timestamp. Binaries are only reinstalled if they have a newer BUILD_TIME than the installed package (not only unequal) with this option.
* Bug #310947 - When expanding categories for atoms inside select_files,Zac Medico2010-05-271-2/+19
| | | | | make sure packages are available besides the installed one when preferring the category of an installed package.
* Add _emerge.Package.iuse.get_missing_iuse to return missing IUSE flags. ↵Sebastian Luther2010-05-251-2/+2
| | | | Restore original behavior of is_valid_flag.
* _emerge.depgraph._show_unsatisfied_dep(): Do an ealier missing IUSE check ↵Sebastian Luther2010-05-251-10/+7
| | | | and simplify some related code
* Simplify code by passing a list of flags to Package.iuse.is_valid_flagSebastian Luther2010-05-251-5/+1
|
* _emerge.depgraph._show_unsatisfied_dep(): properly check if something ↵Sebastian Luther2010-05-251-1/+1
| | | | belongs into missing_use
* Make parent_use parameter for portage.dep.Atom.violated_conditionals() ↵Sebastian Luther2010-05-251-3/+2
| | | | optional (for evaluated atoms)
* Fix traceback in _show_unsatisfied_dep, reported on forums:Zac Medico2010-05-251-1/+2
| | | | | | | | http://forums.gentoo.org/viewtopic-t-829445.html?sid=58b3b5cec88b8e2ffebc9991c90a473e File "/usr/lib/portage/pym/_emerge/depgraph.py", line 2273, in _show_unsatisfied_dep if not (violated_atom.use.enabled or violated_atom.use.disabled): AttributeError: 'NoneType' object has no attribute 'enabled'
* _emerge.depgraph._show_slot_collision_notice(): Improve atom list prunningSebastian Luther2010-05-221-6/+12
|
* _emerge.depgraph._show_unsatisfied_dep(): Suggest changing USE on the parent ↵Sebastian Luther2010-05-211-1/+29
| | | | if possible
* Fix depgraph.schedulerGraph() to break DepPriority.satisfied attributesZac Medico2010-05-201-0/+10
| | | | which reference installed Package instances.
* If a dependency is installed but masked, try to pull in an unmasked versionZac Medico2010-05-201-4/+23
| | | | even when --deep is not specified. Thanks to Daniel Robbins for reporting.
* Make the non --update package selection logic avoid installed packages ifZac Medico2010-05-201-1/+5
| | | | they are masked. Thanks to Daniel Robbins for reporting.
* Make the non --update package selection logic avoid installed packages ifZac Medico2010-05-201-1/+1
| | | | they are masked. Thanks to Daniel Robbins for reporting.
* Use Atom.unevaluated_atom in depgraph._show_slot_collision_notice()Sebastian Luther2010-05-201-1/+1
|
* Support specifying exclude list as multiple arguments.Michał Górny2010-05-191-1/+1
| | | | | | | Instead of relying on user to provide the whole exclude list as a space-separated list in a single argument (which is uncomfortable), allow him/her to specify '--exclude' multiple times, joining the provided atom lists together.
* Fix --resume to support --exclude.Zac Medico2010-05-151-0/+4
|
* Add missing newline from previous commit.Zac Medico2010-05-061-1/+1
|
* Bug #317775 - In depgraph.display() use writemsg_stdout() to avoidZac Medico2010-05-061-7/+4
| | | | UnicodeEncodeError.
* Make myopts["--exclude"] a plain string in order to avoid issues with mtimedbZac Medico2010-05-051-1/+5
| | | | unpickling.
* Tweak packages_with_invalid_use_config handling:Zac Medico2010-04-291-4/+8
| | | | | | * Ignore IUSE since those can't be changed by the user. * Only add unbuilt ebuilds to the list since USE can't be changed for built ebuilds.
* Add --exclude optionSebastian Luther2010-04-291-0/+24
|
* Use is_valid_flag.Zac Medico2010-04-271-2/+1
|
* Initialize missing_iuse.Zac Medico2010-04-271-0/+1
|
* Check USE deps all in one place (and fix some bugs).Zac Medico2010-04-271-17/+18
|
* Add a comment about special USE deps handling which is required in order toZac Medico2010-04-271-0/+3
| | | | avoid missing updates.
* Make iuse_implicit_re private for now.Zac Medico2010-04-271-1/+1
|
* --update: don't ignore higher versions because of missing IUSESebastian Luther2010-04-271-1/+12
|
* --update: don't match lower versions if the higher versions have the wrong ↵Sebastian Luther2010-04-271-0/+16
| | | | use config
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Show masking reasons for --binpkg-respect-use. Thanks to Sebastian LutherZac Medico2010-03-211-0/+2
| | | | | | (few) for this patch. svn path=/main/trunk/; revision=15840
* Only try to merge portage asap when the new version is different.v2.2_rc67Zac Medico2010-03-101-1/+3
| | | | svn path=/main/trunk/; revision=15813
* Only create implicit libc deps when the version changes.Zac Medico2010-03-091-1/+4
| | | | svn path=/main/trunk/; revision=15810
* Disable implicit libc deps for ROOT != "/" since it's probably not needed.Zac Medico2010-03-091-1/+1
| | | | svn path=/main/trunk/; revision=15809
* Merge libc asap for all roots instead of just ROOT="/".Zac Medico2010-03-091-6/+7
| | | | svn path=/main/trunk/; revision=15804
* Bug #307409 - Force --verbose mode when displaying circular deps.Zac Medico2010-03-081-1/+1
| | | | svn path=/main/trunk/; revision=15765
* Add new colors for binary packages in the merge list. Thanks to SebastianZac Medico2010-03-031-5/+13
| | | | | | Luther (few) for this patch. svn path=/main/trunk/; revision=15739
* Bug #306659 - For --rebuilt-binaries, only reinstall if binary packageZac Medico2010-03-021-2/+7
| | | | | | | BUILD_TIME is non-empty, in order to avoid cases like to bug #306659 where BUILD_TIME fields are missing in local and/or remote Packages file. svn path=/main/trunk/; revision=15513
* Bug #307235 - Inside depgraph._add_dep, discard child choices for deps thatZac Medico2010-03-011-0/+4
| | | | | | | will be not be processed immediately, since "complete" mode may select a different child later. svn path=/main/trunk/; revision=15503
* Move dep_expand and cpv_expand into portage.dbapi submodules.Zac Medico2010-02-251-1/+2
| | | | svn path=/main/trunk/; revision=15460
* Fix a logic error which causes blockers from installed packages to beZac Medico2010-02-241-1/+8
| | | | | | ignored in some cases. Thanks to Brian Dolbec (dol-sen) for reporting. svn path=/main/trunk/; revision=15446
* Use lazy import for the portage.dbapi module.Zac Medico2010-02-221-2/+3
| | | | svn path=/main/trunk/; revision=15419
* Use Atom.cp instead of dep_getkey.Zac Medico2010-02-191-7/+4
| | | | svn path=/main/trunk/; revision=15401
* Fix deprecated usage of dep_getkey.Zac Medico2010-02-191-1/+1
| | | | svn path=/main/trunk/; revision=15396
* Fix deprecated usage of dep_getkey.Zac Medico2010-02-191-3/+1
| | | | svn path=/main/trunk/; revision=15383
* Allow --rebuilt-binaries to trigger downgrades.Zac Medico2010-02-181-2/+1
| | | | svn path=/main/trunk/; revision=15373