summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* streamline portage pythonpath handling and add an override analog to how the ↵Marius Mauch2006-10-261-1/+1
| | | | | | bash side does it svn path=/main/trunk/; revision=4822
* Reverse the relationship between __contains__ and has_key in all cache ↵Zac Medico2006-10-267-8/+8
| | | | | | classes since python handles the "in" operator more efficiently than a has_key method call. svn path=/main/trunk/; revision=4821
* Test for basestring instead of types.DictType so that the test more generic.Zac Medico2006-10-261-1/+1
| | | | svn path=/main/trunk/; revision=4820
* Fix broken is_eclass_data_valid comparison logic.Zac Medico2006-10-251-2/+2
| | | | svn path=/main/trunk/; revision=4819
* For full compatibility with older versions of portage, write the path in the ↵Zac Medico2006-10-252-8/+12
| | | | | | serialized _eclasses_ when possible. svn path=/main/trunk/; revision=4818
* For bug #152726, ignore hidden files in vardbapi.cp_list().Zac Medico2006-10-251-0/+2
| | | | svn path=/main/trunk/; revision=4817
* For the time being, write a variation of the old _eclass_ format so that ↵Zac Medico2006-10-251-0/+10
| | | | | | cache written only forces a regen for older versions of portage rather than a ValueError due to failed long() conversion. svn path=/main/trunk/; revision=4815
* Improve reconstruct_eclasses error handling.Zac Medico2006-10-251-9/+8
| | | | svn path=/main/trunk/; revision=4814
* Disable ACCEPT_LICENSE support until the details of license groups are ↵Zac Medico2006-10-241-1/+7
| | | | | | decided and implemented. svn path=/main/trunk/; revision=4810
* Add ACCEPT_LICENSE back to incrementals so that profiles can affect it.Zac Medico2006-10-241-1/+2
| | | | svn path=/main/trunk/; revision=4809
* Enable recognition of _mtime_ that doesn't rely on cache mtime mangling.Zac Medico2006-10-241-1/+4
| | | | svn path=/main/trunk/; revision=4808
* Remove paths from _eclasses_ serialization in the cache. This makes the ↵Zac Medico2006-10-242-8/+23
| | | | | | mtimes of the eclasses the only thing that distinguishes them, but the probablility of collision is negligible. This same _eclasses_ format will be used to serialize eclass mtimes in cache that is distributed via the rsync mirrors. The deserialization code can handle mixtures of both the old and new formats. svn path=/main/trunk/; revision=4807
* In getmaskingstatus(), add missing check for * in acceptable_licenses.Zac Medico2006-10-231-6/+7
| | | | svn path=/main/trunk/; revision=4805
* Don't put -* in the env layer, since that layer isn't part of the ↵Zac Medico2006-10-221-1/+1
| | | | | | incremental stacking in regenerate. svn path=/main/trunk/; revision=4804
* Don't limit the size of USE in config.load_infodir.Zac Medico2006-10-221-1/+1
| | | | svn path=/main/trunk/; revision=4802
* Make config.load_infodir also load the data into the env layer in order to ↵Zac Medico2006-10-221-1/+4
| | | | | | ensure that it has preference over what may have been there. svn path=/main/trunk/; revision=4801
* s/str_matches/acceptable_licenses/ typoZac Medico2006-10-221-1/+1
| | | | svn path=/main/trunk/; revision=4793
* Add support for masking of packages via ACCEPT_LICENSE and ↵Zac Medico2006-10-222-12/+76
| | | | | | /etc/portage/package.license. Thanks to Jason Stubbs for the initial patch from bug #17367. svn path=/main/trunk/; revision=4792
* Do put empty incrementals in the environment if they are already set.Zac Medico2006-10-221-1/+1
| | | | svn path=/main/trunk/; revision=4791
* Don't put empty incrementals in the environment.Zac Medico2006-10-221-1/+2
| | | | svn path=/main/trunk/; revision=4790
* Call load_infodir before the setup phase for binary packages so that USE is ↵Zac Medico2006-10-221-0/+6
| | | | | | properly set. svn path=/main/trunk/; revision=4789
* Use reset instead of regenerate (revert part of the previous commit) in ↵Zac Medico2006-10-211-4/+4
| | | | | | order to properly clear the env layer of the config. svn path=/main/trunk/; revision=4787
* Optimize config.setcpv so that it only calls regenerate when necessary. ↵Zac Medico2006-10-211-8/+26
| | | | | | Thanks to Jason Stubbs for the initial patch from bug #17367. svn path=/main/trunk/; revision=4786
* For bug #152157, don't send a redundant escape sequence with ${PROMPT_COMMAND}.Zac Medico2006-10-211-4/+6
| | | | svn path=/main/trunk/; revision=4782
* Allow an empty PROMPT_COMMAND for bug #152157.Zac Medico2006-10-201-1/+3
| | | | svn path=/main/trunk/; revision=4771
* For userpriv, call setgroups with all groups that the portage user belongs ↵Zac Medico2006-10-192-3/+12
| | | | | | to (bug #137610). svn path=/main/trunk/; revision=4760
* Add more dependency priority levels for merge order calculations. ↵Zac Medico2006-10-181-16/+7
| | | | | | Previously, all installed deps were categorized at the same level with other soft deps. Now there are 3 priority levels for soft deps: satisfied buildtime, satisfied runtime, and other. svn path=/main/trunk/; revision=4745
* Eliminate an unnecessary string concatenation.Zac Medico2006-10-171-3/+2
| | | | svn path=/main/trunk/; revision=4744
* Make empty digest-* files 0 bytes instead of 1 byte. Thanks to Sven Wegener ↵Zac Medico2006-10-171-2/+6
| | | | | | for reporting this. svn path=/main/trunk/; revision=4743
* Fix CONFIG_PROTECT so that is works with symlinked directories for bug #151502.Zac Medico2006-10-171-0/+10
| | | | svn path=/main/trunk/; revision=4742
* Filter empty elements in cumulative env-update variables. Thanks to Brian ↵Zac Medico2006-10-171-2/+2
| | | | | | Harring for this patch from bug #151694. svn path=/main/trunk/; revision=4741
* Add -* support to stack_lists() and use dict.pop() for removal of flags when ↵Zac Medico2006-10-171-3/+7
| | | | | | appropriate. svn path=/main/trunk/; revision=4736
* Stack use.mask/package.use.mask together at each level of the profile for ↵Zac Medico2006-10-171-41/+47
| | | | | | bug #151586, and do the same with use.force/package.use.force. svn path=/main/trunk/; revision=4735
* Merge package.use and USE from make.defaults together at each level of the ↵Zac Medico2006-10-171-24/+31
| | | | | | profile stack. This is analogous to how use.mask and package.use.mask are planned to be merged for bug #151586. svn path=/main/trunk/; revision=4734
* For bug #133908, prevent collisions in ${PKGDIR}/All/ by automatically ↵Zac Medico2006-10-161-55/+168
| | | | | | bumping colliding packages to ${PKGDIR}/${CATEGORY}/ just before a collision would occur. Newly built packages are always stored in ${PKGDIR}/All/, should this be 100% compatible with previous behavior. svn path=/main/trunk/; revision=4722
* Simplify and optimize grabdict. Thanks to Brian Harring for suggesting this.Zac Medico2006-10-151-10/+6
| | | | svn path=/main/trunk/; revision=4719
* Make grabdict incremental, so that keys occuring multiple times will stack ↵Zac Medico2006-10-151-3/+10
| | | | | | up instead of overwritting eachother. Thanks to Sven Wegener for this suggestion. svn path=/main/trunk/; revision=4718
* Trigger binarytree population on bindbapi.cpv_all() calls.Zac Medico2006-10-151-0/+5
| | | | svn path=/main/trunk/; revision=4712
* Add a missing method parameter.Zac Medico2006-10-151-1/+1
| | | | svn path=/main/trunk/; revision=4708
* Simplify binarytree.getname().Zac Medico2006-10-151-5/+2
| | | | svn path=/main/trunk/; revision=4704
* Implement per-package default USE flags at the ebuild and profile levels for ↵Zac Medico2006-10-141-10/+45
| | | | | | bug #61732. svn path=/main/trunk/; revision=4679
* Fix the new env-update lib dirs logic to properly account for $ROOT.Zac Medico2006-10-121-1/+1
| | | | svn path=/main/trunk/; revision=4664
* Make an mtime change force an ldconfig run, since it's possible that ↵Zac Medico2006-10-111-1/+1
| | | | | | pre/postinst made changes in lib dirs (noted by Brian Harring). svn path=/main/trunk/; revision=4662
* Use contents to avoid unnecessary ldconfig calls for bug #136488.Zac Medico2006-10-111-7/+26
| | | | svn path=/main/trunk/; revision=4661
* Make manifest2AuxfileFilter() slightly more efficient and also ignore any ↵Zac Medico2006-10-111-3/+5
| | | | | | hidden files. svn path=/main/trunk/; revision=4656
* For bug #150121, generate an error in digestcheck() if a file is found that ↵Zac Medico2006-10-111-0/+16
| | | | | | is not listed in the Manifest. svn path=/main/trunk/; revision=4655
* Move PORTAGE_BUILDDIR in to a category subdirectory and clean up the ↵Zac Medico2006-10-111-11/+62
| | | | | | category directory if empty (while holding lock). This this will help avoid PORTAGE_BUILDDIR collisions for parallel builds and will also hack around bug #150454. svn path=/main/trunk/; revision=4654
* Add more self.modifying() checks in order to detect modifcations to locked ↵Zac Medico2006-10-101-1/+6
| | | | | | config objects. svn path=/main/trunk/; revision=4652
* Only unlink .installed after the collision-protect has completed ↵Zac Medico2006-10-101-11/+10
| | | | | | successfully (reported by axxo). svn path=/main/trunk/; revision=4648
* Only do a slotmove on a slot dep atom if the slotmove atom has no operator ↵Zac Medico2006-10-101-2/+2
| | | | | | (otherwise there's not enough information to perform the slotmove). svn path=/main/trunk/; revision=4647