summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/main.py
Commit message (Collapse)AuthorAgeFilesLines
* portage.dep._dep_check_strict: Unused, removedSebastian Luther2010-08-101-3/+1
|
* Use ValueError.args since direct indexing of ValueError is notZac Medico2010-08-051-1/+1
| | | | supported in python3, as reported in bug 241132, commment #4.
* * Add a --autounmask[=n] option and for now leave it disableZac Medico2010-08-051-0/+11
| | | | | | | | by default in order to minimize the impact of any bugs. * If _wrapped_select_pkg_highest_available_imp returns an installed package when the user has not explicitly requested for this package to be replaced (typically via an atom on the command line), reject the installed package and try to unmask one.
* Only populate the binarytree for actions that need it (search orZac Medico2010-08-021-1/+2
| | | | install actions).
* Always use shlex_split() to split CONFIG_PROTECT{,_MASK}.Zac Medico2010-07-311-2/+2
|
* Add a --package-moves[=n] option that can be used to control theZac Medico2010-07-281-6/+17
| | | | | "Performing Global Updates" routine. This option is enabled by default.
* Use a directory for the default set configuration.Michał Górny2010-07-271-1/+1
| | | | | | | Expect /usr/share/portage/config/sets to be a directory containing any number of set configuration files. The default Portage sets.conf should be now installed as sets/portage.conf, and other ebuilds are free to install their own set configuration files there.
* Allow the --depclean library consumer check to be disabled byZac Medico2010-07-261-0/+10
| | | | --depclean-lib-check=n.
* --exclude: Add support for atoms with wildcardsSebastian Luther2010-07-231-3/+3
|
* Make parse_opts() bail out when not silent and an option parameter isZac Medico2010-05-271-10/+10
| | | | invalid.
* Add --rebuilt-binaries-timestamp optionSebastian Luther2010-05-271-0/+20
| | | | | | | This option makes emerge ignore binaries that would have been used for --rebuilt-binaries, if they are older than the given timestamp. Binaries are only reinstalled if they have a newer BUILD_TIME than the installed package (not only unequal) with this option.
* Make --deselect work for sets (bug 268798)Sebastian Luther2010-05-271-1/+1
|
* Support specifying exclude list as multiple arguments.Michał Górny2010-05-191-2/+2
| | | | | | | Instead of relying on user to provide the whole exclude list as a space-separated list in a single argument (which is uncomfortable), allow him/her to specify '--exclude' multiple times, joining the provided atom lists together.
* 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