summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
Commit message (Collapse)AuthorAgeFilesLines
* Update the dblink.isprotected() docstring.Zac Medico2006-11-261-4/+3
| | | | svn path=/main/trunk/; revision=5134
* Never overwrite an untouched config file and trigger config protection ↵Zac Medico2006-11-261-35/+6
| | | | | | instead (in case the new config has an unwanted change). In cases where an installed package in the same slot owns a protected file that will be merged, bump the mtime on the installed file in order to ensure that it isn't unmerged. Thanks to Ciaran McCreesh <ciaranm@ciaranm.org> for his suggestion on bug #8423, comment #40. svn path=/main/trunk/; revision=5133
* For bug #8423, allow the merge phase to overwrite untouched config files and ↵Zac Medico2006-11-261-4/+66
| | | | | | also allow the unmerge phase to unmerge untouched config files. svn path=/main/trunk/; revision=5129
* Allow -keyword to be matched since some ebuilds use it. Thanks to Brian ↵Zac Medico2006-11-231-2/+0
| | | | | | Harring reporting on bug #150585. svn path=/main/trunk/; revision=5123
* For bug #150585, stack package.keywords incrementally so that -keyword works ↵Zac Medico2006-11-231-3/+26
| | | | | | as expected for any incremental variable. This brings the gvisible and getmaskingstatus logic into sync so that the confusing (masked by: ) message will not be generated in cases where package.keywords contains -keyword followed by keyword. svn path=/main/trunk/; revision=5121
* For bug #142993, make sure that chown and chgrp calls preserve S_ISUID and ↵Zac Medico2006-11-221-0/+33
| | | | | | S_ISGID mode bits. svn path=/main/trunk/; revision=5114
* Allow the ROOT setting to come from make.conf. Thanks to Daniel Barkalow ↵Zac Medico2006-11-201-13/+33
| | | | | | <barkalow@iabervon.org> for this patch (submitted on the gentoo-portage-dev mailing list). svn path=/main/trunk/; revision=5101
* Allow dep_wordreduce to mark things satisfied by package.provided even when ↵Zac Medico2006-11-201-4/+5
| | | | | | mydbapi is None. svn path=/main/trunk/; revision=5093
* Use mydbapi is None to eliminate the return_all_deps parameter from ↵Zac Medico2006-11-201-17/+13
| | | | | | dep_check and dep_zapdeps. The result is the same and this way we avoid having an additional parameter with overlapping meaning. svn path=/main/trunk/; revision=5092
* Fix portdbapi.cpv_all() so that it actually returns a list of all available ↵Zac Medico2006-11-191-1/+5
| | | | | | ebuilds. svn path=/main/trunk/; revision=5088
* Revert ACCEPT_LICENSE support, since license group support is a requirement ↵Zac Medico2006-11-181-112/+14
| | | | | | and it remain unimplemented. This brings trunk back into sync with the 2.1.2 branch. svn path=/main/trunk/; revision=5081
* Integrate old-style virtuals handling into _expand_new_virtuals() and prefer ↵Zac Medico2006-11-171-20/+12
| | | | | | new-style over old-style whenever they are available. svn path=/main/trunk/; revision=5067
* Fix _expand_new_virtuals so that it doesn't allow any virtual deps to go ↵Zac Medico2006-11-171-5/+6
| | | | | | unaccounted for. svn path=/main/trunk/; revision=5066
* Update the _expand_new_virtuals docstring with a not about zero cost for ↵Zac Medico2006-11-171-2/+2
| | | | | | new-style virtuals. svn path=/main/trunk/; revision=5064
* For bug #141118, make dep_zapdeps assign zero cost to new-style virtuals.Zac Medico2006-11-161-3/+12
| | | | svn path=/main/trunk/; revision=5062
* Pull in the new-style virtuals and install them so that the vdb has complete ↵Zac Medico2006-11-161-0/+1
| | | | | | standalone dep info, in case a portage tree isn't available. svn path=/main/trunk/; revision=5061
* For bug #141118, make dep_check do recursive expansion of new-style virtuals.Zac Medico2006-11-161-1/+83
| | | | svn path=/main/trunk/; revision=5055
* Make portage.global_updates() return any updates that may have been performed.Zac Medico2006-11-141-1/+17
| | | | svn path=/main/trunk/; revision=5048
* Fix a lock file leak.Zac Medico2006-11-141-1/+1
| | | | svn path=/main/trunk/; revision=5046
* Remove useless unmerge() call after collision-protect has prevented anything ↵Zac Medico2006-11-141-6/+0
| | | | | | from being merged. svn path=/main/trunk/; revision=5044
* Make fakedbapi support generic metadata instead of just slots.Zac Medico2006-11-141-9/+9
| | | | svn path=/main/trunk/; revision=5042
* For bug #154986, show the usual "Filesize does not match recorded size" ↵Zac Medico2006-11-141-2/+3
| | | | | | message even for fetch restricted files. svn path=/main/trunk/; revision=5036
* Remove reentrance support for dblink.lockdb() since it's no longer used and ↵Zac Medico2006-11-141-6/+5
| | | | | | it won't necessarily work correctly now that a global vdb lock is used. svn path=/main/trunk/; revision=5034
* Use try/finally to ensure that locks are properly released in dblink.unmerge().Zac Medico2006-11-141-7/+7
| | | | svn path=/main/trunk/; revision=5033
* Use try/finally to ensure that locks are properly released in ↵Zac Medico2006-11-141-38/+33
| | | | | | portdbapi.aux_get(). svn path=/main/trunk/; revision=5030
* For bug #154989, use a single lock on /var/db/pkg since finer grained ↵Zac Medico2006-11-131-6/+3
| | | | | | locking is unnecessary and often insufficient. svn path=/main/trunk/; revision=5027
* For bug #154921, prevent an IndexError when a + is in USE.Zac Medico2006-11-131-0/+4
| | | | svn path=/main/trunk/; revision=5021
* For bug #154554, validate all profile virtuals atoms.Zac Medico2006-11-111-3/+23
| | | | svn path=/main/trunk/; revision=5010
* Make digestcheck() fail if an ebuild isn't listed in the Manifest. Thanks ↵Zac Medico2006-11-111-0/+6
| | | | | | to pva for reporting. svn path=/main/trunk/; revision=5002
* s/grabdict/grabdict_package/ for bug #63429.Zac Medico2006-11-071-1/+1
| | | | svn path=/main/trunk/; revision=4980
* Minimize getvirtuals() calls and dict lookups inside dep_virtual().Zac Medico2006-11-061-6/+7
| | | | svn path=/main/trunk/; revision=4966
* Simplify the new-style -> old-style virtuals bridge by doing it implicitly ↵Zac Medico2006-11-061-17/+7
| | | | | | for all virtuals instead of explicit scanning for available new-style virtuals. svn path=/main/trunk/; revision=4962
* Make config.add_new_virtuals() work properly even if self.virtuals has ↵Zac Medico2006-11-061-1/+3
| | | | | | previously been initialized. svn path=/main/trunk/; revision=4957
* For bug #154223, bridge new-style virtuals into old-style virtuals in order ↵Zac Medico2006-11-061-1/+23
| | | | | | to prevent old-style virtuals from making new-style virtuals invisible. svn path=/main/trunk/; revision=4955
* 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
* 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
* 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
* 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
* For bug #152726, ignore hidden files in vardbapi.cp_list().Zac Medico2006-10-251-0/+2
| | | | svn path=/main/trunk/; revision=4817
* 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