summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
...
* Make depgraph._select_atoms() more flexible by allowingZac Medico2007-10-271-5/+9
| | | | | | the repositories to be passed in as a parameter. svn path=/main/trunk/; revision=8319
* Reuse an existing EmergeConfig instance instead ofZac Medico2007-10-271-1/+1
| | | | | | constructing a new one. svn path=/main/trunk/; revision=8318
* Fix broken $ROOT handling for setconfig in the MergeTaskZac Medico2007-10-271-6/+10
| | | | | | constructor. svn path=/main/trunk/; revision=8317
* Make emerge add sets to the world file as one would expect.Zac Medico2007-10-261-4/+16
| | | | svn path=/main/trunk/; revision=8308
* Prevent premature expansion of old-style virtualsZac Medico2007-10-261-0/+10
| | | | | | inside depgraph.select_files(). svn path=/main/trunk/; revision=8306
* Optimize the algorithm used for expansion of setZac Medico2007-10-261-4/+13
| | | | | | arguments into atoms. svn path=/main/trunk/; revision=8305
* use SetConfig.getSetAtoms instead of PackageSet.getAtoms for expanding sets ↵Marius Mauch2007-10-261-2/+3
| | | | | | to allow recursion, and drop the default 'sets/' prefix for setnames svn path=/main/trunk/; revision=8302
* use a @ prefix for sets, and replace world/system with their real prefixed ↵Marius Mauch2007-10-261-3/+10
| | | | | | names if found on the commandline svn path=/main/trunk/; revision=8301
* For the emergelog message, send in the original list ofZac Medico2007-10-251-3/+3
| | | | | | arguments that exists before expansion of sets. svn path=/main/trunk/; revision=8290
* Filter atoms that come from sets when generatingZac Medico2007-10-251-4/+9
| | | | | | the list of atoms to record in the world file. svn path=/main/trunk/; revision=8288
* For the global AUTOCLEAN, pass an empty list into unmerge()Zac Medico2007-10-251-1/+1
| | | | | | so it behaves like it used to. svn path=/main/trunk/; revision=8287
* Spit out a depgraph._get_existing_pkg() method for getting anZac Medico2007-10-251-19/+26
| | | | | | existing Package instance added to the graph for a given SLOT. svn path=/main/trunk/; revision=8286
* Make the Package class generate the digraph nodes.Zac Medico2007-10-251-21/+29
| | | | svn path=/main/trunk/; revision=8285
* Fix inverted logic error.Zac Medico2007-10-251-1/+1
| | | | svn path=/main/trunk/; revision=8284
* Convert depgraph creation from using recursive calls toZac Medico2007-10-241-52/+86
| | | | | | | using a stack of dependencies which will be more suitable for implementation of backtracking. svn path=/main/trunk/; revision=8283
* 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 #196435 - Add some more references to quickpkg(1) sinceZac Medico2007-10-191-5/+15
| | | | | | sometimes people don't realize that it exists. svn path=/main/trunk/; revision=8185
* Bug #196427 - Don't display news notifications when in --pretend mode.Zac Medico2007-10-191-1/+1
| | | | svn path=/main/trunk/; revision=8179