summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Move "import copy" to the top of the file.Zac Medico2009-07-031-2/+2
| | | | svn path=/main/trunk/; revision=13765
* Fix broken reference to _graph_trees.Zac Medico2009-07-031-1/+1
| | | | svn path=/main/trunk/; revision=13763
* Fix broken reference to self.myopts in the dynamic_config constructor.Zac Medico2009-07-031-2/+2
| | | | svn path=/main/trunk/; revision=13762
* Use the new frozen_config depgraph constructor parameter to optimizeZac Medico2009-07-031-1/+3
| | | | | | resume_depgraph(). svn path=/main/trunk/; revision=13761
* Add a frozen_config parameter to the depgraph constructor, so that multipleZac Medico2009-07-031-95/+102
| | | | | | | depgraph instances created for backtracking purposes can reuse the same frozen_config instance. svn path=/main/trunk/; revision=13760
* Use depgraph._pkg() whenever possible.Zac Medico2009-07-031-32/+13
| | | | svn path=/main/trunk/; revision=13759
* Move RootConfig.visible_pkgs to dynamic_config._visible_pkgs, so RootConfigZac Medico2009-07-022-4/+7
| | | | | | can be considered entirely "frozen". svn path=/main/trunk/; revision=13758
* Fix reversal in --nodeps merge order. Thanks to Michael HaubenwallnerZac Medico2009-07-021-1/+0
| | | | | | <haubi@gentoo.org> for reporting. svn path=/main/trunk/; revision=13757
* Fix broken references to depgraph._dynamic_config and _frozen_config inZac Medico2009-07-011-10/+11
| | | | | | calc_depclean(). svn path=/main/trunk/; revision=13754
* Fix typo from previous commit.Zac Medico2009-07-011-1/+1
| | | | svn path=/main/trunk/; revision=13753
* Fix depgraph._serialize_tasks so it never performa a needless uninstall taskZac Medico2009-07-011-15/+14
| | | | | | when a package in the same slot is scheduled to replace it. svn path=/main/trunk/; revision=13752
* Always use dep_getkey() when using profile virtuals values, since at leastZac Medico2009-06-301-1/+2
| | | | | | | /profiles/base/virtuals contains an atom with an operator (virtual/pam maps to >=sys-libs/pam-0.78). svn path=/main/trunk/; revision=13750
* Fix depgraph._resolve to do old-style virtual matches against package.providedZac Medico2009-06-301-0/+17
| | | | | | when there is no other choice. svn path=/main/trunk/; revision=13749
* Bug #275217 - Part 4 - Move all member variables of _emerge.depgraph intoZac Medico2009-06-301-529/+542
| | | | | | | frozen_config or dynamic_config. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13747
* Tweak depgraph._select_pkg_highest_available_imp to avoid more updates whenZac Medico2009-06-301-2/+5
| | | | | | | in --avoid-update, by ignoring masked installed packages and packages for which the ebuild is no longer available. svn path=/main/trunk/; revision=13746
* Bug #275945 - Add a new --avoid-update which tries to avoid updating packagesZac Medico2009-06-303-0/+22
| | | | | | | which possible. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13745
* Move code from bug #258773 to dep_zapdeps, since the parent always needs toZac Medico2009-06-291-8/+4
| | | | | | be passed in for atom validation in order to solve bug #275821. svn path=/main/trunk/; revision=13735
* Add missing resume_depgraph import, and remove unused imports.Zac Medico2009-06-281-4/+1
| | | | svn path=/main/trunk/; revision=13732
* Use Package.invalid to generate *.syntax repoman errors for LICENSE,Zac Medico2009-06-281-7/+3
| | | | | | PROPERTIES, PROVIDE, and RESTRICT. svn path=/main/trunk/; revision=13728
* Make Package.invalid suitable for use by repoman.Zac Medico2009-06-282-6/+11
| | | | svn path=/main/trunk/; revision=13726
* Bug #270953 - New !!atom blockers do not allow temporary simulaneousZac Medico2009-06-271-7/+14
| | | | | | | | installation, so unlike !atom blockers, !!atom blockers aren't ignored when they match other packages occupying the same slot. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for the initial patch. svn path=/main/trunk/; revision=13716
* Fix PROVIDE code since the Package class automatically evaluates USEZac Medico2009-06-261-2/+6
| | | | | | conditionals now. svn path=/main/trunk/; revision=13702
* Use clear_caches() to free memory inside action_depclean().Zac Medico2009-06-261-2/+1
| | | | svn path=/main/trunk/; revision=13700
* Bug #275532 - In action_depclean(), free memory from the dep calculationZac Medico2009-06-261-39/+62
| | | | | | before calling unmerge(). svn path=/main/trunk/; revision=13699
* Move __init__.py to main.py.Zac Medico2009-06-261-0/+3
| | | | svn path=/main/trunk/; revision=13698
* Move __init__.py to main.py.Zac Medico2009-06-261-0/+0
| | | | svn path=/main/trunk/; revision=13697
* Use @property instead of __getattribute__ to implement lazy Package.iuse.regexZac Medico2009-06-251-15/+20
| | | | | | initialization. svn path=/main/trunk/; revision=13696
* Add a Package.metadata.restrict attribute containing a list of enabledZac Medico2009-06-253-14/+7
| | | | | | RESTRICT values. svn path=/main/trunk/; revision=13693
* Add a Package.metadata.properties attribute containing a list of enabledZac Medico2009-06-253-20/+7
| | | | | | PROPERTIES values. svn path=/main/trunk/; revision=13692
* * Add a Package.invalid attribute to store messages about invalid LICENSE,Zac Medico2009-06-253-5/+28
| | | | | | | | PROPERTIES, PROVIDE, and RESTRICT metadata. Use it to mask invalid packages when necessary. * Evaluate USE conditional values in Package.metadata when the are accessed. svn path=/main/trunk/; revision=13691
* Add/update copyright headers.Zac Medico2009-06-2581-3/+317
| | | | svn path=/main/trunk/; revision=13690
* Split out a depgraph._iter_match_pkgs() method fromZac Medico2009-06-251-58/+75
| | | | | | _select_pkg_highest_available_imp(). svn path=/main/trunk/; revision=13689
* Use depgraph._pkg() to construct Package instances insideZac Medico2009-06-251-20/+17
| | | | | | _select_pkg_highest_available_imp(). svn path=/main/trunk/; revision=13688
* Remove obsolete Package.metadata['CHOST'] initialization.Zac Medico2009-06-251-3/+0
| | | | svn path=/main/trunk/; revision=13687
* * Make Package.metadata['USE'] access trigger USE calculation for unbuiltZac Medico2009-06-253-50/+47
| | | | | | | | | | ebuilds. * Make Package.metadata['LICENSE'] access trigger USE conditional evaluation. * Make Package.metadata['PROVIDE'] access trigger USE conditional evaluation. * Initialize Package.metadata['CHOST'] in the Package constructor for unbuilt ebuilds. svn path=/main/trunk/; revision=13686
* Bug #275217 - Part 3 - Splits depgraph.select_files into select_files andZac Medico2009-06-241-4/+18
| | | | | | | _resolve. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13685
* Bug #275217 - Part 2 - Move changelog stuff stuff out of depgraph.Zac Medico2009-06-232-53/+64
| | | | | | Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13677
* Bu #275217 - Part 1 - Resolve the circular dep between Scheduler andZac Medico2009-06-232-20/+10
| | | | | | | depgraph; mark all functions as local that aren't used outside of depgraph. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13676
* Make the global "actions" variable a local inside parse_opts() since theZac Medico2009-06-231-8/+8
| | | | | | | | | | | | | | | | | | | | | name collision with the _emerge.actions module triggers this traceback with epydoc-3.0.1: Traceback (most recent call last): File "/usr/bin/epydoc", line 13, in <module> cli() File "/usr/lib/python2.6/site-packages/epydoc/cli.py", line 965, in cli main(options, names) File "/usr/lib/python2.6/site-packages/epydoc/cli.py", line 757, in main exclude_parse=exclude_parse) File "/usr/lib/python2.6/site-packages/epydoc/docbuilder.py", line 235, in build_doc_index docindex = DocIndex(docs) File "/usr/lib/python2.6/site-packages/epydoc/apidoc.py", line 1715, in __init__ raise ValueError("All APIdocs passed to DocIndexer " ValueError: All APIdocs passed to DocIndexer must already have canonical names. svn path=/main/trunk/; revision=13674
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 6).Zac Medico2009-06-232-2704/+2735
| | | | | | Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13673
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 5).Zac Medico2009-06-239-6734/+6845
| | | | | | Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13672
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 4).Zac Medico2009-06-2217-1958/+2134
| | | | | | Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13669
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 3).Zac Medico2009-06-224-340/+350
| | | | | | Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13668
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 2).Zac Medico2009-06-225-361/+393
| | | | | | Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13667
* Revert lazy imports from r13665 for now, since pyflakes doesn't understandZac Medico2009-06-221-34/+27
| | | | | | them, and pyflakes helps check stuff while we're splitting this file up. svn path=/main/trunk/; revision=13666
* Use lazy imports for submodules where possible.Zac Medico2009-06-221-27/+34
| | | | svn path=/main/trunk/; revision=13665
* Bug #275047 - Split _emerge/__init__.py into smaller pieces. Thanks toZac Medico2009-06-2248-3140/+3430
| | | | | | Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13663
* Factor duplicate code out of depgraph._add_pkg and _pop_disjunction.Zac Medico2009-06-201-80/+57
| | | | svn path=/main/trunk/; revision=13657
* Bug #264434 - Delay evaluation of all disjunctive (virtual and ||)Zac Medico2009-06-191-8/+142
| | | | | | | | | dependencies. Evaluting disjuctions as late as possible allows better decisions since the graph is more complete when the decisions are made. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for the initial patch. svn path=/main/trunk/; revision=13655
* Add a EMERGE_LOG_DIR variable to control the location of emerge.log andZac Medico2009-06-181-2/+18
| | | | | | | emerge-fetch.log. This was requested by Eitan Mosenkis <eitan@mosenkis.net> for use in his 'online image builder' soc project. svn path=/main/trunk/; revision=13652