summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* When transferring cache after sync, compare all metadata to make sure it is ↵Zac Medico2006-11-041-0/+16
| | | | | | identical (don't trust _mtime_ and _eclasses_ alone). Local tests show that this can add approximately 15% more time to the metadata update, but it's needed for things like bug #153591. svn path=/main/trunk/; revision=4924
* For bug #153951, fail with a simple "Permission denied" error if the merge ↵Zac Medico2006-11-031-0/+4
| | | | | | phase doesn't have write access to $ROOT. svn path=/main/trunk/; revision=4916
* Remove broken nocolor() call, since thats handled internally by the output ↵Zac Medico2006-11-021-2/+0
| | | | | | module anyway. svn path=/main/trunk/; revision=4909
* Add --color < y | n > help output for bug #42115.Zac Medico2006-11-021-4/+8
| | | | svn path=/main/trunk/; revision=4908
* Implement --color < y | n > for bug #42115 and deprecate --nocolor. When ↵Zac Medico2006-11-011-3/+6
| | | | | | --color is not specified, rely on the old NOCOLOR variable and/or stdout auto-detection. svn path=/main/trunk/; revision=4906
* For bug #153282, automatically find the owner package(s) in the event of a ↵Zac Medico2006-11-011-0/+32
| | | | | | fatal file collision (since the collision is fatal, the performance hit doesn't matter). svn path=/main/trunk/; revision=4899
* For bug #153295, make load_infodir ignore files that contain null bytes.Zac Medico2006-10-311-1/+7
| | | | svn path=/main/trunk/; revision=4893
* Fix a KeyError when the profile doesn't define default USE.Zac Medico2006-10-311-1/+1
| | | | svn path=/main/trunk/; revision=4885
* Just use stat instead of lstat for config protect, so that broken symlinks ↵Zac Medico2006-10-301-6/+1
| | | | | | are just ignored. svn path=/main/trunk/; revision=4881
* For getmaskingstatus messages, don't assume ARCH is a valid keyword, since ↵Zac Medico2006-10-301-0/+4
| | | | | | that assumption is not necessarily correct for operating systems other than Linux. Thanks to Diego Pettenò for reporting. svn path=/main/trunk/; revision=4879
* For bug #153295, do a sanity check for non-string types in config.environ().Zac Medico2006-10-291-1/+6
| | | | svn path=/main/trunk/; revision=4877
* Don't forget to continue for invalid binpkgs.Zac Medico2006-10-281-0/+1
| | | | svn path=/main/trunk/; revision=4869
* Prevent an attribute error AttributeError for invalid binary packages for ↵Zac Medico2006-10-281-2/+6
| | | | | | which there is no CATEGORY data. svn path=/main/trunk/; revision=4867
* Use mtree to save/restore bsd file flags before/after prepall and ↵Zac Medico2006-10-281-29/+24
| | | | | | installation. Thanks to Diego Pettenò for this patch (related to bug #153109). svn path=/main/trunk/; revision=4863
* Add backward compatibility code for cache modules that override has_key ↵Zac Medico2006-10-271-1/+8
| | | | | | instead of __contains__. svn path=/main/trunk/; revision=4855
* Update help for greedy behavior of --update.Zac Medico2006-10-271-2/+3
| | | | svn path=/main/trunk/; revision=4853
* Update help for --deep.Zac Medico2006-10-271-5/+6
| | | | svn path=/main/trunk/; revision=4852
* Add --with-bdeps to emerge --help output.Zac Medico2006-10-271-0/+8
| | | | svn path=/main/trunk/; revision=4851
* Don't bother to insert /usr/lib/portage/pym into sys.path from inside a ↵Zac Medico2006-10-271-1/+0
| | | | | | module. That's the caller's job. svn path=/main/trunk/; revision=4850
* show licenses or pointer to license files on 'masked by' messageMarius Mauch2006-10-261-2/+2
| | | | svn path=/main/trunk/; revision=4828
* show licenses or pointer to license files on 'masked by' messageMarius Mauch2006-10-261-2/+2
| | | | svn path=/main/trunk/; revision=4827
* add function getlicensetexts() to extract license texts relevant to a given ↵Marius Mauch2006-10-261-0/+27
| | | | | | cpv (to be used by emerge masked by display) svn path=/main/trunk/; revision=4826
* need a mutable config instance to use setcpvMarius Mauch2006-10-261-1/+1
| | | | svn path=/main/trunk/; revision=4824
* rename getmaskingreason() to getpmaskcomment() to clarify its function, ↵Marius Mauch2006-10-261-2/+4
| | | | | | report each license as a separate mask instead of combining them all together into a single value for getmaskingstatus() svn path=/main/trunk/; revision=4823
* 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