summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* When overridding sys.std* in python2, use binary streams.Zac Medico2009-12-091-6/+8
| | | | svn path=/main/trunk/; revision=14974
* When temporarily replacing the sys.std* streams, use the normal open() funcZac Medico2009-12-081-3/+13
| | | | | | | in python3 so that we get the right class (otherwise our code that expects the 'buffer' attribute will break). svn path=/main/trunk/; revision=14971
* Bug #295715 - Implement a register_success_hook function to complementZac Medico2009-12-063-22/+51
| | | | | | | register_die_hook, and also add code to ensure the die hooks are called even when the failure is on the python side (like for file collisions). svn path=/main/trunk/; revision=14936
* Add 'tla' to the lists of live eclasses.Zac Medico2009-12-061-1/+2
| | | | svn path=/main/trunk/; revision=14935
* Add a AbstractEbuildProcess class for MiscFunctionsProcess to inherit theZac Medico2009-12-063-23/+34
| | | | | | _pipe and _can_log methods that used to be in the EbuildProcess class. svn path=/main/trunk/; revision=14933
* Use portage.StringIO to avoid duplicate import fallback code.Zac Medico2009-12-062-15/+2
| | | | svn path=/main/trunk/; revision=14931
* Bug #162404 - Automatically disable logging if sesandbox is enabled and aZac Medico2009-12-052-1/+14
| | | | | | | pty is not available for some reason (currently they are never available with python3). svn path=/main/trunk/; revision=14928
* Always append QA Notices resulting from the build log search to the end ofZac Medico2009-12-051-4/+11
| | | | | | the log. Thanks to Diego E. Pettenò for reporting. svn path=/main/trunk/; revision=14927
* Bug #280336, comment #2 - Clear the package selection cache when packagesv2.2_rc55Zac Medico2009-12-031-0/+1
| | | | | | | are added to the graph. This fixes incorrect choices that happen in some cases. svn path=/main/trunk/; revision=14922
* Bug #294945 - Fix blocker satistfied state handling inside depgraph, toZac Medico2009-11-281-4/+10
| | | | | | avoid a KeyError when displaying blockers. svn path=/main/trunk/; revision=14914
* Revert r14901 since it doesn't solve the problem (bug #294945).Zac Medico2009-11-281-5/+1
| | | | svn path=/main/trunk/; revision=14913
* In FakeVartree.sync(), skip the aux_get wrapper when populating old-stylev2.2_rc53Zac Medico2009-11-271-1/+7
| | | | | | | virtuals, in order to avoid unwanted cache generation with --nodeps (reported by Arfrever). svn path=/main/trunk/; revision=14909
* Handle a KeyError in depgraph._ordered_tree_display(), reported on irc byZac Medico2009-11-271-1/+5
| | | | | | romildo. svn path=/main/trunk/; revision=14901
* In calc_depclean(), load the FakeVartree before using it. This fixesZac Medico2009-11-271-1/+1
| | | | | | | a regression which causes incomplete graph creation (since r14773). Thanks to Vlastimil Babka <caster@g.o> for reporting. svn path=/main/trunk/; revision=14899
* Set built=True when creating Package instances. This fixes a problem withv2.2_rc52Zac Medico2009-11-251-1/+1
| | | | | | --resume, reported by Sebastian Mingramm (few). svn path=/main/trunk/; revision=14886
* Bug #293614 - When the backtracking limit is reached and there is a SLOTZac Medico2009-11-231-0/+8
| | | | | | | conflict to display, hint that a larger --backtrack value might solve the conflict automatically. svn path=/main/trunk/; revision=14875
* Optimized the code for bug #288083 and make it handle more cases. Now Packagev2.2_rc51Zac Medico2009-11-214-97/+116
| | | | | | | instances have 'visible' and 'masks' attributes, since this information needs to be accessed in more places now. svn path=/main/trunk/; revision=14859
* 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