summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/main.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Deprecate pordbapi.mysettings since the portdbapi.settings alias is nowZac Medico2010-01-311-1/+1
| | | | | | supported by stable portage. svn path=/main/trunk/; revision=15306
* Bug #300388 - Fix terminal handling code to so term codes aren't sent whenZac Medico2010-01-111-1/+3
| | | | | | TERM=dumb. svn path=/main/trunk/; revision=15191
* Skip global updates for help, version, and info actions.Zac Medico2010-01-081-1/+2
| | | | svn path=/main/trunk/; revision=15179
* When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of theZac Medico2009-12-211-2/+3
| | | | | | float st_mtime in order to avoid rounding *up* in some rare cases. svn path=/main/trunk/; revision=15125
* Fix typo.Arfrever Frehtes Taifersar Arahesis2009-12-161-1/+1
| | | | svn path=/main/trunk/; revision=15099
* Warn if /proc is not mounted.Zac Medico2009-12-161-0/+11
| | | | svn path=/main/trunk/; revision=15097
* Bug #278336 - Use adjust_config to set PORTAGE_QUIET when the config isZac Medico2009-11-091-8/+2
| | | | | | | reloaded after sync, so that PORTAGE_QUIET is set when the post_sync script is executed. svn path=/main/trunk/; revision=14805
* Bug #291200 - Add a --quiet-build option to redirect all build output to logsZac Medico2009-11-061-1/+3
| | | | | | alone, and do not display it on stdout. svn path=/main/trunk/; revision=14783
* Add a --backtrack=COUNT option to control how many times backtracking isZac Medico2009-10-311-0/+24
| | | | | | allowed, and reduce the default from 30 to 5. svn path=/main/trunk/; revision=14763
* Take the -c option and make it mean --depclean instead of --clean, sinceZac Medico2009-10-261-2/+2
| | | | | | --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-261-0/+1
| | | | | | the suggestion. svn path=/main/trunk/; revision=14730
* Bug #134466 - Add a --ask-enter-invalid option. When used together with theZac Medico2009-10-241-0/+1
| | | | | | | --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 a --unordered-display option for use with --tree. This allows the displayZac Medico2009-10-231-0/+1
| | | | | | | 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
* 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-181-0/+12
| | | | | | | 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
* 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-161-0/+13
| | | | | | | 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-161-2/+2
| | | | | | | | 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
* 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-091-0/+5
| | | | | | Jeremy Olexa <darkside@g.o> for the suggestion. svn path=/main/trunk/; revision=14533
* Bug #287950 - Add a --fail-clean[=n] option, for enabling or disablingZac Medico2009-10-081-0/+10
| | | | | | FEATURES=fail-clean from the command line. svn path=/main/trunk/; revision=14518
* Bug #287870 - Add -r option as short version of --resume.Zac Medico2009-10-061-0/+1
| | | | svn path=/main/trunk/; revision=14504
* Add a new --accept-properties option so that users can temporarily overrideZac Medico2009-10-061-0/+6
| | | | | | | | | | | 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
* Define long as int when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-211-0/+3
| | | | svn path=/main/trunk/; revision=14343
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-11/+11
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Fix case for 0 args in args unicode conversion.Zac Medico2009-09-211-1/+2
| | | | svn path=/main/trunk/; revision=14326
* Support both Python 2 and 3 in portage._unicode_encode() and ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-1/+1
| | | | | | | | portage._unicode_decode(). Update decoding in some files. svn path=/main/trunk/; revision=14321
* Use range() instead of xrange() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-211-1/+1
| | | | | | (2to3-3.1 -f xrange -nw ${FILES}) svn path=/main/trunk/; revision=14317
* Support print() function with Python 2 in more files.Arfrever Frehtes Taifersar Arahesis2009-09-201-0/+2
| | | | svn path=/main/trunk/; revision=14295
* Update system imports for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-2/+6
| | | | svn path=/main/trunk/; revision=14294
* Update syntax of numbers for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-1/+1
| | | | | | (2to3-3.1 -f numliterals -nw ${FILES}) svn path=/main/trunk/; revision=14292
* Update syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-26/+26
| | | | | | (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-8/+8
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Add a vardbapi._pkgs_changed attribute to use instead of PORTAGE_COUNTER_HASHZac Medico2009-09-051-8/+1
| | | | | | | | | for emerge to check whether any packages have been added/removed. This is an optimization, since vardbapi._counter_hash() can be somewhat slow on embedded systems. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for reporting. svn path=/main/trunk/; revision=14203
* Use _unicode_decode() on the string returned from time.strftime(), in orderZac Medico2009-09-051-1/+5
| | | | | | | to avoid a potential UnicodeDecodeError later. Thanks to Markus Duft <mduft@gentoo.org> for reporting. svn path=/main/trunk/; revision=14201
* Fix typo from previous commit.Zac Medico2009-09-031-1/+1
| | | | svn path=/main/trunk/; revision=14182
* Bug #283513 - Do not allow --noreplace together with --emptytree since itZac Medico2009-09-031-0/+6
| | | | | | results in bogus masking messages. svn path=/main/trunk/; revision=14181
* Add support for --keep-going=n so that it can be disabled on the command lineZac Medico2009-08-211-1/+12
| | | | | | after it's been enabled in EMERGE_DEFAULT_OPTS. svn path=/main/trunk/; revision=14121
* Add support for --selective=n, so it can be used to remove selectiveZac Medico2009-08-211-1/+12
| | | | | | behavior that may have been implied by some other option like --update. svn path=/main/trunk/; revision=14120
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-111-10/+3
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13995
* Use writemsg_stdout() for safe unicode output of --list-sets.Zac Medico2009-08-101-3/+2
| | | | svn path=/main/trunk/; revision=13973
* Add a new portage.util.shlex_split() function to wrap all shlex.split() calls,Zac Medico2009-08-061-2/+1
| | | | | | since shlex.split() doesn't behave well with unicode strings. svn path=/main/trunk/; revision=13939
* Fix insert_optional_args() to properly handle thinks like -Dk which requireZac Medico2009-08-051-1/+3
| | | | | | multiple substitutions of default arguments. svn path=/main/trunk/; revision=13919
* Bug #280269 - Decode commandline arguments to unicode when necessary.Zac Medico2009-08-041-0/+4
| | | | svn path=/main/trunk/; revision=13904
* Set "emerge" xterm title at the beginning of running emerge.Arfrever Frehtes Taifersar Arahesis2009-08-041-2/+4
| | | | svn path=/main/trunk/; revision=13887
* Only treat non-negative integers as valid in insert_optional_args().Zac Medico2009-08-011-2/+1
| | | | svn path=/main/trunk/; revision=13874
* Add support for --usepkg=n so that it's possible to disable it onZac Medico2009-08-011-5/+69
| | | | | | | the command line after it's been enabled in EMERGE_DEFAULT_OPTS. Also do the same for --usepkgonly, --getbinpkg, and --getbinpkgonly. svn path=/main/trunk/; revision=13873
* Add support for --complete-graph=n so that it's possible to disable it onZac Medico2009-08-011-1/+12
| | | | | | the command line after it's been enabled in EMERGE_DEFAULT_OPTS. svn path=/main/trunk/; revision=13872
* Allow --deep to take an optional integer parameter, to specify how deep itZac Medico2009-07-091-2/+34
| | | | | | | should go. Also make --update so it no longer implies the equivalent of --deep=1. To get the old --update behavior, use --update --deep=1. svn path=/main/trunk/; revision=13812