summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* tweak output when diff access rights are neededMike Frysinger2009-05-061-3/+3
| | | | svn path=/main/trunk/; revision=13616
* Simplify DepPriority.__int__() and make it consistent with __str__().Zac Medico2009-05-031-25/+13
| | | | svn path=/main/trunk/; revision=13599
* Fix DepPriority.__int__() to return distinguishable values, for use whenZac Medico2009-05-021-0/+37
| | | | | | | | measuring hardness for the circular dependency display. This fixes a problem visible in bug #268038, comment #0, where buildtime dependencies are incorrectly displayed as runtime dependencies. svn path=/main/trunk/; revision=13589
* Remove unnecessary doebuild_environment() call from EbuildFetchonly.execute()Zac Medico2009-04-301-3/+0
| | | | | | since PORTAGE_RESTRICT is calculated by config.setcpv() now. svn path=/main/trunk/; revision=13575
* Bug #267860 - Make JobStatusDisplay respect FEATURES=notitles.Zac Medico2009-04-291-3/+6
| | | | svn path=/main/trunk/; revision=13409
* Bug #267810 - Don't sort C/CXX/LDFLAGS in emerge --info output since theseZac Medico2009-04-291-23/+3
| | | | | | variables aren't really sortable in that way. svn path=/main/trunk/; revision=13407
* When in --nodeps mode, make depgraph._serialize_tasks() preserve the packageZac Medico2009-04-201-0/+7
| | | | | | | order given on the command line. Thanks to Markus Duft <mduft@g.o> for reporting. svn path=/main/trunk/; revision=13377
* Drop from --ask to --pretend for uninstall all actions.Zac Medico2009-04-191-1/+2
| | | | svn path=/main/trunk/; revision=13374
* Add missing del when cleansing cache in action_metadata().Zac Medico2009-04-191-1/+1
| | | | svn path=/main/trunk/; revision=13373
* Tweak _eclasses_ logic inside action_metadata().Zac Medico2009-04-191-5/+7
| | | | svn path=/main/trunk/; revision=13372
* In action_deselect(), use the installed packages to expand atoms into slotZac Medico2009-04-191-3/+14
| | | | | | atoms. svn path=/main/trunk/; revision=13366
* Add --ask support to action_deselect().Zac Medico2009-04-191-0/+7
| | | | svn path=/main/trunk/; revision=13365
* Fix bugs in action_deselect() and add --pretend support.Zac Medico2009-04-191-5/+8
| | | | svn path=/main/trunk/; revision=13364
* Add a new --deselect action which removes atoms from the world file. ThisZac Medico2009-04-192-9/+81
| | | | | | | | action is implied by uninstall actions, including --depclean, --prune and --unmerge. Use --deselect=n in order to prevent uninstall actions from removing atoms from the world file. This solves bug #259994 and bug #265206. svn path=/main/trunk/; revision=13363
* Add support to emerge --metadata for transfering cache from overlays thatZac Medico2009-04-181-56/+235
| | | | | | have a metadata/cache directory. svn path=/main/trunk/; revision=13356
* Bug #265909 - Make emerge display a warning message if any overlays areZac Medico2009-04-151-0/+32
| | | | | | | ignored due to duplicate profiles/repo_name entries. The warning can be disabled by setting PORTAGE_REPO_DUPLICATE_WARN=0 in /etc/make.conf. svn path=/main/trunk/; revision=13348
* Add support in action_uninstall() for file -> package lookup.Zac Medico2009-04-151-19/+67
| | | | svn path=/main/trunk/; revision=13345
* Split out an action_uninstall() function to handle argument validation forZac Medico2009-04-151-53/+61
| | | | | | clean, depclean, prune, and unmerge actions. svn path=/main/trunk/; revision=13344
* Add a note about egencache to the --regen docs.Zac Medico2009-04-121-1/+2
| | | | svn path=/main/trunk/; revision=13330
* Filter virtuals when expanding atoms if it helps to avoid an ambiguity.Zac Medico2009-04-111-0/+9
| | | | svn path=/main/trunk/; revision=13314
* Fix broken logic from previous commit.Zac Medico2009-04-101-2/+4
| | | | svn path=/main/trunk/; revision=13313
* Bug #265034 - In depgraph.loadResumeCommand(), tolerate missing packagesZac Medico2009-04-101-2/+4
| | | | | | since it's possible that the resume list is still partially valid. svn path=/main/trunk/; revision=13312
* Remove --nocolor since it's been replaced by --color=n and the support codeZac Medico2009-04-091-1/+1
| | | | | | no longer exists. svn path=/main/trunk/; revision=13308
* Bug #264435 - Handle EAGAIN errors when writing to stdout, due to poorlyZac Medico2009-04-091-2/+35
| | | | | | | | | behaved subprocesses that set O_NONBLOCK mode on inherited file descriptors. TODO: When possible, avoid having child processes inherit stdio file descriptors from portage (maybe it can't be avoided with PROPERTIES=interactive). svn path=/main/trunk/; revision=13306
* Don't try to execut the pkg_info phase if DEFINED_PHASES is available andZac Medico2009-04-081-0/+5
| | | | | | it shows that the phase is undefined. svn path=/main/trunk/; revision=13305
* Reorganize emerge --info <atom> display, and make sure that the "cpv wasZac Medico2009-04-081-10/+13
| | | | | | built with the following" line is shown for every package. svn path=/main/trunk/; revision=13304
* Add UseFlagDisplay.sort_combined and sort_separated attributes that can beZac Medico2009-04-081-6/+10
| | | | | | passed directly as key parameters to list.sort(). svn path=/main/trunk/; revision=13303
* Bug #265111 - Make current options override older options for --resume.Zac Medico2009-04-081-0/+4
| | | | svn path=/main/trunk/; revision=13302
* Make emerge --info <atom> display USE similarly to how they are displayedZac Medico2009-04-081-26/+111
| | | | | | in the merge list. svn path=/main/trunk/; revision=13297
* Add support to repoman for using layout.conf to control which repositoriesZac Medico2009-04-071-1/+4
| | | | | | | | | | are used to satisfy dependencies. Thanks to Alistair Bush <ali_bush@g.o> for the initial patch. See the "QA Overlay Layout support" thread on the gentoo-dev mailing list for more information: http://archives.gentoo.org/gentoo-dev/msg_33c61550b4ed2b7b25dd5a4110e1ec81.xml svn path=/main/trunk/; revision=13295
* Add portdbapi support for a metadata/layout.conf file whichZac Medico2009-04-061-29/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | specifies information about the repository layout. Currently, only a single "masters" attribute is supported, which is used to specify names of repositories which satisfy dependencies on eclasses and/or ebuilds. Each repository name should correspond the value of a repo_name entry from one of the repositories that is configured via the PORTDIR or PORTDIR_OVERLAY variables. Since layout.conf is now used to control eclass inheritance, it is now safer to use overlays which contain forked eclasses have names identical to those from the main tree. Such eclasses will only apply to their containing repository and any other repositories which reference their containing repository via layout.conf. This solves bug #124041 by containing eclass overrides so that they don't necessarily apply to all ebuilds. Thanks to Alistair Bush <ali_bush@g.o> for his initial patch for layout.conf support in repoman (will be merged later). See the "QA Overlay Layout support" thread on the gentoo-dev mailing list for more information: http://archives.gentoo.org/gentoo-dev/msg_33c61550b4ed2b7b25dd5a4110e1ec81.xml svn path=/main/trunk/; revision=13291
* Allow --root-deps for ROOT=/, so people can do weird things like use it withZac Medico2009-04-011-8/+6
| | | | | | | | | -e to remerge deep runtime deps without pulling in build-time deps. It's not something we really want to advertise, but it's good to leave the option open in case it happens to be useful. Thanks to Ned Ludd <solar@g.o> for the suggestion. svn path=/main/trunk/; revision=13271
* Clarify docs for --root-deps.Zac Medico2009-04-011-1/+2
| | | | svn path=/main/trunk/; revision=13268
* Combine the --rdeps-only and --root-deps options into a single --root-depsZac Medico2009-04-012-17/+32
| | | | | | option which takes an optional 'rdeps' argument. svn path=/main/trunk/; revision=13267
* When in --quiet mode, still show a message for failures inZac Medico2009-03-311-1/+1
| | | | | | MetadataRegen._metadata_exit(). svn path=/main/trunk/; revision=13259
* In MetadataRegen._metadata_exit(), notify the consumer of failures (in thisZac Medico2009-03-311-7/+10
| | | | | | case the metadata argument is None). svn path=/main/trunk/; revision=13258
* Add a "consumer" keyword parameter to the MetadataRegen constructor whichZac Medico2009-03-311-8/+26
| | | | | | | can be used to pass in a callback that is called for each ebuild that is processed (allowing access to the ebuild metadata). svn path=/main/trunk/; revision=13256
* Add support in MetadataRegen for cleansing stale cache when only a subsetZac Medico2009-03-301-10/+26
| | | | | | of packages are processed. svn path=/main/trunk/; revision=13255
* Add a cp_iter keyword argument to the MetadataRegen constructor, which can beZac Medico2009-03-301-15/+32
| | | | | | | used to do a regen for a subset of packages. TODO: Add support to cleanse cache for the specific cp values that are processed. svn path=/main/trunk/; revision=13254
* Fix --newuse code to compare installed package USE to the USE that a binaryZac Medico2009-03-301-1/+1
| | | | | | package was built with (instead of config["PORTAGE_USE"]). svn path=/main/trunk/; revision=13253
* Bug #264291 - Fix inappropriate build dir creation for emerge --fetchonly.Zac Medico2009-03-301-2/+0
| | | | svn path=/main/trunk/; revision=13252
* Fix bug in old-style virtuals code from previous commit.Zac Medico2009-03-291-1/+1
| | | | svn path=/main/trunk/; revision=13249
* Inside depgraph.validate_blockers(), prevent false positives in PROVIDEZac Medico2009-03-291-5/+14
| | | | | | | | virtual blocker matches that can occur for packages for packages that don't actual have the appropriate value in PROVIDE (triggered by profile 'virtuals' settings). Thanks to Ned Ludd <solar@g.o> for reporting. svn path=/main/trunk/; revision=13248
* Document --root and --config-root.Zac Medico2009-03-291-0/+12
| | | | svn path=/main/trunk/; revision=13247
* Add a --root option that sets $ROOT (complements the --config-root option).Zac Medico2009-03-291-1/+7
| | | | svn path=/main/trunk/; revision=13246
* Add support for --rdeps-only and --root-deps options which are useful inZac Medico2009-03-292-1/+28
| | | | | | | combination with $ROOT. Thanks to Ned Ludd <solar@g.o> for the initial patch. svn path=/main/trunk/; revision=13245
* Bug #243220 - Show messages in emerge.log when old versions are uninstalledZac Medico2009-03-281-1/+5
| | | | | | | | for AUTOCLEAN. This reverts behavior so that messages which used to be generated prior to portage-2.1.5.x (when AUTOCLEAN was moved from emerge to dblink.treewalk()) are generated once again. svn path=/main/trunk/; revision=13241
* Don't show the package counter for "Uninstalling" messages.Zac Medico2009-03-281-3/+6
| | | | svn path=/main/trunk/; revision=13240
* Add (x of y ) package counter in the "Installing" message, similar to theZac Medico2009-03-281-1/+5
| | | | | | | counter show in the "Emerging" message. Thanks to Ned Ludd <solar@g.o> for the suggestion. svn path=/main/trunk/; revision=13239
* Note that --noreplace takes precedence over options such as --newuse.Zac Medico2009-03-241-0/+6
| | | | svn path=/main/trunk/; revision=13180