summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Handle UnsupportedAPIException when running the ebuild(1)Zac Medico2007-10-051-0/+8
| | | | | | command. (trunk r7918) svn path=/main/branches/2.1.2/; revision=7940
* Include the package name in all exceptions raised fromZac Medico2007-10-051-3/+5
| | | | | | | | portdbapi.getfetchlist() so that a redundant and sometimes inaccurate message doesn't have to be shown when the error is caught in digestgen(). (trunk r7917) svn path=/main/branches/2.1.2/; revision=7939
* Make portdbapi.getfetchlist() bail out if the EAPIZac Medico2007-10-051-1/+8
| | | | | | | | is unsupported. This makes it impossible for an unsupported EAPI to result in invalid Manifest generation. (trunk r7916) svn path=/main/branches/2.1.2/; revision=7938
* Fix logic for the message that's show whenZac Medico2007-10-051-1/+1
| | | | | | --force is disabled. (trunk r7915) svn path=/main/branches/2.1.2/; revision=7937
* Make repoman bail out if it is unable to properlyZac Medico2007-10-052-19/+55
| | | | | | | | | access ebuild metadata for some reason. In this case it's impossible to generate a Manifest and therefore the --force option has to be disabled. (trunk r7914) svn path=/main/branches/2.1.2/; revision=7936
* Add EAPI masking support for binary packages. (trunk r7913)Zac Medico2007-10-052-5/+20
| | | | svn path=/main/branches/2.1.2/; revision=7935
* Fix UnsupportedAPIException.__str__() to strip the leading negativeZac Medico2007-10-051-1/+5
| | | | | | sign (-) from the EAPI, to prevent confusion. (trunk r7912) svn path=/main/branches/2.1.2/; revision=7934
* When the metadata cache contains a negative EAPI, it meansZac Medico2007-10-051-1/+6
| | | | | | | | | | | | that the cache entry was generated by a version of portage that did not support the eapi. When the user upgrades to a version that now supports the previously unsupported EAPI, those cache entries need to be regenerated. Therefore, when a cache entry has a negative EAPI, check if the EAPI would be supported and trigger a regen if appropriate. (trunk r7910 and r7919) svn path=/main/branches/2.1.2/; revision=7933
* Bump EAPI from 0 to 1 and fix eapi_is_supported() so thatZac Medico2007-10-052-2/+8
| | | | | | it works properly with both 0 and 1. (trunk r7909) svn path=/main/branches/2.1.2/; revision=7932
* no need to use "function" when defining a function (trunk r7908)Zac Medico2007-10-051-10/+10
| | | | svn path=/main/branches/2.1.2/; revision=7931
* this isnt part of gentoolkit anymore (trunk r7907)Zac Medico2007-10-051-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7930
* Update the docs for the "ebuild.syntax" error toZac Medico2007-10-052-1/+2
| | | | | | | indicate that a digest verification failure can trigger it. (trunk r7905) svn path=/main/branches/2.1.2/; revision=7929
* Port the EbuildQuote check from trunk. (trunk r7904)Zac Medico2007-10-051-3/+80
| | | | svn path=/main/branches/2.1.2/; revision=7928
* Bug #194398 - Do not log "exiting successfully" in emerge.logZac Medico2007-10-051-2/+5
| | | | | | | unless the status really is successful. Otherwise, log "exiting unsuccessfully". Thanks to David Watzke. (trunk r7900) svn path=/main/branches/2.1.2/; revision=7927
* Bug #142508 - Clear the screen each time before callingZac Medico2007-10-051-0/+14
| | | | | | | the "diff" command so that any remnants of the previous config are now shown with the current one. (trunk r7893) svn path=/main/branches/2.1.2/; revision=7926
* Reimplement portdbapi.visible() so that is works withoutZac Medico2007-10-051-44/+50
| | | | | | | | | | | | | | using self.xmatch(). This should be 100% compatible with the previous implementation and have comparable performance. By eliminating the xmatch() dependency, the code becomes more generically usable, like for visibility filtering of binary packages. It seems that it will be necessary to move this code outside of the dbapi since visiblity filtering is really a resolver level function and to solve things like bug #88613 will require a more flexible approach. (trunk r7892) svn path=/main/branches/2.1.2/; revision=7925
* Document interaction between config.setinst() andZac Medico2007-10-051-0/+7
| | | | | | old-style virtuals preferences. (trunk r7891) svn path=/main/branches/2.1.2/; revision=7924
* Remove redundant trailing slashes from ${D}. (trunk r7890)Zac Medico2007-10-051-14/+17
| | | | svn path=/main/branches/2.1.2/; revision=7923
* Initialize PORTAGE_TMPDIR before using it. (trunk r7887)Zac Medico2007-10-051-3/+3
| | | | svn path=/main/branches/2.1.2/; revision=7922
* Fix quoting as reported by Drac in bug 194169 (trunk r7877:7879)Zac Medico2007-10-052-4/+2
| | | | svn path=/main/branches/2.1.2/; revision=7921
* Bug #194095 - Validate dispatch-conf input in order toZac Medico2007-10-051-2/+13
| | | | | | | | prevent spurious input characters from being interpreted as user input (which can be quite confusing and gives an "out of control" feeling). (trunk r7877) svn path=/main/branches/2.1.2/; revision=7920
* Bug #179380 - Make the default src_compile() support ECONF_SOURCEZac Medico2007-10-031-1/+3
| | | | | | if EAPI > 0. (trunk r6567) svn path=/main/branches/2.1.2/; revision=7906
* Bug #193548 - When scanning for config updates and an errorZac Medico2007-09-281-4/+6
| | | | | | | occurs, send find's stdout to /dev/null so that only an error message is shown. (trunk r7875) svn path=/main/branches/2.1.2/; revision=7876
* When scanning for config updates, treat a symlink to an existingZac Medico2007-09-281-0/+9
| | | | | | directory as if it's just a normal directory. (trunk r7873) svn path=/main/branches/2.1.2/; revision=7874
* Bug #193548 - When emerge spawns find to search for config updates,Zac Medico2007-09-281-1/+2
| | | | | | show the find output if there is an error. (trunk r7871) svn path=/main/branches/2.1.2/; revision=7872
* Bug #194081 - Add EBUSY to the list of ignored errnos for unlinkZac Medico2007-09-281-4/+8
| | | | | | and rmdir calls during unmerge. (trunk r7869) svn path=/main/branches/2.1.2/; revision=7870
* Bug #192706 - Do not print a summary at the end of --depclean ifZac Medico2007-09-281-0/+3
| | | | | | there is nothing to clean and --quiet is enabled. (trunk r7838) svn path=/main/branches/2.1.2/; revision=7868
* Handle KeyError thrown from aux_get(). (trunk r7866)Zac Medico2007-09-271-5/+6
| | | | svn path=/main/branches/2.1.2/; revision=7867
* Move prelink tempfile cleanup to the finally block andZac Medico2007-09-271-6/+2
| | | | | | remove unused locking code. (trunk r7864) svn path=/main/branches/2.1.2/; revision=7865
* Avoid useless and ugly atexit tracebacks that are triggered whenZac Medico2007-09-271-0/+3
| | | | | | portage exits during the portdbapi constructor. (trunk r6620) svn path=/main/branches/2.1.2/; revision=7863
* Simplify update_eclasses() a little. (trunk r7861)Zac Medico2007-09-271-8/+5
| | | | svn path=/main/branches/2.1.2/; revision=7862
* Fix portage.exception namespace typo.Zac Medico2007-09-271-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7860
* Move a newline to fix formatting. (trunk r7858)Zac Medico2007-09-271-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=7859
* Ignore ENOTDIR from unmerge unlink calls. (trunk r7856)Zac Medico2007-09-271-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7857
* with help from Donnie and Ulrich, use sed to extract the statementZac Medico2007-09-271-2/+24
| | | | | | | that led to the call to die so we can print it out in our error message (trunk r7852) svn path=/main/branches/2.1.2/; revision=7855
* Bug #194025 - Lock /var/db/pkg in post_merge() during theZac Medico2007-09-271-3/+10
| | | | | | "Regenerating GNU info directory index" routine. (trunk r7853) svn path=/main/branches/2.1.2/; revision=7854
* Bug #193486 - Use echo -n and properly quote the array argument. (trunk r7850)Zac Medico2007-09-271-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7851
* Bug #193486 - Use xargs to avoid 'bash: /bin/rm: Argument list too long'Zac Medico2007-09-271-1/+2
| | | | | | | errors. This patch uses a weird tr '\001' '\000' workaround since bash doesn't echo null bytes like one might expect. (trunk r7848) svn path=/main/branches/2.1.2/; revision=7849
* Do the stale env check/warning after the digest/manifestZac Medico2007-09-271-15/+23
| | | | | | phase when necessary. (trunk r7846) svn path=/main/branches/2.1.2/; revision=7847
* Display a short notification when an existing ${T}/environmentZac Medico2007-09-271-0/+19
| | | | | | | | | sourced since it is easy to ignore and ignorance of it often leads to mysterious problems and general confusion. This message should not show in cases where it is obviously irrelevant, FEATURES=noauto, or PORTAGE_QUIET=1. (trunk r7844) svn path=/main/branches/2.1.2/; revision=7845
* align the filename and line numbers in the output of the stackZac Medico2007-09-271-18/+26
| | | | | | dump so that it is much easier to read (trunk r7842) svn path=/main/branches/2.1.2/; revision=7843
* Fix a typo. (trunk r7840)Zac Medico2007-09-261-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7841
* Set non-blocking mode on the pty master file descriptor whileZac Medico2007-09-261-16/+14
| | | | | | | | | | | | the slave file descriptor is still held open since otherwise the fcntl call can fail on FreeBSD (the child process might have already exited and closed the slave file descriptor so we have to keep it open in order to avoid FreeBSD potentially generating an EAGAIN exception). This approach is cleaner than triggering the exception and being forced to handle it somehow. (trunk r7835) svn path=/main/branches/2.1.2/; revision=7837
* Bug #192341 - When the chflags command does not exit successfully,Zac Medico2007-09-261-4/+13
| | | | | | | | | | | try to generate an informative error. First, use stat or lstat to try and generate an ENOENT error. It the path exists, verify that the chflags binary exists and raise CommandNotFound if necessary. Finally, simply generate an EPERM OSError with the output of the command since we're not sure exactly why it failed or what the real errno was. (trunk r7834) svn path=/main/branches/2.1.2/; revision=7836
* Bug #192341 - Eliminate the dependency on py-freebsd by implementingZac Medico2007-09-261-3/+16
| | | | | | | | | | it's chflags() and lchflags() functions as wrappers around the chflags command (which should always be available in any case). The functions are only called when merging/unmerging files that actually have flags set so the performance difference should be negligible. (trunk r7808) svn path=/main/branches/2.1.2/; revision=7833
* Bugs #168772 and #193695 - During unmerge, only ignore specificZac Medico2007-09-261-19/+64
| | | | | | | | | | | | | | | | | exceptions raised from unlink() and rmdir() calls. Bug #193695 - Add support for FreeBSD chflags during unmerge. This code is adapted from the code that already exists in movefile() for the merge phase. In movefile() FreeBSD chflags handling, use chflags instead of lchflags when temporarily adjusting the flags on the parent directory since we want to follow any symlinks to the real parent directory. (trunk r7803:7807) svn path=/main/branches/2.1.2/; revision=7832
* Bug #74615 - Quote all file paths inside dispatch-conf shellZac Medico2007-09-263-9/+9
| | | | | | commands. (trunk r7803) svn path=/main/branches/2.1.2/; revision=7831
* Initialize ${TMP} before registering the die trap so thatZac Medico2007-09-261-1/+1
| | | | | | we're sure which directory die will clean up. (trunk r7802) svn path=/main/branches/2.1.2/; revision=7830
* Bug #190179 - Use `prelink --verify filename` to write theZac Medico2007-09-261-5/+9
| | | | | | | | | | temp file via stdout since --undo fails when run as a normal non-superuser because it tries to chown the output file. Also, use mkstemp() to eliminate the need for locking the temp file. Thanks to Israel G. Lugo <israel.lugo@lugosys.com> for the initial patch. (trunk r7801) svn path=/main/branches/2.1.2/; revision=7829
* s/note/not/ reported by p-y. (trunk r7800)Zac Medico2007-09-261-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7828