summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/depgraph.py
Commit message (Collapse)AuthorAgeFilesLines
* When displaying masking messages, show the 'dependency required by' messageZac Medico2009-11-161-1/+7
| | | | | | before the masking docs message. (trunk r14802) svn path=/main/branches/2.1.7/; revision=14825
* Fix typo in comment. (trunk r14798)v2.1.7.4Zac Medico2009-11-071-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=14799
* Use writemsg instead of print, to send debug messages to stderr. (trunk r14784)Zac Medico2009-11-071-5/+8
| | | | svn path=/main/branches/2.1.7/; revision=14797
* Bug #291142 - Fix some cases when a 'missed update' message might not beZac Medico2009-11-071-1/+14
| | | | | | displayed. (trunk r14780) svn path=/main/branches/2.1.7/; revision=14793
* Use writemsg instead of print, to send debug messages to stderr. (trunk r14779)Zac Medico2009-11-071-7/+12
| | | | svn path=/main/branches/2.1.7/; revision=14792
* Inside depgraph._complete_graph(), only pull in deps for the relevant rootZac Medico2009-11-071-0/+4
| | | | | | during remove operations. Thanks to acevery for reporting. (trunk r14775) svn path=/main/branches/2.1.7/; revision=14788
* Don't call FakeVartree.sync() redundantly when backtracking. (trunk r14774)Zac Medico2009-11-071-1/+4
| | | | svn path=/main/branches/2.1.7/; revision=14787
* Move FakeVartree population out of the constructor by calling the sync()Zac Medico2009-11-071-1/+5
| | | | | | | | method explicitly. This allows the depgraph constructor avoid populating the FakeVartree, and delay it until depgraph._load_vdb() is called. (trunk r14773) svn path=/main/branches/2.1.7/; revision=14786
* Fix --backtrack option handling. (trunk r14767)v2.1.7.3Zac Medico2009-10-311-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=14768
* Add a --backtrack=COUNT option to control how many times backtracking isZac Medico2009-10-311-1/+1
| | | | | | allowed, and reduce the default from 30 to 5. (trunk r14763) svn path=/main/branches/2.1.7/; revision=14766
* Factor vdb loading code out of the depgraph constructor, since this procedureZac Medico2009-10-241-18/+44
| | | | | | | | is slow and it generates spinner output, which isn't very nice behavior for a constructor. Now it's called on-demand by various methods when necessary. (trunk r14705) svn path=/main/branches/2.1.7/; revision=14714
* Factor out duplicate "These are the packages that would be merged",Zac Medico2009-10-241-0/+62
| | | | | | "Calculating dependencies", and spinner cleanup code. (trunk r14704) svn path=/main/branches/2.1.7/; revision=14713
* Add a --unordered-display option for use with --tree. This allows the displayZac Medico2009-10-241-2/+37
| | | | | | | to be optimized differently since the merge order is not preserved. Thanks to Sebastian Mingramm (few) for the initial patch. (trunk r14703) svn path=/main/branches/2.1.7/; revision=14712
* Factor the --tree code out of depgraph.display(). (trunk r14702)Zac Medico2009-10-241-136/+146
| | | | svn path=/main/branches/2.1.7/; revision=14711
* Add support for display of nested sets in --depclean and --prune reverseZac Medico2009-10-191-5/+19
| | | | | | | | dependency output. This also fixes a bug from the 'selected' set changes which could cause the system set to be disregarded in some cases. (trunk r14680) svn path=/main/branches/2.1.7/; revision=14691
* Add a --use-ebuild-visibility option, for using unbuilt ebuild metadataZac Medico2009-10-191-1/+3
| | | | | | | in visibility checks for built ebuilds. Thanks to Sebastian Mingramm (few) for reporting the problem and testing the patch. (trunk r14665) svn path=/main/branches/2.1.7/; revision=14685
* Merge the internal package set changes from trunk r14614 (bug #266454). NoneZac Medico2009-10-181-10/+11
| | | | | | | of these changes should be noticeable to users. This is just to keep the diff relative to trunk as small as possible. svn path=/main/branches/2.1.7/; revision=14642
* TODO: Make resume_depgraph() return reasons for dropped_tasks, forZac Medico2009-10-181-0/+1
| | | | | | display/logging. (trunk r14611) svn path=/main/branches/2.1.7/; revision=14640
* Bug #289068 - Avoid KeyError: USE when depgraph calls _getMissingLicenses.Zac Medico2009-10-181-0/+3
| | | | | | (trunk r14610) svn path=/main/branches/2.1.7/; revision=14639
* Revert the rest of the package sets related code and docs, to behave like theZac Medico2009-10-101-1/+1
| | | | | | 2.1.6 branch. svn path=/main/branches/2.1.7/; revision=14549
* Fix _set module imports for rename, add hardcoded config for system and world,Zac Medico2009-10-101-2/+2
| | | | | | and remove unused sets code. svn path=/main/branches/2.1.7/; revision=14540
* Fix ugly 'Candidates' --debug output.Zac Medico2009-10-091-1/+5
| | | | svn path=/main/trunk/; revision=14535
* Fix "TabError: inconsistent use of tabs and spaces in indentation" with ↵Arfrever Frehtes Taifersar Arahesis2009-10-091-1/+1
| | | | | | Python 3 which was introduced in r14522. svn path=/main/trunk/; revision=14524
* Bug #271551 - Inside depgraph.select_files(), avoid bailing out due to anZac Medico2009-10-091-0/+12
| | | | | | | ambiguous package name in cases when all but one of the resolved packages are virtual. Thanks to Sebastian Mingramm (few) for this patch. svn path=/main/trunk/; revision=14522
* Bug #267468 - Display the total number of binary packages in the mergeZac Medico2009-10-091-0/+10
| | | | | | list. Thanks to Sebastian Mingramm (few) for this patch. svn path=/main/trunk/; revision=14520
* Bug #285832 - When updates are missed due to dependencies that have beenZac Medico2009-10-031-1/+44
| | | | | | | masked by backtracking, abbreviate output in order to avoid terminal flooding. svn path=/main/trunk/; revision=14476
* Bug #287333 - If posible, use ebuild from tree when checking for keyword maskZac Medico2009-10-021-7/+6
| | | | | | on installed packages. svn path=/main/trunk/; revision=14474
* Bug #287333 - Fix the code from bug #252167 so it behaves consistentlyZac Medico2009-10-021-4/+3
| | | | | | regardless of the package (ebuild or binpkg) being masked. svn path=/main/trunk/; revision=14472
* Fix breakage in file path -> package lookup code.Zac Medico2009-09-281-1/+1
| | | | svn path=/main/trunk/; revision=14455
* Bug #286522 - Check all portdbapi.findname return values in case itZac Medico2009-09-261-7/+13
| | | | | | returns None, and raise 'ebuild not found' exceptions when necessary. svn path=/main/trunk/; revision=14442
* Bug #285767 - Add support to to identify and eliminate redundant packageZac Medico2009-09-251-7/+88
| | | | | | selections when multiple atoms happen to specify a version range. svn path=/main/trunk/; revision=14432
* Fix UnboundLocalError triggered by atom without category for nonexistentZac Medico2009-09-251-1/+1
| | | | | | package. Thanks to Jeremy Olexa <darkside@gentoo.org> for reporting. svn path=/main/trunk/; revision=14431
* Use next(iterator) instead of iterator.next() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-211-4/+4
| | | | | | (2to3-3.1 -f next -nw ${FILES}) svn path=/main/trunk/; revision=14355
* Define long as int when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-211-0/+1
| | | | svn path=/main/trunk/; revision=14343
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-15/+15
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Use dep_expand instead of key_expand in the blocker display, since it seemsZac Medico2009-09-211-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 Arahesis2009-09-211-6/+6
| | | | | | (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 Arahesis2009-09-211-0/+3
| | | | svn path=/main/trunk/; revision=14316
* Use filter() and zip() instead of itertools.ifilter() and itertools.izip() ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-3/+3
| | | | | | | | 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 constructorZac Medico2009-09-211-20/+19
| | | | | | never has to construct one. svn path=/main/trunk/; revision=14311
* Fix redundant Atom construtor call in _show_unsatisfied_dep().Zac Medico2009-09-211-1/+0
| | | | svn path=/main/trunk/; revision=14309
* Fix typo from previous commit.Zac Medico2009-09-201-1/+1
| | | | svn path=/main/trunk/; revision=14306
* Fix depgraph._validate_blockers() so that it doesn't do prohibited Atom(Atom)Zac Medico2009-09-201-5/+4
| | | | | | constructor calls. svn path=/main/trunk/; revision=14305
* Support print() function with Python 2 in more files.Arfrever Frehtes Taifersar Arahesis2009-09-201-0/+2
| | | | svn path=/main/trunk/; revision=14295
* Update syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-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 Arahesis2009-09-201-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 Medico2009-09-191-15/+8
| | | | svn path=/main/trunk/; revision=14283
* Avoid lots of redundant Atom constructor calls. Thanks to Marat RadchenkoZac Medico2009-09-191-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-styleZac Medico2009-09-191-6/+12
| | | | | | virtuals, and update the corresponding depgraph code. svn path=/main/trunk/; revision=14281
* Fix broken virtual depth code from previous commit.Zac Medico2009-09-141-2/+1
| | | | svn path=/main/trunk/; revision=14273