Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use portage.chdir() instead of os.chdir() in order to avoid an 'OSError: ↵ | Zac Medico | 2006-12-04 | 1 | -1/+1 |
| | | | | | | [Errno 2] No such file or directory' if the working directory doesn't exist. Thanks to Caster for reporting. svn path=/main/trunk/; revision=5171 | ||||
* | When portdbapi.aux_get() generates a KeyError in portage.getmaskingstatus(), ↵ | Zac Medico | 2006-12-04 | 1 | -1/+6 |
| | | | | | | handle it by reporting "corruption". svn path=/main/trunk/; revision=5166 | ||||
* | Move the global statement out of the try block so that it's clearly in scope ↵ | Zac Medico | 2006-12-03 | 1 | -1/+1 |
| | | | | | | for the finally block. svn path=/main/trunk/; revision=5161 | ||||
* | Make portage.digestgen() automatically exempt the depend phase from Manifest ↵ | Zac Medico | 2006-12-03 | 1 | -36/+46 |
| | | | | | | checks so that it works for repoman without triggering a digest verification failure. svn path=/main/trunk/; revision=5160 | ||||
* | Skip digest checks when digest is in features. | Zac Medico | 2006-12-02 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=5159 | ||||
* | Make sure that all depend phases triggered by the digest phase are exempt ↵ | Zac Medico | 2006-12-02 | 1 | -34/+33 |
| | | | | | | from digest checks. svn path=/main/trunk/; revision=5157 | ||||
* | Make sure that *all* of the ebuilds are listed in the Manifest. | Zac Medico | 2006-12-02 | 1 | -0/+8 |
| | | | | svn path=/main/trunk/; revision=5156 | ||||
* | Only attempt to verify the Manifest if the ebuild is actually in a portage tree. | Zac Medico | 2006-12-02 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=5155 | ||||
* | Avoid checking the same Manifest several times in a row during a regen with ↵ | Zac Medico | 2006-12-02 | 1 | -18/+24 |
| | | | | | | an empty cache. svn path=/main/trunk/; revision=5153 | ||||
* | Temporarily exempt the depend phase during the help phase also. | Zac Medico | 2006-12-02 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=5152 | ||||
* | For manifest and digest phases, use a global variable to temporarily exempt ↵ | Zac Medico | 2006-12-02 | 1 | -1/+16 |
| | | | | | | the depend phase from manifest checks (in cache regeneration is triggered). svn path=/main/trunk/; revision=5151 | ||||
* | Always verify the ebuild checksums before executing it. Thanks to solar for ↵ | Zac Medico | 2006-12-02 | 1 | -0/+23 |
| | | | | | | the suggestion and antarus for the initial patch. svn path=/main/trunk/; revision=5150 | ||||
* | Update the dblink.isprotected() docstring. | Zac Medico | 2006-11-26 | 1 | -4/+3 |
| | | | | svn path=/main/trunk/; revision=5134 | ||||
* | Never overwrite an untouched config file and trigger config protection ↵ | Zac Medico | 2006-11-26 | 1 | -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 Medico | 2006-11-26 | 1 | -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 Medico | 2006-11-23 | 1 | -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 Medico | 2006-11-23 | 1 | -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 Medico | 2006-11-22 | 1 | -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 Medico | 2006-11-20 | 1 | -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 Medico | 2006-11-20 | 1 | -4/+5 |
| | | | | | | mydbapi is None. svn path=/main/trunk/; revision=5093 | ||||
* | Use mydbapi is None to eliminate the return_all_deps parameter from ↵ | Zac Medico | 2006-11-20 | 1 | -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 Medico | 2006-11-19 | 1 | -1/+5 |
| | | | | | | ebuilds. svn path=/main/trunk/; revision=5088 | ||||
* | Revert ACCEPT_LICENSE support, since license group support is a requirement ↵ | Zac Medico | 2006-11-18 | 1 | -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 Medico | 2006-11-17 | 1 | -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 Medico | 2006-11-17 | 1 | -5/+6 |
| | | | | | | unaccounted for. svn path=/main/trunk/; revision=5066 | ||||
* | Update the _expand_new_virtuals docstring with a not about zero cost for ↵ | Zac Medico | 2006-11-17 | 1 | -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 Medico | 2006-11-16 | 1 | -3/+12 |
| | | | | svn path=/main/trunk/; revision=5062 | ||||
* | Pull in the new-style virtuals and install them so that the vdb has complete ↵ | Zac Medico | 2006-11-16 | 1 | -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 Medico | 2006-11-16 | 1 | -1/+83 |
| | | | | svn path=/main/trunk/; revision=5055 | ||||
* | Make portage.global_updates() return any updates that may have been performed. | Zac Medico | 2006-11-14 | 1 | -1/+17 |
| | | | | svn path=/main/trunk/; revision=5048 | ||||
* | Fix a lock file leak. | Zac Medico | 2006-11-14 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=5046 | ||||
* | Remove useless unmerge() call after collision-protect has prevented anything ↵ | Zac Medico | 2006-11-14 | 1 | -6/+0 |
| | | | | | | from being merged. svn path=/main/trunk/; revision=5044 | ||||
* | Make fakedbapi support generic metadata instead of just slots. | Zac Medico | 2006-11-14 | 1 | -9/+9 |
| | | | | svn path=/main/trunk/; revision=5042 | ||||
* | For bug #154986, show the usual "Filesize does not match recorded size" ↵ | Zac Medico | 2006-11-14 | 1 | -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 Medico | 2006-11-14 | 1 | -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 Medico | 2006-11-14 | 1 | -7/+7 |
| | | | | svn path=/main/trunk/; revision=5033 | ||||
* | Use try/finally to ensure that locks are properly released in ↵ | Zac Medico | 2006-11-14 | 1 | -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 Medico | 2006-11-13 | 1 | -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 Medico | 2006-11-13 | 1 | -0/+4 |
| | | | | svn path=/main/trunk/; revision=5021 | ||||
* | For bug #154554, validate all profile virtuals atoms. | Zac Medico | 2006-11-11 | 1 | -3/+23 |
| | | | | svn path=/main/trunk/; revision=5010 | ||||
* | Make digestcheck() fail if an ebuild isn't listed in the Manifest. Thanks ↵ | Zac Medico | 2006-11-11 | 1 | -0/+6 |
| | | | | | | to pva for reporting. svn path=/main/trunk/; revision=5002 | ||||
* | s/grabdict/grabdict_package/ for bug #63429. | Zac Medico | 2006-11-07 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=4980 | ||||
* | Minimize getvirtuals() calls and dict lookups inside dep_virtual(). | Zac Medico | 2006-11-06 | 1 | -6/+7 |
| | | | | svn path=/main/trunk/; revision=4966 | ||||
* | Simplify the new-style -> old-style virtuals bridge by doing it implicitly ↵ | Zac Medico | 2006-11-06 | 1 | -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 Medico | 2006-11-06 | 1 | -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 Medico | 2006-11-06 | 1 | -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 Medico | 2006-11-03 | 1 | -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 Medico | 2006-11-01 | 1 | -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 Medico | 2006-10-31 | 1 | -1/+7 |
| | | | | svn path=/main/trunk/; revision=4893 | ||||
* | Fix a KeyError when the profile doesn't define default USE. | Zac Medico | 2006-10-31 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=4885 |