summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/FakeVartree.py
Commit message (Collapse)AuthorAgeFilesLines
* FakeVartree: tweak _aux_get_wrapper repo handlingv2.2.0_alpha36Zac Medico2011-05-241-2/+1
|
* FakeVartree: tweak _aux_get_wrapper EAPI handlingZac Medico2011-05-241-1/+4
|
* FakeVartree: preserve EAPI of installed packageZac Medico2011-05-241-1/+2
| | | | | | If the corresponding unbuilt ebuild has a different EAPI than the installed instance, then we want to preserve the EAPI meatadata from the installed instance.
* Package: add new _gen_hash_key methodZac Medico2011-05-221-2/+4
|
* Use new vardbapi lock function in FakeVartree.David James2011-05-071-11/+6
| | | | | | | BUG=none TEST=Merged some packages with new code. Ran test suite. Change-Id: Ibb9380122631bf6c79e39691233cfd641931b75a
* Update Portage to sync BlockerDB at init.David James2011-03-241-6/+12
| | | | | | | | | | | | Currently, Portage syncs the BlockerDB before every merge. This slows down merges considerably because it requires reading the entire vardb from disk. Since Portage doesn't merge conflicting packages anyway, we can optimize this by just reading the vardb at initialization and caching that. Change-Id: I6701926f022ef3aa2da10482fc8b09573ae24610 Review URL: http://codereview.chromium.org/6688037
* Update timestamps in headers of modified files.v2.2.0_alpha28Zac Medico2011-03-181-1/+1
|
* PackageVirtualDbapi: fix get() for reposyntaxZac Medico2011-03-181-1/+1
|
* Specify repo in FakeVartree._aux_get_wrapper().Sebastian Luther2010-10-171-1/+4
|
* Clean up repo handling for depgraph pkg_cache.Zac Medico2010-10-041-5/+1
|
* reposyntax: Next try at fixing the package cacheSebastian Luther2010-09-261-1/+5
|
* reposyntax: Add support all over the placeSebastian Luther2010-09-261-1/+1
|
* Fix typo in FakeVartree._pkg() docstring.Zac Medico2010-09-061-1/+1
|
* Make the depgraph and FakeVartree cooperate to consistently createZac Medico2010-09-061-5/+14
| | | | | Package instances whose root_config attribute is a specially optimized RootConfig that has a FakeVartree instead of a real vartree.
* Fix FakeVartree.sync() to remove stale packages from _pkg_cache.Zac Medico2010-09-061-0/+3
|
* Fix FakeVartree._pkg() to cache package instances in self._pkg_cache,Zac Medico2010-09-051-0/+1
| | | | for use by depgraph.
* use EROOT with VDB_PATHFabian Groffen2010-09-041-1/+1
|
* Add comments about consumers of FakeVardbapi.getpath().Zac Medico2010-08-311-0/+4
|
* Fix some typos.Arfrever Frehtes Taifersar Arahesis2010-08-291-1/+1
|
* config: Add VirtualsManagerSebastian Luther2010-08-271-8/+7
|
* Bug #334365 - When depgraph.display_problems() shows the messageZac Medico2010-08-261-1/+9
| | | | | | about masked installed packages, customize the InvalidDependString display to show the path of the *DEPEND file that contains the invalid dependency.
* Tweak global updates handling so that updates from $PORTDIR are appliedZac Medico2010-07-271-5/+16
| | | | | | | | | for all of the following cases: * package is missing repository metadata * package has repository metadata, but the source repository does not have a profiles/updates/ directory * package has repository metadata, but the source repository is not currently accessible via PORTDIR_OVERLAY
* Fallback to updates from PORTDIR if repository has no 'updates' dir.Michał Górny2010-07-271-0/+3
| | | | | | As a backwards-compatibility measure, if a particular repository doesn't come with an 'updates' directory, fallback to updates from dbapi.porttree_root.
* Support repository-wide updates in FakeVartree.Michał Górny2010-07-271-13/+24
|
* Move imports to the top.Zac Medico2010-06-011-3/+2
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Use lazy import for the portage.dbapi module.Zac Medico2010-02-221-1/+2
| | | | svn path=/main/trunk/; revision=15419
* In FakeVartree.sync(), skip the aux_get wrapper when populating old-stylev2.2_rc53Zac Medico2009-11-271-1/+7
| | | | | | | virtuals, in order to avoid unwanted cache generation with --nodeps (reported by Arfrever). svn path=/main/trunk/; revision=14909
* Set built=True when creating Package instances. This fixes a problem withv2.2_rc52Zac Medico2009-11-251-1/+1
| | | | | | --resume, reported by Sebastian Mingramm (few). svn path=/main/trunk/; revision=14886
* Move FakeVartree population out of the constructor by calling the sync()Zac Medico2009-11-011-4/+3
| | | | | | | method explicitly. This allows the depgraph constructor avoid populating the FakeVartree, and delay it until depgraph._load_vdb() is called. svn path=/main/trunk/; revision=14773
* Eliminate duplicate code from the FakeVartree constructor which does theZac Medico2009-11-011-45/+6
| | | | | | same thing as FakeVartree.sync(). svn path=/main/trunk/; revision=14772
* Define long as int when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-211-0/+5
| | | | svn path=/main/trunk/; revision=14343
* Use filter() and zip() instead of itertools.ifilter() and itertools.izip() ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-5/+4
| | | | | | | | for compatibility with Python 3. (2to3-3.1 -f itertools -f itertools_imports -nw ${FILES}) svn path=/main/trunk/; revision=14314
* Avoid lots of redundant Atom constructor calls. Thanks to Marat RadchenkoZac Medico2009-09-191-2/+1
| | | | | | <marat@slonopotamus.org> for the initial patch from bug #276813. svn path=/main/trunk/; revision=14282
* Use cpv_getkey() instead of dep_getkey() where appropriate.Zac Medico2009-09-131-1/+1
| | | | svn path=/main/trunk/; revision=14242
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-111-10/+2
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993
* Add/update copyright headers.Zac Medico2009-06-251-0/+4
| | | | svn path=/main/trunk/; revision=13690
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 4).Zac Medico2009-06-221-0/+235
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13669