summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Add support for showing binary package file sizes in emergeZac Medico2007-12-291-6/+14
| | | | | | --search output. svn path=/main/trunk/; revision=9094
* In action_regen(), use writemsg() to send error messages toZac Medico2007-12-281-7/+6
| | | | | | stderr. svn path=/main/trunk/; revision=9066
* - small UI cleanups. *should* not cause problems with lack of missing newlines.Ned Ludd2007-12-251-6/+7
| | | | svn path=/main/trunk/; revision=9050
* Add support for --usepkg and --usepkgonly options together withZac Medico2007-12-211-4/+5
| | | | | | emerge --search. svn path=/main/trunk/; revision=9038
* Implement binary package visibility filtering for emerge --search.Zac Medico2007-12-211-14/+56
| | | | svn path=/main/trunk/; revision=9029
* Don't show "Size of files: 0 kB" in emerge --search output for installedZac Medico2007-12-211-0/+7
| | | | | | packages that have no available ebuild in the tree. svn path=/main/trunk/; revision=9028
* Implement emerge --search support for installed packages, so itZac Medico2007-12-211-13/+33
| | | | | | works even without a portage tree or binary packages. svn path=/main/trunk/; revision=9027
* Tweak profile validation and warning logic a bit.Zac Medico2007-12-211-1/+3
| | | | svn path=/main/trunk/; revision=9015
* Fix a reference to an undefined "mykey" variable.Zac Medico2007-12-211-1/+1
| | | | svn path=/main/trunk/; revision=9005
* Enable emerge search actions for binary packages when there isZac Medico2007-12-201-19/+89
| | | | | | no portage tree available. svn path=/main/trunk/; revision=8980
* Make some adjustments so that it's possible to install binaryZac Medico2007-12-201-12/+1
| | | | | | | | | | | | | | | | | | packages without having a portage tree: * Make portdbapi.aux_get() return early by raising a KeyError if it detects that there is no portage tree. * Move the ARCH and USERLAND sanity check to the last moment in doebuild() and only require these variables if an existing environment (such as environment.bz2) is unavailable. * Make the NewsManager constructor cope with a broken make.profile symlink. svn path=/main/trunk/; revision=8973
* Display the merge list with blockers any time that there areZac Medico2007-12-181-4/+7
| | | | | | | blockers, instead of telling the user to try again with --pretend. svn path=/main/trunk/; revision=8953
* Add --buildpkgonly to the options lists that exempt fromZac Medico2007-12-131-2/+3
| | | | | | slot collisions and world file updates. svn path=/main/trunk/; revision=8917
* Use the BAD color class instead of hardcoded red.Zac Medico2007-12-131-1/+1
| | | | svn path=/main/trunk/; revision=8904
* Bug #201848 - Mask ebuilds that do not define SLOT.Zac Medico2007-12-131-0/+4
| | | | svn path=/main/trunk/; revision=8894
* Bug #202036 - In case of blockers, bail out earlier so that laterZac Medico2007-12-131-19/+20
| | | | | | code can assume there are no blockers. svn path=/main/trunk/; revision=8889
* Instead of calling sys.exit when a ParseError occurs in the configZac Medico2007-12-111-4/+0
| | | | | | | | | constructor, raise a ParseError and make emerge and portageq handle the error. This way consumers of the portage api can handle the ParseError rather than have their application exit. Thanks to lxnay for reporting. svn path=/main/trunk/; revision=8884
* Perform set argument validation in emerge_main() even forZac Medico2007-12-071-38/+38
| | | | | | values actions that need to expland sets themselves. svn path=/main/trunk/; revision=8863
* Remove automatic "system" and "world" set creation since we canZac Medico2007-12-071-9/+0
| | | | | | probably rely on having a complete config. svn path=/main/trunk/; revision=8862
* Keep the RootConfig.sets attribute in sync with the SetConfig.Zac Medico2007-12-051-0/+1
| | | | svn path=/main/trunk/; revision=8850
* Make SetConfig.getSets() return a copy of the psets attributeZac Medico2007-12-051-1/+2
| | | | | | | instead of a direct reference. Fix the to stop relying on having the direct reference. svn path=/main/trunk/; revision=8849
* Show ? if the installed package is missing aZac Medico2007-12-051-5/+1
| | | | | | | | repository label. The stable version of portage creates these labels now, so false positives won't be as common as they used to be. svn path=/main/trunk/; revision=8846
* bootstrap.sh expects that the "system" set always exists, so createZac Medico2007-12-051-3/+14
| | | | | | it automatically if necessary. svn path=/main/trunk/; revision=8845
* In order to know exactly which atoms/sets should be added to theZac Medico2007-12-051-36/+43
| | | | | | | | world file, the depgraph performs set expansion later. It will get confused about where the atoms came from if it's not allowed to expand them itself. svn path=/main/trunk/; revision=8844
* fix another typoMarius Mauch2007-12-041-1/+1
| | | | svn path=/main/trunk/; revision=8841
* perform sanity checks for set configuration even if myaction is NoneMarius Mauch2007-12-041-5/+6
| | | | svn path=/main/trunk/; revision=8840
* Fix setconfig loader to use config files instead of hardcoded fallbacksMarius Mauch2007-12-041-3/+9
| | | | svn path=/main/trunk/; revision=8839
* implement the final part of FEATURES=preserved-libs and remove previously ↵Marius Mauch2007-12-031-1/+1
| | | | | | preserved libs that don't have any consumers left. Also fix the notice if preserved libs are found to use the preserved-rebuild package set instead of revdep-rebuild. svn path=/main/trunk/; revision=8821
* Synchronize self-reinstallation logic so that emerge will alwaysZac Medico2007-12-021-5/+1
| | | | | | | restart itself when dblink.merge() creates temporary copies of PORTAGE_{BIN,PYM}_PATH. svn path=/main/trunk/; revision=8803
* Show the pid in the "starting parallel fetching" message.Zac Medico2007-12-011-1/+2
| | | | svn path=/main/trunk/; revision=8794
* When os.waitid() raises OSError, discard the pid since there'sZac Medico2007-12-011-2/+3
| | | | | | no need to wait on it again. svn path=/main/trunk/; revision=8792
* After each merge, collect status from child processesZac Medico2007-12-011-2/+33
| | | | | | | in order to clean up zombies (such as the parallel-fetch process). svn path=/main/trunk/; revision=8791
* In chk_updated_cfg_files(), avoid scanning for config files forZac Medico2007-11-281-0/+4
| | | | | | | | paths that aren't writable by the current user. This prevents Permission denied errors from being triggered later when trying to scan subdirectories that are inaccessible. svn path=/main/trunk/; revision=8726
* --buildpkgonly will not merge anything, soZac Medico2007-11-261-0/+7
| | | | | | it cancels all binary package options. svn path=/main/trunk/; revision=8683
* Bug #124041 - Make emerge show an informative warning message when oneZac Medico2007-11-261-4/+33
| | | | | | | | or more eclasses override eclasses from PORTDIR. The warning can be permanently disabled by setting PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf. svn path=/main/trunk/; revision=8668
* * Load environment.bz2 for the pkg_config() phase.Zac Medico2007-11-251-1/+7
| | | | | | * Run the "clean" phase if pkg_config() succeeds. svn path=/main/trunk/; revision=8651
* In depgraph.altlist(), measure the bias of circularZac Medico2007-11-221-0/+20
| | | | | | | RDEPEND <-> PDEPEND relationships and use it to optimize merge order. svn path=/main/trunk/; revision=8593
* Generate an eerror elog message when an ebuild prerm orZac Medico2007-11-211-21/+0
| | | | | | postrm phase fails. svn path=/main/trunk/; revision=8577
* Use the existing RootConfig class to serve as a replacement forZac Medico2007-11-191-64/+58
| | | | | | | | | the EmergeConfig class. They both served roughly the same purpose and it was messy the way that EmergeConfig inherited from the portage.config class. It's better to avoid inheritance here, expecially since it doesn't provide anything really useful. svn path=/main/trunk/; revision=8525
* Fix --usepkgonly code in depgraph.select_files() so that itZac Medico2007-11-171-0/+2
| | | | | | only operates on the Package type that it expects. svn path=/main/trunk/; revision=8519
* In the slot collision display, show a maximum of 3 parentsZac Medico2007-11-141-0/+22
| | | | | | for each package in order to avoid flooding the display. svn path=/main/trunk/; revision=8500
* Make the slot collision display show all collisions insteadZac Medico2007-11-131-21/+27
| | | | | | of just the first one. svn path=/main/trunk/; revision=8498
* Make depgraph._complete_graph() properly specify SetArg instancesZac Medico2007-11-131-13/+24
| | | | | | | as parents of each Dependency, similar to the want that select_files() does. svn path=/main/trunk/; revision=8497
* Make depgraph._add_pkg() match the package with all possibleZac Medico2007-11-131-22/+26
| | | | | | args and add them to the digraph. svn path=/main/trunk/; revision=8496
* Remove the depgraph.pkg_node_map attribute and use otherZac Medico2007-11-121-45/+36
| | | | | | means to accomplish the same thing. svn path=/main/trunk/; revision=8495
* Add DependencyArg instances as parents of packages in theZac Medico2007-11-121-8/+21
| | | | | | | digraph since these relationships should be useful during backtracking. svn path=/main/trunk/; revision=8494
* * Remove all references to the obsolete Package.digraph_node attribute.Zac Medico2007-11-121-63/+51
| | | | | | | | * Reimplement Package comparison methods since the previous way didn't seem to function properly for dict keys. * Clean up depgraph._add_pkg() to use the Package object attributes. svn path=/main/trunk/; revision=8493
* Make the Package class emulate the interface of it's ownZac Medico2007-11-121-18/+18
| | | | | | | digraph_node tuple so that the Package instance itself can be added directly to the digraph. svn path=/main/trunk/; revision=8492
* * Provide reasonable default values for DependencyZac Medico2007-11-111-38/+35
| | | | | | | | | priority and depth attributes. * Remove depgraph.create() since it's no longer needed. * Remove depgraph._get_parent_sets() and instead get the information from DependencyArg attributes. svn path=/main/trunk/; revision=8489
* Fix depgraph._get_arg_for_pkg() so that it compares packageZac Medico2007-11-111-1/+5
| | | | | | types to help ensure a proper match. svn path=/main/trunk/; revision=8488