summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Bug #290625 - Manually encode output to stdout in python3, in order to avoidZac Medico2009-10-271-5/+9
| | | | | | potential UnicodeEncodeError exceptions. (trunk r14734) svn path=/main/branches/2.1.7/; revision=14741
* Take the -c option and make it mean --depclean instead of --clean, sinceZac Medico2009-10-272-5/+5
| | | | | | --clean is pretty useless anyway. (trunk r14731) svn path=/main/branches/2.1.7/; revision=14739
* Add -R as a shortcut for --depclean. Thanks to Jonathan Callen <abcd@g.o> forZac Medico2009-10-272-2/+3
| | | | | | the suggestion. (trunk r14730) svn path=/main/branches/2.1.7/; revision=14738
* 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. (trunk r14710) svn path=/main/branches/2.1.7/; revision=14719
* Add --help output for --unordered-display, and move man page docs from theZac Medico2009-10-241-0/+9
| | | | | | actions to the options section. (trunk r14708) svn path=/main/branches/2.1.7/; revision=14717
* 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-243-71/+63
| | | | | | "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-244-7/+54
| | | | | | | 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
* In calc_depclean(), Rename 'selected' to 'world', since 'selected' is currentlyZac Medico2009-10-191-0/+4
| | | | | | | considered to be an internal set and we don't want it to be displayed to the user as a reverse dependency. svn path=/main/branches/2.1.7/; revision=14693
* Add support for display of nested sets in --depclean and --prune reverseZac Medico2009-10-192-41/+60
| | | | | | | | 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
* Convert --select to boolean True when enabled, so --resume code handlesZac Medico2009-10-191-0/+1
| | | | | | it like other boolean options. (trunk r14667) svn path=/main/branches/2.1.7/; revision=14687
* Warn aabout default world and system set configuration being used whenZac Medico2009-10-191-0/+1
| | | | | | | sets.conf is corrupt. Thanks to Thanks to Sebastian Mingramm (few) for the suggestion. (trunk r14666) svn path=/main/branches/2.1.7/; revision=14686
* Add a --use-ebuild-visibility option, for using unbuilt ebuild metadataZac Medico2009-10-193-1/+21
| | | | | | | 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
* Call config._init_dirs() from emerge so that it's not called every timeZac Medico2009-10-181-0/+1
| | | | | | the portage api is imported. (trunk r14631) svn path=/main/branches/2.1.7/; revision=14659
* Automatically create a fallback setconfig, so emerge isn't crippled due toZac Medico2009-10-181-0/+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. (trunk r14630) svn path=/main/branches/2.1.7/; revision=14658
* Bug #287869 - Add a --selective[=n] option (inverse of --oneshot). This isZac Medico2009-10-182-0/+21
| | | | | | | useful if you want to use EMERGE_DEFAULT_OPTS to make --oneshot behavior default. (trunk r14615) svn path=/main/branches/2.1.7/; revision=14643
* Merge the internal package set changes from trunk r14614 (bug #266454). NoneZac Medico2009-10-185-29/+30
| | | | | | | 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
* Bug #288906 - Fix Scheduler._dblink_elog() to always append messages to theZac Medico2009-10-181-14/+19
| | | | | | | build log if available (regardless whether or not message goes to stdout). (trunk r14600) svn path=/main/branches/2.1.7/; revision=14634
* Implement __len__. (trunk r14598)Zac Medico2009-10-181-0/+5
| | | | svn path=/main/branches/2.1.7/; revision=14633
* Discard the log on success, since otherwise we'll have multiple log files forZac Medico2009-10-101-1/+9
| | | | | | the same package. (trunk r14559) svn path=/main/branches/2.1.7/; revision=14560
* Uncomment line accidentally commented in r14538. Thanks to Arfrever forZac Medico2009-10-101-1/+1
| | | | | | reporting. svn path=/main/branches/2.1.7/; revision=14556
* Revert the rest of the package sets related code and docs, to behave like theZac Medico2009-10-107-247/+42
| | | | | | 2.1.6 branch. svn path=/main/branches/2.1.7/; revision=14549
* Bug #248603 - Disable warnings about missing repo_name entries for now.Zac Medico2009-10-101-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=14542
* Fix _set module imports for rename, add hardcoded config for system and world,Zac Medico2009-10-107-11/+11
| | | | | | and remove unused sets code. svn path=/main/branches/2.1.7/; revision=14540
* Revert preserve-libs support since it won't be supported in this branch.Zac Medico2009-10-104-261/+9
| | | | svn path=/main/branches/2.1.7/; revision=14538
* Fix ugly 'Candidates' --debug output.Zac Medico2009-10-091-1/+5
| | | | svn path=/main/trunk/; revision=14535
* Fix error in --changed-use logic.Zac Medico2009-10-091-2/+2
| | | | svn path=/main/trunk/; revision=14534
* Add --changed-use as an alias for --reinstall=changed-use. Thanks toZac Medico2009-10-092-0/+10
| | | | | | Jeremy Olexa <darkside@g.o> for the suggestion. svn path=/main/trunk/; revision=14533
* Force consistent color output, in case we are capturing fetchZac Medico2009-10-091-0/+5
| | | | | | | output through a normal pipe due to unavailability of ptys. Thanks to grobian for reporting. svn path=/main/trunk/; revision=14530
* Handle AUTOCLEAN and NOCOLOR case insensitivity inside config.Zac Medico2009-10-091-8/+0
| | | | svn path=/main/trunk/; revision=14528
* 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 #272000 - When --keep-going is enabled, don't completely bail out atZac Medico2009-10-091-6/+8
| | | | | | | the beginning due to corrupt manifest(s). Thanks to Sebastian Mingramm (few) for this patch. svn path=/main/trunk/; revision=14523
* 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-092-0/+15
| | | | | | list. Thanks to Sebastian Mingramm (few) for this patch. svn path=/main/trunk/; revision=14520
* Bug #287950 - Add a --fail-clean[=n] option, for enabling or disablingZac Medico2009-10-083-0/+32
| | | | | | FEATURES=fail-clean from the command line. svn path=/main/trunk/; revision=14518
* Bug #287950 - Add support for FEATURES=fail-clean which is useful for cleaningZac Medico2009-10-071-0/+25
| | | | | | up temp files on tmpfs after build failures with --keep-going. svn path=/main/trunk/; revision=14517
* Bug #265267 - Add hint about --accept-properties=-interactive in theZac Medico2009-10-061-1/+4
| | | | | | --jobs docs. svn path=/main/trunk/; revision=14508
* Bug #265267 - When disabling --jobs due to interactive package(s), hintZac Medico2009-10-061-1/+4
| | | | | | about --accept-properties=-interactive option. svn path=/main/trunk/; revision=14507
* Exempt installed packages from PROPERTIES masking since the user is likelyZac Medico2009-10-061-3/+5
| | | | | | | | to temporarily alter ACCEPT_PROPERIES in order to avoid interactive updates and we don't want this to distort resolver choices or trigger warning messages about installed packages being masked. svn path=/main/trunk/; revision=14506
* Bug #287870 - Add -r option as short version of --resume.Zac Medico2009-10-062-2/+3
| | | | svn path=/main/trunk/; revision=14504
* Add a new --accept-properties option so that users can temporarily overrideZac Medico2009-10-062-0/+22
| | | | | | | | | | | ACCEPT_PROPERTIES on the commandline, without relying on emerge's legacy behavior of allowing variables to leak in from the calling environment. A typical usage example for this option would be to use --accept-properties=-interactive to temporarily mask interactive packages. With default configuration, this would result in an effective ACCEPT_PROPERTIES value of "* -interactive". svn path=/main/trunk/; revision=14501
* When restarting emerge, don't trust sys.argv[0] since eselect-python mayZac Medico2009-10-061-1/+3
| | | | | | modify it. svn path=/main/trunk/; revision=14499
* - move news into features so it can be ignored when needed. Lots of ↵Ned Ludd2009-10-051-9/+11
| | | | | | whitespace cleanups svn path=/main/trunk/; revision=14497
* 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