summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* In portage.fetch(), condense digest check ouput to a singleZac Medico2007-10-261-2/+5
| | | | | | line for all digests. svn path=/main/trunk/; revision=8316
* Optimize repoman to share portdbapi.cp_list() resultsZac Medico2007-10-261-7/+16
| | | | | | | | | between all profiles since those results never change. The cached results also propagate to the xmatch match-all when appropriate (old-style virtuals are excluded since they are profile dependent). svn path=/main/trunk/; revision=8313
* Add missing break statement for xmatch minimum-visible.Zac Medico2007-10-261-0/+1
| | | | svn path=/main/trunk/; revision=8310
* Optimize repoman visibility checks to access as littleZac Medico2007-10-262-5/+75
| | | | | | | | | | metadata as possible. (improves performance especially in cases where metadata needs to be generated). This works by starting at the lowest version since that's most likely to have keywords and it returns as soon as the first visible package is found. svn path=/main/trunk/; revision=8309
* Make emerge add sets to the world file as one would expect.Zac Medico2007-10-262-8/+31
| | | | svn path=/main/trunk/; revision=8308
* Allow sets to get through world file validation andZac Medico2007-10-262-5/+15
| | | | | | | | expand properly. It's now possible to put @system in the world file and get the old behavior where world includes system. svn path=/main/trunk/; revision=8307
* 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
* break potential cycles in set expansionMarius Mauch2007-10-261-2/+4
| | | | svn path=/main/trunk/; revision=8303
* use SetConfig.getSetAtoms instead of PackageSet.getAtoms for expanding sets ↵Marius Mauch2007-10-262-3/+4
| | | | | | 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-262-4/+13
| | | | | | names if found on the commandline svn path=/main/trunk/; revision=8301
* Allow sets to contain non-atomsMarius Mauch2007-10-252-1/+16
| | | | svn path=/main/trunk/; revision=8300
* Correct expected split counts for CONTENTS lines.Zac Medico2007-10-251-3/+3
| | | | svn path=/main/trunk/; revision=8294
* Handle a potential IndexError.Zac Medico2007-10-251-1/+3
| | | | svn path=/main/trunk/; revision=8293
* Remove obsolete whitespace handling code for "obj" filenamesZac Medico2007-10-251-1/+1
| | | | | | in CONTENTS. svn path=/main/trunk/; revision=8292
* Handle multiple consecutive spaces in filenames as perZac Medico2007-10-251-0/+22
| | | | | | bug #196836#c6. svn path=/main/trunk/; revision=8291
* 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
* If the title string is too big then xtermTitle() canZac Medico2007-10-251-0/+5
| | | | | | | | | misbehave by causing the terminal to echo some of the characters and generate a "beep" sound. This is easily triggered by doing things like `emerge world` now since all the the atoms are expanded. svn path=/main/trunk/; revision=8289
* 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
* Fix broken import.Zac Medico2007-10-241-1/+2
| | | | svn path=/main/trunk/; revision=8270
* 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
* revert r8256 (plans changed)Marius Mauch2007-10-236-32/+29
| | | | svn path=/main/trunk/; revision=8258
* move base classes for package sets into a separate moduleMarius Mauch2007-10-238-164/+170
| | | | svn path=/main/trunk/; revision=8257
* just pass the SetConfig instance instead of only the settings and trees ↵Marius Mauch2007-10-236-29/+32
| | | | | | attributes svn path=/main/trunk/; revision=8256
* Optimize PROFILE_ONLY_VARIABLES handling.Zac Medico2007-10-231-6/+6
| | | | svn path=/main/trunk/; revision=8255
* make 'world' and 'system' behave like their sets/ counterpartsMarius Mauch2007-10-231-2/+1
| | | | svn path=/main/trunk/; revision=8254
* make PROFILE_ONLY_VARIABLES incrementalMarius Mauch2007-10-231-1/+1
| | | | svn path=/main/trunk/; revision=8253
* protect variables specified in PROFILE_ONLY_VARIABLES from being set by the userMarius Mauch2007-10-231-1/+13
| | | | svn path=/main/trunk/; revision=8252
* add quickie logger functionAlec Warner2007-10-231-0/+10
| | | | svn path=/main/trunk/; revision=8251
* Don't show the "checking files for package collisions" messageZac Medico2007-10-231-2/+3
| | | | | | when --quiet is enabled. svn path=/main/trunk/; revision=8248
* Fix config.setinst() to return early when the givenZac Medico2007-10-231-0/+3
| | | | | | package already provides the virtual. svn path=/main/trunk/; revision=8240
* Remove a redundant self.treeVirtuals deepcopy from theZac Medico2007-10-231-2/+1
| | | | | | config constructor. svn path=/main/trunk/; revision=8238
* Bug #196652 - Check for useless ABOUT-NLS|COPYING|LICENSEZac Medico2007-10-231-0/+19
| | | | | | files in dodoc arguments. svn path=/main/trunk/; revision=8236
* 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