summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/main.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Make myopts["--exclude"] a plain string in order to avoid issues with mtimedbZac Medico2010-05-051-2/+0
| | | | unpickling.
* Make --exclude use whitespace to separate atoms since atoms are typicallyZac Medico2010-05-041-2/+2
| | | | separated by whitespace.
* Bail out immediately if --exclude is given a bad atom.Zac Medico2010-04-291-2/+2
|
* Add --exclude optionSebastian Luther2010-04-291-0/+35
|
* Allow running pkg_info on non-installed packagesSebastian Luther2010-03-311-2/+11
|
* Process help and version actions asap. Thanks to Brian Harring.Zac Medico2010-03-261-9/+10
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Add a --quiet-unmerge-warn option to disable the warning message that's shownZac Medico2010-02-281-0/+1
| | | | | | | prior to --unmerge actions. Thanks to Thomas Sachau <tommy@gentoo.org> for the suggestion. svn path=/main/trunk/; revision=15486
* Move portage._global_updates to a submodule.Zac Medico2010-02-271-1/+2
| | | | svn path=/main/trunk/; revision=15475
* Move dep_expand and cpv_expand into portage.dbapi submodules.Zac Medico2010-02-251-1/+2
| | | | svn path=/main/trunk/; revision=15460
* Add missing newline to the "CONFIG_PROTECT is empty" warning message.Zac Medico2010-02-201-0/+1
| | | | svn path=/main/trunk/; revision=15409
* Only enable --rebuilt-binaries automatically if --update and --deep are alsoZac Medico2010-02-181-2/+1
| | | | | | enabled. svn path=/main/trunk/; revision=15372
* Add a --rebuilt-binaries[=n] option, causing automatic replacement ofZac Medico2010-02-181-0/+12
| | | | | | | | | | | | | installed packages with binary packages that have been rebuilt. Rebuilds are detected by comparison of BUILD_TIME package metadata. This option is enabled automatically when using binary packages, so rebuilt binaries are installed with a user's typical update command. This isn't possible with the existing @rebuild-binaries package set since that only works with --selective=n and therefore can't be used with a typical world update. The package set framework should support this type of behavior sometime in the future. svn path=/main/trunk/; revision=15364
* Add @rebuilt-binaries set which uses BUILD_TIME to pull in binary packagesZac Medico2010-02-171-30/+33
| | | | | | | that have a different build time from a currently installed package of the exact same version. svn path=/main/trunk/; revision=15363
* Bug #303401 - Fix emerge.log disabling code that's been broken sinceZac Medico2010-02-041-3/+2
| | | | | | portage-2.1.7 when the _emerge module got split up. svn path=/main/trunk/; revision=15322
* 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