summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Tweak logic from previous commit.Zac Medico2009-11-211-4/+4
| | | | svn path=/main/trunk/; revision=14858
* In depgraph._serialize_tasks(), ensure that unsolvable blockers can't beZac Medico2009-11-211-1/+3
| | | | | | accidentally marked as satisfied. svn path=/main/trunk/; revision=14857
* Fix blocker display to work properly with --tree --unordered-display.Zac Medico2009-11-211-10/+10
| | | | svn path=/main/trunk/; revision=14856
* Fix depgraph._prune_tree_display() to preserve uninstall tasks. Thanks toZac Medico2009-11-201-1/+1
| | | | | | Jonathan Callen <abcd@g.o> for reporting. svn path=/main/trunk/; revision=14855
* Bug #293730 - Fix bad || choices triggered in some cases insideZac Medico2009-11-201-1/+4
| | | | | | _dep_check_composite_db._visible() when --update is not enabled. svn path=/main/trunk/; revision=14854
* Disable backtracking in the depgraph constructor call when appropriate.Zac Medico2009-11-201-1/+1
| | | | svn path=/main/trunk/; revision=14853
* Check for updates masked by license for any installed packages that have beenZac Medico2009-11-171-2/+3
| | | | | | added to the graph (regardless of --deep or --complete-graph).. svn path=/main/trunk/; revision=14845
* In the code from bug #288083, only show one LICENSE masking message per slot.Zac Medico2009-11-151-0/+4
| | | | svn path=/main/trunk/; revision=14823
* Bug #288083 - Always warn about installed packages masked by license, sinceZac Medico2009-11-152-7/+53
| | | | | | | | the user likely wants to adjust ACCEPT_LICENSE. For updates masked by license, warn if --complete-graph or --deep is given, since otherwise it is likely a waste of time. svn path=/main/trunk/; revision=14822
* Bug #291200 - Make --quiet-build set PORTAGE_QUIET=1, so that --unmerge isZac Medico2009-11-141-1/+1
| | | | | | quiet. svn path=/main/trunk/; revision=14821
* Bug #292820 - Make the Package constructor handle invalid SLOT values.Zac Medico2009-11-121-2/+4
| | | | svn path=/main/trunk/; revision=14819
* Bug #292910 - Don't mix print() and writemsg_stdout(), in order to avoidZac Medico2009-11-121-12/+16
| | | | | | buffering issues. svn path=/main/trunk/; revision=14818
* Add setup phases to the tail of the merge queue instead of the front, sinceZac Medico2009-11-121-1/+1
| | | | | | | | otherwise when merging binary packages we sometimes tend to get a large number of setup phases flooding the queue and preventing queued installs from running. svn path=/main/trunk/; revision=14816
* Bug #292664 - Show ACCEPT_LICENSE in emerge --info.Zac Medico2009-11-111-1/+2
| | | | svn path=/main/trunk/; revision=14814
* Bug #278336 - Use adjust_config to set PORTAGE_QUIET when the config isZac Medico2009-11-092-8/+11
| | | | | | | reloaded after sync, so that PORTAGE_QUIET is set when the post_sync script is executed. svn path=/main/trunk/; revision=14805
* When displaying masking messages, show the 'dependency required by' messageZac Medico2009-11-071-1/+7
| | | | | | before the masking docs message. svn path=/main/trunk/; revision=14802
* Fix typo in comment.v2.2_rc49Zac Medico2009-11-071-1/+1
| | | | svn path=/main/trunk/; revision=14798
* Use writemsg instead of print, to send debug messages to stderr.Zac Medico2009-11-061-5/+8
| | | | svn path=/main/trunk/; revision=14784
* Bug #291200 - Add a --quiet-build option to redirect all build output to logsZac Medico2009-11-063-2/+11
| | | | | | alone, and do not display it on stdout. svn path=/main/trunk/; revision=14783
* Bug #291142 - Fix some cases when a 'missed update' message might not beZac Medico2009-11-061-1/+14
| | | | | | displayed. svn path=/main/trunk/; revision=14780
* Use writemsg instead of print, to send debug messages to stderr.Zac Medico2009-11-061-7/+12
| | | | svn path=/main/trunk/; revision=14779
* Decode git output in _emerge.actions.git_sync_timestamps() for bug #291790.Arfrever Frehtes Taifersar Arahesis2009-11-041-1/+2
| | | | svn path=/main/trunk/; revision=14777
* Inside depgraph._complete_graph(), only pull in deps for the relevant rootZac Medico2009-11-041-0/+4
| | | | | | during remove operations. Thanks to acevery for reporting. svn path=/main/trunk/; revision=14775
* Don't call FakeVartree.sync() redundantly when backtracking.Zac Medico2009-11-022-1/+11
| | | | svn path=/main/trunk/; revision=14774
* Move FakeVartree population out of the constructor by calling the sync()Zac Medico2009-11-013-9/+10
| | | | | | | method explicitly. This allows the depgraph constructor avoid populating the FakeVartree, and delay it until depgraph._load_vdb() is called. svn path=/main/trunk/; revision=14773
* Eliminate duplicate code from the FakeVartree constructor which does theZac Medico2009-11-011-45/+6
| | | | | | same thing as FakeVartree.sync(). svn path=/main/trunk/; revision=14772
* Fix --backtrack option handling.v2.2_rc48Zac Medico2009-10-311-1/+1
| | | | svn path=/main/trunk/; revision=14767
* Add a --backtrack=COUNT option to control how many times backtracking isZac Medico2009-10-313-1/+32
| | | | | | allowed, and reduce the default from 30 to 5. svn path=/main/trunk/; revision=14763
* Allow unmerge of packages from the "selected" set when a package set suchZac Medico2009-10-311-4/+3
| | | | | | | as @unavailable is given on the command line. Thanks to Vlastimil Babka <caster@g.o> for reporting. svn path=/main/trunk/; revision=14761
* Bug #290625 - Manually encode output to stdout in python3, in order to avoidZac Medico2009-10-261-5/+9
| | | | | | potential UnicodeEncodeError exceptions. svn path=/main/trunk/; revision=14734
* Take the -c option and make it mean --depclean instead of --clean, sinceZac Medico2009-10-262-5/+5
| | | | | | --clean is pretty useless anyway. svn path=/main/trunk/; revision=14731
* Add -R as a shortcut for --depclean. Thanks to Jonathan Callen <abcd@g.o> forZac Medico2009-10-262-2/+3
| | | | | | the suggestion. svn path=/main/trunk/; revision=14730
* Bug #134466 - Add a --ask-enter-invalid option. When used together with theZac Medico2009-10-245-23/+48
| | | | | | | --ask option, interpret a single "Enter" key press as invalid input. This helps prevent accidental acceptance of the first choice. svn path=/main/trunk/; revision=14710
* Add --help output for --unordered-display, and move man page docs from theZac Medico2009-10-231-0/+9
| | | | | | actions to the options section. svn path=/main/trunk/; revision=14708
* Factor vdb loading code out of the depgraph constructor, since this procedureZac Medico2009-10-231-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. svn path=/main/trunk/; revision=14705
* Factor out duplicate "These are the packages that would be merged",Zac Medico2009-10-233-71/+63
| | | | | | "Calculating dependencies", and spinner cleanup code. svn path=/main/trunk/; revision=14704
* Add a --unordered-display option for use with --tree. This allows the displayZac Medico2009-10-234-7/+54
| | | | | | | to be optimized differently since the merge order is not preserved. Thanks to Sebastian Mingramm (few) for the initial patch. svn path=/main/trunk/; revision=14703
* Factor the --tree code out of depgraph.display().Zac Medico2009-10-231-136/+146
| | | | svn path=/main/trunk/; revision=14702
* Add support for display of nested sets in --depclean and --prune reverseZac Medico2009-10-192-42/+62
| | | | | | | dependency output. This also fixes a bug from the 'selected' set changes which could cause the system set to be disregarded in some cases. svn path=/main/trunk/; revision=14680
* Convert --select to boolean True when enabled, so --resume code handlesZac Medico2009-10-181-0/+1
| | | | | | it like other boolean options. svn path=/main/trunk/; revision=14667
* Warn aabout default world and system set configuration being used whenZac Medico2009-10-181-0/+1
| | | | | | | sets.conf is corrupt. Thanks to Thanks to Sebastian Mingramm (few) for the suggestion. svn path=/main/trunk/; revision=14666
* Add a --use-ebuild-visibility option, for using unbuilt ebuild metadataZac Medico2009-10-183-1/+21
| | | | | | | in visibility checks for built ebuilds. Thanks to Sebastian Mingramm (few) for reporting the problem and testing the patch. svn path=/main/trunk/; revision=14665
* Call config._init_dirs() from emerge so that it's not called every timeZac Medico2009-10-181-0/+1
| | | | | | the portage api is imported. svn path=/main/trunk/; revision=14631
* Automatically create a fallback setconfig, so emerge isn't crippled due toZac Medico2009-10-181-25/+51
| | | | | | | | misssing/corrupt/outdated sets.conf. This is especially important since WorldSet has been renamed to WorldSelectedSet, and thus new and old sets.conf files are incompatible. svn path=/main/trunk/; revision=14630
* Bug #287869 - Add a --selective[=n] option (inverse of --oneshot). This isZac Medico2009-10-162-0/+21
| | | | | | | useful if you want to use EMERGE_DEFAULT_OPTS to make --oneshot behavior default. svn path=/main/trunk/; revision=14615
* Bug #266454 - Make @world an all-inclusive set once again, like it was priorZac Medico2009-10-167-41/+43
| | | | | | | | to portage-2.2_rc* releases. In addition to @system, @world now includes a @selected set which represents user-selected "world" packages and sets that saved in /var/lib/portage/world{,sets}. svn path=/main/trunk/; revision=14614
* Remove soname_cache inside calc_depclean() since LinkageMap caches thatZac Medico2009-10-161-5/+1
| | | | | | already. svn path=/main/trunk/; revision=14613
* TODO: Make resume_depgraph() return reasons for dropped_tasks, forZac Medico2009-10-161-0/+1
| | | | | | display/logging. svn path=/main/trunk/; revision=14611
* Bug #289068 - Avoid KeyError: USE when depgraph calls _getMissingLicenses.Zac Medico2009-10-161-0/+3
| | | | svn path=/main/trunk/; revision=14610
* Bug #288906 - Fix Scheduler._dblink_elog() to always append messages to theZac Medico2009-10-141-14/+19
| | | | | | build log if available (regardless whether or not message goes to stdout). svn path=/main/trunk/; revision=14600