summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Clarify EverythingSet.description a bit. Thanks to Necoro.Zac Medico2008-06-251-2/+3
| | | | svn path=/main/trunk/; revision=10786
* Fix Atom -> str breakage in depgraph.saveNomergeFavorites(). Thanks toZac Medico2008-06-251-1/+1
| | | | | | grobian and darsiide. svn path=/main/trunk/; revision=10785
* Fix repoman breakage wrt _PackageMetadataWrapper._keys values.Zac Medico2008-06-251-1/+5
| | | | svn path=/main/trunk/; revision=10783
* After the depgraph caches the vardb state in a FakeVartree, to makeZac Medico2008-06-252-3/+17
| | | | | | some room on the heap, clear the vardbapi caches. svn path=/main/trunk/; revision=10782
* Implement __contains__, pop() and clear() for Package.metadata attributes.Zac Medico2008-06-251-0/+23
| | | | svn path=/main/trunk/; revision=10780
* Use os.listdir() instead of portage.listdir() to avoid needless cachingZac Medico2008-06-251-2/+2
| | | | | | of directories that only need to be listed once. svn path=/main/trunk/; revision=10779
* Make clear_caches() call portage.dircache.clear().Zac Medico2008-06-251-0/+1
| | | | svn path=/main/trunk/; revision=10778
* Remove the BlockerDB._blocker_cache attribute and just create newZac Medico2008-06-251-4/+3
| | | | | | instances on demand instead of taking space on the heap. svn path=/main/trunk/; revision=10777
* For the Package.metadata attribute, only implement the dict interfaceZac Medico2008-06-252-58/+110
| | | | | | | | instead of actually inheriting from dict. This slightly decreases the memory footprint by defining __slots__ and storing items as object attributes. svn path=/main/trunk/; revision=10776
* Bug #229069 - Before deleting the depgraph, break references pointingZac Medico2008-06-251-0/+34
| | | | | | | to the depgraph from Package instances in the merge list. This helps reduce the heap size a lot. svn path=/main/trunk/; revision=10775
* Fix spelling of depgraph._complete_threshold.Zac Medico2008-06-241-3/+3
| | | | svn path=/main/trunk/; revision=10774
* If dep calculation time exceeds 20 seconds then automaticallyZac Medico2008-06-241-5/+16
| | | | | | | | enable "complete" mode since any performance difference is not as likely to be noticed by the user after this much time has passed. svn path=/main/trunk/; revision=10773
* Use weakref.WeakValueDictionary to make cached Atom instances eligible forZac Medico2008-06-241-1/+2
| | | | | | garbage collection when no strong references remain. svn path=/main/trunk/; revision=10772
* Bug #229233 - Fix Atom -> str breakage in the depgraph.display_problems()Zac Medico2008-06-241-1/+1
| | | | | | package.provided warning message. svn path=/main/trunk/; revision=10771
* Clear dbapi caches just after deleting the depgraph in action_build().Zac Medico2008-06-241-0/+13
| | | | | | This trims down the heap size by a few megs, for bug #229069. svn path=/main/trunk/; revision=10769
* Fix some remaining corner cases that cause bug #220341 to reappearZac Medico2008-06-241-14/+15
| | | | | | intermittently. Thanks to pva for reporting. svn path=/main/trunk/; revision=10768
* Bug #228977 - During dblink._preserve_libs() calls, cache results ofZac Medico2008-06-231-12/+45
| | | | | | | | | LinkageMap.findProviders(), LinkageMap.findConsumers(), and os.path.realpath() calls in order to improve performance. This makes a huge difference in performance for glibc upgrades since glibc provides so many libs to check consumerge for. svn path=/main/trunk/; revision=10764
* Bug #228935 - Add a new "command not found" build log QA Notice. Thanks toZac Medico2008-06-231-0/+15
| | | | | | Olivier Huber for the initial patch. svn path=/main/trunk/; revision=10763
* Bug #228977 - Protect against possible infinite loop inZac Medico2008-06-231-2/+3
| | | | | | dblink._preserve_libs(). svn path=/main/trunk/; revision=10762
* Bug #228939 - Fix display list interaction with --tree mode to preventZac Medico2008-06-221-1/+4
| | | | | | display of a duplicate list. svn path=/main/trunk/; revision=10761
* Fix broken path handling wrt $ROOT in LibraryConsumerSet.mapPathsToAtoms().Zac Medico2008-06-221-3/+1
| | | | svn path=/main/trunk/; revision=10759
* Fix Atom -> str breakage in depgraph._show_slot_collision_notice(). ThanksZac Medico2008-06-211-1/+1
| | | | | | to Arfrever for reporting. svn path=/main/trunk/; revision=10758
* Implement Atom.__cmp__() so that things like list.sort() work correctlyZac Medico2008-06-211-0/+9
| | | | | | for Atom instances. svn path=/main/trunk/; revision=10757
* Fix Atom -> str breakage in depgraph.display_problems().Zac Medico2008-06-211-1/+1
| | | | svn path=/main/trunk/; revision=10755
* Make LibraryConsumerSet.mapPathsToAtoms() use the contents index for moreZac Medico2008-06-211-14/+7
| | | | | | efficient owner lookups. svn path=/main/trunk/; revision=10754
* Exclude calls to autoheader and makeinfo from the automake "maintainer mode"Zac Medico2008-06-211-1/+4
| | | | | | check (filter some false positives). Thanks to Flameeyes. svn path=/main/trunk/; revision=10752
* Use bash's built-in echo instead of the actual echo binary since it hasZac Medico2008-06-211-3/+4
| | | | | | | compatibility issues on FreeBSD systems. Thanks to aballier for reporting the issue and testing this patch. svn path=/main/trunk/; revision=10751
* Fix Atom -> str breakage in WorldSet.write().Zac Medico2008-06-201-1/+2
| | | | svn path=/main/trunk/; revision=10749
* Remove unused Atom.string attribute.Zac Medico2008-06-201-1/+1
| | | | svn path=/main/trunk/; revision=10748
* Bug #228595 - Use os.path.realpath() before comparing paths to thoseZac Medico2008-06-201-0/+1
| | | | | | | returned from portdbapi.getRepositoryPath() since those paths are also cannonical. svn path=/main/trunk/; revision=10746
* Make isvalidatom() use the Atom cache to avoid validating the same atomZac Medico2008-06-201-0/+3
| | | | | | twice. svn path=/main/trunk/; revision=10745
* Make Atom use str.__eq__ and __ne__ also.Zac Medico2008-06-201-1/+1
| | | | svn path=/main/trunk/; revision=10744
* Make Atom use str.__hash__.Zac Medico2008-06-201-1/+1
| | | | svn path=/main/trunk/; revision=10743
* Make the Atom cache dict private and add a docstring for _AtomCache.Zac Medico2008-06-201-3/+7
| | | | svn path=/main/trunk/; revision=10742
* Use a metaclass to cache Atom instances transparently. This should improveZac Medico2008-06-201-0/+11
| | | | | | | performance and conserve memory in cases when the same atom is more than once. svn path=/main/trunk/; revision=10741
* Instead of having Atom inherit from str, just emulate the interface. ThisZac Medico2008-06-201-2/+15
| | | | | | | | allows us to define __slots__ (not allowed when inheriting from str) and therefore should conserve some memory by avoiding a __dict__ attribute on every Atom. svn path=/main/trunk/; revision=10740
* Make the visibility related config methods such as getMaskAtom() andZac Medico2008-06-203-27/+27
| | | | | | | getProfileMaskAtom() private since these methods really should take Package instances before we expose them as public api. svn path=/main/trunk/; revision=10739
* reenable warning about missing repository namesv2.2_rc1Marius Mauch2008-06-201-0/+14
| | | | svn path=/main/trunk/; revision=10735
* Document the new emerge <file> feature.Zac Medico2008-06-201-1/+1
| | | | svn path=/main/trunk/; revision=10732
* Fix typo.Zac Medico2008-06-201-1/+1
| | | | svn path=/main/trunk/; revision=10731
* Make emerge <path> path search for multiple owners of directories. ThisZac Medico2008-06-201-20/+38
| | | | | | | makes it possible to use `emerge /lib/modules` as a decent substitute for module-rebuild. svn path=/main/trunk/; revision=10730
* Pass a Package instance into LineCheck.new(), and use this to avoidZac Medico2008-06-191-10/+10
| | | | | | | passing the ebuild mtime into the EbuildHeader constructor (the mtime is given when the new() method is called). svn path=/main/trunk/; revision=10725
* Refactor the 'inherit.autotools' and 'IUSE.undefined' checksZac Medico2008-06-191-26/+66
| | | | | | into classes derived from LineCheck. svn path=/main/trunk/; revision=10723
* Bug #228075 - Explicitly call gc.collect() to try and free memoryZac Medico2008-06-181-0/+8
| | | | | | | when checking for blockers. This avoids a heap overflow that triggers 'Cannot allocate memory' errors (reported with python-2.5). svn path=/main/trunk/; revision=10717
* As suggested by remi`, make the 'inherit.autotools' check only ebuilds thatZac Medico2008-06-181-8/+6
| | | | | | | inherit the autotools eclass directly (rather than indirectly through an eclass such as apache-2 or x-modular). svn path=/main/trunk/; revision=10715
* Add an exemption for x-modular in the "inherit.autotools" check. Thanks toZac Medico2008-06-181-3/+4
| | | | | | remi` for reporting. svn path=/main/trunk/; revision=10714
* Bug #225285 - Add a --skip-manifest option that disables all interactionZac Medico2008-06-181-1/+4
| | | | | | with the manifest. svn path=/main/trunk/; revision=10712
* More eblank.Zac Medico2008-06-172-2/+1
| | | | svn path=/main/trunk/; revision=10704
* remove stray lineMarius Mauch2008-06-171-2/+0
| | | | svn path=/main/trunk/; revision=10696
* Remove eblank nonsenseMarius Mauch2008-06-173-16/+3
| | | | svn path=/main/trunk/; revision=10694