summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* If the TERM environment variable is unset then just use internal defaultZac Medico2009-12-241-1/+3
| | | | | | | term codes since the vt100 codes typically produce strange output. This fixes strange output from catalyst stage1 builds. (trunk r15129) svn path=/main/branches/2.1.7/; revision=15141
* When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of theZac Medico2009-12-243-4/+6
| | | | | | | float st_mtime in order to avoid rounding *up* in some rare cases. (trunk r15125) svn path=/main/branches/2.1.7/; revision=15137
* Fix typo. (trunk r15099)Zac Medico2009-12-171-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15104
* Warn if /proc is not mounted. (trunk r15097)Zac Medico2009-12-171-0/+11
| | | | svn path=/main/branches/2.1.7/; revision=15102
* Inside depgraph._validate_blockers(), do not consider blockers in DEPEND ofZac Medico2009-12-132-4/+14
| | | | | | | installed packages, since DEPEND is supposed to be irrelevant for packages after they are built. (trunk r15056) svn path=/main/branches/2.1.7/; revision=15089
* When overridding sys.std* in python2, use binary streams. (trunk r14974)Zac Medico2009-12-101-6/+8
| | | | svn path=/main/branches/2.1.7/; revision=15008
* When temporarily replacing the sys.std* streams, use the normal open() funcZac Medico2009-12-101-3/+13
| | | | | | | in python3 so that we get the right class (otherwise our code that expects the 'buffer' attribute will break). (trunk r14971) svn path=/main/branches/2.1.7/; revision=15005
* 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). (trunk r14936) svn path=/main/branches/2.1.7/; revision=14950
* Add 'tla' to the lists of live eclasses. (trunk r14935)Zac Medico2009-12-061-1/+2
| | | | svn path=/main/branches/2.1.7/; revision=14949
* 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. (trunk r14933) svn path=/main/branches/2.1.7/; revision=14947
* Use portage.StringIO to avoid duplicate import fallback code. (trunk r14931)Zac Medico2009-12-062-15/+2
| | | | svn path=/main/branches/2.1.7/; revision=14945
* Bug #162404 - Automatically disable logging if sesandbox is enabled and aZac Medico2009-12-062-1/+14
| | | | | | | pty is not available for some reason (currently they are never available with python3). (trunk r14928) svn path=/main/branches/2.1.7/; revision=14942
* Always append QA Notices resulting from the build log search to the end ofZac Medico2009-12-061-4/+11
| | | | | | the log. Thanks to Diego E. Pettenò for reporting. (trunk r14927) svn path=/main/branches/2.1.7/; revision=14941
* Bug #280336, comment #2 - Clear the package selection cache when packagesv2.1.7.10Zac Medico2009-12-031-0/+1
| | | | | | | are added to the graph. This fixes incorrect choices that happen in some cases. (trunk r14922) svn path=/main/branches/2.1.7/; revision=14924
* Bug #294945 - Fix blocker satistfied state handling inside depgraph, toZac Medico2009-11-281-4/+10
| | | | | | avoid a KeyError when displaying blockers. (trunk r14914) svn path=/main/branches/2.1.7/; revision=14917
* Revert r14901 since it doesn't solve the problem (bug #294945). (trunk r14913)Zac Medico2009-11-281-5/+1
| | | | svn path=/main/branches/2.1.7/; revision=14916
* In FakeVartree.sync(), skip the aux_get wrapper when populating old-stylev2.1.7.8Zac Medico2009-11-271-1/+7
| | | | | | | virtuals, in order to avoid unwanted cache generation with --nodeps (reported by Arfrever). (trunk r14909) svn path=/main/branches/2.1.7/; revision=14910
* Handle a KeyError in depgraph._ordered_tree_display(), reported on irc byZac Medico2009-11-271-1/+5
| | | | | | romildo. (trunk r14901) svn path=/main/branches/2.1.7/; revision=14906
* 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. (trunk r14899) svn path=/main/branches/2.1.7/; revision=14904
* Set built=True when creating Package instances. This fixes a problem withv2.1.7.7Zac Medico2009-11-251-1/+1
| | | | | | --resume, reported by Sebastian Mingramm (few). (trunk r14886) svn path=/main/branches/2.1.7/; revision=14891
* Bug #293614 - When the backtracking limit is reached and there is a SLOTZac Medico2009-11-251-0/+8
| | | | | | | conflict to display, hint that a larger --backtrack value might solve the conflict automatically. (trunk r14875) svn path=/main/branches/2.1.7/; revision=14888
* Optimized the code for bug #288083 and make it handle more cases. Now Packagev2.1.7.6Zac Medico2009-11-214-97/+116
| | | | | | | instances have 'visible' and 'masks' attributes, since this information needs to be accessed in more places now. (trunk r14859) svn path=/main/branches/2.1.7/; revision=14870
* Tweak logic from previous commit. (trunk r14858)Zac Medico2009-11-211-4/+4
| | | | svn path=/main/branches/2.1.7/; revision=14869
* In depgraph._serialize_tasks(), ensure that unsolvable blockers can't beZac Medico2009-11-211-1/+3
| | | | | | accidentally marked as satisfied. (trunk r14857) svn path=/main/branches/2.1.7/; revision=14868
* Fix blocker display to work properly with --tree --unordered-display.Zac Medico2009-11-211-10/+10
| | | | | | (trunk r14856) svn path=/main/branches/2.1.7/; revision=14867
* Fix depgraph._prune_tree_display() to preserve uninstall tasks. Thanks toZac Medico2009-11-211-1/+1
| | | | | | Jonathan Callen <abcd@g.o> for reporting. (trunk r14855) svn path=/main/branches/2.1.7/; revision=14866
* Bug #293730 - Fix bad || choices triggered in some cases insideZac Medico2009-11-211-1/+4
| | | | | | _dep_check_composite_db._visible() when --update is not enabled. (trunk r14854) svn path=/main/branches/2.1.7/; revision=14865
* Disable backtracking in the depgraph constructor call when appropriate.Zac Medico2009-11-211-1/+1
| | | | | | (trunk r14853) svn path=/main/branches/2.1.7/; revision=14864
* Check for updates masked by license for any installed packages that have beenZac Medico2009-11-211-2/+3
| | | | | | added to the graph (regardless of --deep or --complete-graph).. (trunk r14845) svn path=/main/branches/2.1.7/; revision=14861
* In the code from bug #288083, only show one LICENSE masking message per slot.Zac Medico2009-11-161-0/+4
| | | | | | (trunk r14823) svn path=/main/branches/2.1.7/; revision=14840
* Bug #288083 - Always warn about installed packages masked by license, sinceZac Medico2009-11-162-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. (trunk r14822) svn path=/main/branches/2.1.7/; revision=14839
* Bug #291200 - Make --quiet-build set PORTAGE_QUIET=1, so that --unmerge isZac Medico2009-11-161-1/+1
| | | | | | quiet. (trunk r14821) svn path=/main/branches/2.1.7/; revision=14838
* Bug #292820 - Make the Package constructor handle invalid SLOT values.Zac Medico2009-11-161-2/+4
| | | | | | (trunk r14819) svn path=/main/branches/2.1.7/; revision=14837
* Bug #292910 - Don't mix print() and writemsg_stdout(), in order to avoidZac Medico2009-11-161-11/+16
| | | | | | buffering issues. (trunk r14818) svn path=/main/branches/2.1.7/; revision=14836
* Add setup phases to the tail of the merge queue instead of the front, sinceZac Medico2009-11-161-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. (trunk r14816) svn path=/main/branches/2.1.7/; revision=14834
* Bug #292664 - Show ACCEPT_LICENSE in emerge --info. (trunk r14814)Zac Medico2009-11-161-1/+2
| | | | svn path=/main/branches/2.1.7/; revision=14832
* Bug #278336 - Use adjust_config to set PORTAGE_QUIET when the config isZac Medico2009-11-162-8/+11
| | | | | | | reloaded after sync, so that PORTAGE_QUIET is set when the post_sync script is executed. (trunk r14805) svn path=/main/branches/2.1.7/; revision=14828
* 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 #291200 - Add a --quiet-build option to redirect all build output to logsZac Medico2009-11-073-2/+11
| | | | | | alone, and do not display it on stdout. (trunk r14783) svn path=/main/branches/2.1.7/; revision=14796
* 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
* Decode git output in _emerge.actions.git_sync_timestamps() for bug #291790.Zac Medico2009-11-071-1/+2
| | | | | | (trunk r14777) svn path=/main/branches/2.1.7/; revision=14790
* 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-072-1/+11
| | | | svn path=/main/branches/2.1.7/; revision=14787
* Move FakeVartree population out of the constructor by calling the sync()Zac Medico2009-11-073-9/+10
| | | | | | | | 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
* Eliminate duplicate code from the FakeVartree constructor which does theZac Medico2009-11-071-45/+6
| | | | | | same thing as FakeVartree.sync(). (trunk r14772) svn path=/main/branches/2.1.7/; revision=14785
* 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-313-1/+32
| | | | | | allowed, and reduce the default from 30 to 5. (trunk r14763) svn path=/main/branches/2.1.7/; revision=14766