summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Add back support for greedy SLOTs when --update is enabled asZac Medico2007-10-241-0/+43
| | | | | | | per bug #150361. This is currently disabled for sets since greedy SLOT atoms could be a property of the set itself. svn path=/main/trunk/; revision=8282
* Add back support for helpful `emaint --check world` suggestionsZac Medico2007-10-241-8/+32
| | | | | | and also show package masking reasons when appropriate. svn path=/main/trunk/; revision=8269
* Add back support for detecting if the world file containsZac Medico2007-10-241-6/+13
| | | | | | atoms that match packages in package.provided. svn path=/main/trunk/; revision=8268
* Add back support for handling missing system/world atomsZac Medico2007-10-241-16/+24
| | | | | | | | | that was removed with depgraph.xcreate(). This doesn't have support for mapping atoms back to the original sets yet, but at least a masked or unavailable system/world atom won't compeletely break the depgraph now. svn path=/main/trunk/; revision=8267
* Replace sys.exit() calls with return statements in emerge_main().Zac Medico2007-10-241-7/+7
| | | | svn path=/main/trunk/; revision=8266
* Remove --update greedy SLOTs code from depgraph.select_files()Zac Medico2007-10-241-34/+0
| | | | | | | | so that any desired SLOTs have to be pulled in explicitly. Any SLOTs that are not explicitly pulled in will be removed by --depclean. svn path=/main/trunk/; revision=8265
* Make world atoms non-greedy for SLOTs in action_depclean()Zac Medico2007-10-241-19/+1
| | | | | | | since users can simply add SLOT atoms to world for any specific SLOTs that they want to keep. svn path=/main/trunk/; revision=8264
* remove 'system' and 'world' as actions, and remove most of the special case ↵Marius Mauch2007-10-241-133/+21
| | | | | | code as well svn path=/main/trunk/; revision=8263
* Fix selective logic to work properly with masked packages.Zac Medico2007-10-231-2/+2
| | | | svn path=/main/trunk/; revision=8262
* Match packages against arguments earlier inZac Medico2007-10-231-9/+9
| | | | | | | depgraph._select_package() so that corrupt PROVIDE is detected sooner. svn path=/main/trunk/; revision=8261
* Fix logic for the "selective" depgraph parameter soZac Medico2007-10-231-11/+28
| | | | | | | | that it behaves correctly in cases where installed packages provide old-style virtuals but none of the available packages do. svn path=/main/trunk/; revision=8260
* move base classes for package sets into a separate moduleMarius Mauch2007-10-231-1/+2
| | | | svn path=/main/trunk/; revision=8257
* make 'world' and 'system' behave like their sets/ counterpartsMarius Mauch2007-10-231-2/+1
| | | | svn path=/main/trunk/; revision=8254
* In depgraph.create(), if a direct circular dependency isZac Medico2007-10-221-6/+9
| | | | | | | | not an unsatisfied buildtime dependency then drop it here since otherwise it can skew the merge order calculation in an unwanted way. svn path=/main/trunk/; revision=8233
* In depgraph.create(), don't ignore direct circular dependenciesZac Medico2007-10-221-8/+7
| | | | | | | | anymore since altlist() is able to handle it properly in cases where the dependency is satisfied. If the dep is unsatisfied then it can not be ignored. svn path=/main/trunk/; revision=8225
* Combine depgraph._select_dep() into create() so thatZac Medico2007-10-211-107/+75
| | | | | | | | create() simply calls itself recursively. In order to implement backtracking, create() will eventually operate on a stack instead of calling itself. svn path=/main/trunk/; revision=8221
* Always pass package metadata into depgraph.create() soZac Medico2007-10-211-13/+8
| | | | | | it doesn't have to get it itself. svn path=/main/trunk/; revision=8220
* Do a loop over each dependency type to simplifyZac Medico2007-10-211-19/+11
| | | | | | select_dep() calls. svn path=/main/trunk/; revision=8219
* Don't catch a ValueError if it isn't the type that's expectedZac Medico2007-10-211-0/+3
| | | | | | from portage.cpv_expand(). svn path=/main/trunk/; revision=8218
* fix commentMarius Mauch2007-10-211-1/+1
| | | | svn path=/main/trunk/; revision=8204
* restore proper call logicMarius Mauch2007-10-211-1/+3
| | | | svn path=/main/trunk/; revision=8201
* Remove uneeded "arg" and "addme" parameters where possible.Zac Medico2007-10-211-7/+4
| | | | svn path=/main/trunk/; revision=8199
* Use a "depth" parameter to track depth of recursion relativeZac Medico2007-10-211-25/+23
| | | | | | to the nearest argument atom. svn path=/main/trunk/; revision=8198
* Split the "arg" parameter out of depgraph.select_dep() soZac Medico2007-10-211-25/+26
| | | | | | | that it's used purely for processing atoms that are pulled in by parent packages. svn path=/main/trunk/; revision=8197
* Make depgraph.xcreate() use the filtered repo to determineZac Medico2007-10-211-13/+13
| | | | | | | availablility of system/world atoms so that the raise_on_missing parameter can be removed from depgraph.select_dep(). svn path=/main/trunk/; revision=8194
* Raise an InvalidDependString exception if necessary whenZac Medico2007-10-211-41/+24
| | | | | | | the depgraph is populating the filtered repo so that we don't have to check the return value. svn path=/main/trunk/; revision=8193
* Rename variable for consistency.Zac Medico2007-10-211-2/+2
| | | | svn path=/main/trunk/; revision=8192
* Split the atom selection logic out of depgraph.select_dep().Zac Medico2007-10-211-39/+41
| | | | svn path=/main/trunk/; revision=8191
* Split the package selection logic out of depgraph.select_dep().Zac Medico2007-10-201-173/+181
| | | | svn path=/main/trunk/; revision=8190
* Split the masked packages display out of depgraph.select_dep().Zac Medico2007-10-201-91/+95
| | | | svn path=/main/trunk/; revision=8189
* Use a simple Package class to bundle package dataZac Medico2007-10-201-22/+37
| | | | | | for depgraph.create() calls. svn path=/main/trunk/; revision=8188
* Allow the depgraph to add old-style virtual providers butZac Medico2007-10-201-0/+16
| | | | | | | prefer any pre-existing providers over new ones that are added. svn path=/main/trunk/; revision=8187
* Remove the config.setinst() call from depgraph.select_dep()Zac Medico2007-10-201-28/+0
| | | | | | | | | | | since it's never really guaranteed to work as intended. It's supposed to help ensure that the correct old-style virtual is preferred but it will often fail to do so, making it necessary for the user to manually force the preference. Proper backtracking (bug #1343) will solve the problem more reliably. svn path=/main/trunk/; revision=8186
* Bug #196427 - Don't display news notifications when in --pretend mode.Zac Medico2007-10-191-1/+1
| | | | svn path=/main/trunk/; revision=8179
* Use EmergeConfig instead of portage.config in RootConfigMarius Mauch2007-10-161-17/+12
| | | | svn path=/main/trunk/; revision=8150
* Move clean_world() into WorldSetMarius Mauch2007-10-161-35/+8
| | | | svn path=/main/trunk/; revision=8149
* Also use EmergeConfig() in MergeTaskMarius Mauch2007-10-161-15/+16
| | | | svn path=/main/trunk/; revision=8147
* fix typoMarius Mauch2007-10-161-1/+1
| | | | svn path=/main/trunk/; revision=8146
* Replace getlist() with PackageSet.getAtoms()Marius Mauch2007-10-161-33/+2
| | | | svn path=/main/trunk/; revision=8145
* subclass portage.config to include a setconfig instance to avoid adding one ↵Marius Mauch2007-10-161-15/+25
| | | | | | more parameter to most of the emerge functions svn path=/main/trunk/; revision=8144
* Move the emerge module to _emerge to make it privateZac Medico2007-10-161-0/+6844
since it's mostly unsuitable for api consumers at this time. svn path=/main/trunk/; revision=8142