summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prefer thirdpartymirrors over normal mirrors in cases when the file does notZac Medico2008-10-201-3/+10
| | | | | | | yet exist on the normal mirrors. Thanks to Maurice van der Pot <griffon26@g.o> for reporting. svn path=/main/trunk/; revision=11706
* Handle the case that was intended to be fixed by r11702 (which got reverted).Zac Medico2008-10-201-0/+16
| | | | svn path=/main/trunk/; revision=11705
* Revert previous 2 commits since they broke "selective" behavior.Zac Medico2008-10-201-5/+10
| | | | svn path=/main/trunk/; revision=11704
* Simplify logic from the previous commit.Zac Medico2008-10-201-5/+4
| | | | svn path=/main/trunk/; revision=11703
* Remove the "found_available_arg" variable from depgraph._select_pkg() and useZac Medico2008-10-191-6/+2
| | | | | | | | | | | the "matched_packages" variable instead. This solve a problem where the "found_available_arg" flag is unreliable due to the slot filtering behavior of depgraph._iter_atoms_for_pkg(). For example, a higher version in a different slot than the available ebuild might be masked or unavailable, and depgraph._iter_atoms_for_pkg() will not identify the available ebuild as a match due to this installed package (which is not available for reinstall). svn path=/main/trunk/; revision=11702
* Remove the unused portage.gpg module and portage_gpg_update.sh script.Zac Medico2008-10-172-163/+0
| | | | svn path=/main/trunk/; revision=11699
* Remove support for FEATURES=gpg since it's already disabled and brokenZac Medico2008-10-173-73/+1
| | | | | | anyway. Thanks to DJ Anderson for the suggestion. svn path=/main/trunk/; revision=11698
* In fetch(), make sure all references to digests for zero-byte distfile areZac Medico2008-10-171-0/+1
| | | | | | always discarded. svn path=/main/trunk/; revision=11697
* In fetch(), don't spawn pkg_nofetch unless PORTAGE_BUILDDIR exists since itZac Medico2008-10-161-1/+3
| | | | | | will die anyway due to the code for bug #239560 that's in ebuild.sh. svn path=/main/trunk/; revision=11696
* Bug #242304 - When a zero-byte distfile is detected inside fetch(), discardZac Medico2008-10-161-3/+9
| | | | | | | | the digests and attempt to fetch the file if possible. This code is triggered via digestgen() when appropriate, so it fixes all digestgen() callers, including repoman. svn path=/main/trunk/; revision=11695
* Bug #229033 - When a Manifest is added automatically by repoman, it's in theZac Medico2008-10-141-2/+17
| | | | | | | "mynew" list, so move manifest paths from that list to the "mymanifests" list when necessary. svn path=/main/trunk/; revision=11692
* Bug #241366 - Only suggest to run `emaint --check world` when the atom isZac Medico2008-10-141-1/+4
| | | | | | a direct member of the world set (rather than from a nested set). svn path=/main/trunk/; revision=11691
* When emerge --keep-going bails due to missing dependencies, show the errorZac Medico2008-10-142-56/+82
| | | | | | | | message after the mod_echo output since otherwise the mod_echo output can sweep the error message out of view. Thanks to Donnie Berkholz <dberkholz@g.o> for reporting. svn path=/main/trunk/; revision=11690
* Make sure the pkg_nofetch phase is only called once when in fetchonly mode.Zac Medico2008-10-131-1/+1
| | | | svn path=/main/trunk/; revision=11689
* Make fetch() fetch as many files as possible, even if some fail, when inZac Medico2008-10-131-0/+6
| | | | | | fetchonly mode. svn path=/main/trunk/; revision=11688
* Don't return from fetch() due to fetch restriction when in "listonly" mode.Zac Medico2008-10-131-0/+2
| | | | svn path=/main/trunk/; revision=11687
* Bug #234301 - When fetch fails, include the path of the log file in theZac Medico2008-10-121-3/+8
| | | | | | | eerror message that's generated. This way it's easy for the user to find the output from the fetcher or from the pkg_nofetch phase. svn path=/main/trunk/; revision=11686
* Bug #241118 - Re-enable pkg_nofetch for emerge --pretend --fetch, but directZac Medico2008-10-122-24/+49
| | | | | | | output to stderr. This requires PORTAGE_BUILDDIR locking for bug #239560 and also for elog message storage. svn path=/main/trunk/; revision=11685
* Add an explicit note about bug #239560 in the relevant code.Zac Medico2008-10-121-1/+3
| | | | svn path=/main/trunk/; revision=11684
* Inside fetch(), don't call pkg_nofetch when in parallel-fetch mode sinceZac Medico2008-10-121-10/+15
| | | | | | it will get call again later anyway. svn path=/main/trunk/; revision=11683
* Now that only prefetch (parallel-fetch) output goes to the global fetchZac Medico2008-10-121-10/+4
| | | | | | log, update code to remove inappropriate references to this log. svn path=/main/trunk/; revision=11682
* Remove the prefetch logic in EbuildFetcher._pipe() since prefetchers areZac Medico2008-10-121-1/+1
| | | | | | always in the background anyway. svn path=/main/trunk/; revision=11681
* Buge #241100 - Make EbuildFetcher use a pty when appropriate, so that fetcherZac Medico2008-10-121-0/+12
| | | | | | progress bars, like wget has, will work properly. svn path=/main/trunk/; revision=11680
* Make the Scheduler class treat failed fetches the same as other failedZac Medico2008-10-121-46/+11
| | | | | | | | packages, and don't bail out due to a failure when in --fetchonly mode. This fixes an issue with --fetchonly bailing out instead of continuing to fetch. svn path=/main/trunk/; revision=11679
* In EbuildFetcher._start(), in order to ensure that a new log is created whenZac Medico2008-10-111-9/+16
| | | | | | appropriate, clean up PORTAGE_BUILDDIR if appropriate. svn path=/main/trunk/; revision=11678
* When warning about package categories that haven't been configured viaZac Medico2008-10-112-3/+6
| | | | | | | /etc/portage/categories, join the path with PORTAGE_CONFIGROOT. Thanks to Ned Ludd <solar@g.o> for reporting. svn path=/main/trunk/; revision=11677
* Bug #241204 - Fix dbapi.invalidentry() calls inside vardbapi.cpv_all() toZac Medico2008-10-111-2/+2
| | | | | | correctly join the path via self.getpath(). svn path=/main/trunk/; revision=11676
* only use dummy echos in do_file() when running in interactive modeMike Frysinger2008-10-101-2/+3
| | | | svn path=/main/trunk/; revision=11673
* Migrate code from plain ValueError to AmbiguousPackageName where appropriateZac Medico2008-10-101-10/+7
| | | | | | (inherits from ValueError for backward compatibility). svn path=/main/trunk/; revision=11672
* Bug #241132 - Handle AmbiguousPackageName exceptions for atoms passed to theZac Medico2008-10-101-5/+4
| | | | | | --info action. svn path=/main/trunk/; revision=11671
* Create a new AmbiguousPackageName exception to raise fromZac Medico2008-10-102-1/+11
| | | | | | | | portage.cpv_expand(). It inherits from ValueError, for backward compatibility with calling code that already handles ValueError. svn path=/main/trunk/; revision=11670
* Grab make.globals from GLOBAL_CONFIG_PATH if available and fall back to theZac Medico2008-10-091-2/+5
| | | | | | legacy location if necessary. svn path=/main/trunk/; revision=11669
* At the end of dyn_clean(), also remove the $CATEGORY directory if possible.v2.2_rc12Zac Medico2008-10-091-2/+2
| | | | svn path=/main/trunk/; revision=11667
* Remove redundant os.close(master_fd) call inside SpawnProcess._start() sinceZac Medico2008-10-091-1/+0
| | | | | | | | | that file discriptor is referenced by a file object which already has an appropriate close() call. This fixes an 'IOError: [Errno 9] Bad file descriptor' exception which was raised when attempting to close the file object. svn path=/main/trunk/; revision=11666
* Fix code from previous commit so it properly checks $eapi to verify thatZac Medico2008-10-091-1/+2
| | | | | | src_prepare is really a supported phase function. svn path=/main/trunk/; revision=11665
* Bug #240684 - Fix _ebuild_arg_to_phase() to handle the src_prepare phaseZac Medico2008-10-091-0/+3
| | | | | | so that the default() function is properly created. svn path=/main/trunk/; revision=11664
* In EbuildFetcher._set_returncode(), don't clean up PORTAGE_BUILDDIR ifZac Medico2008-10-091-1/+3
| | | | | | keepwork or keeptemp are in FEATURES. svn path=/main/trunk/; revision=11661
* Don't show the repo display when the merge list is empty.Zac Medico2008-10-081-1/+1
| | | | svn path=/main/trunk/; revision=11660
* Fix apparent breakage from r11593 (slot dep support):Zac Medico2008-10-081-6/+22
| | | | | | | | * Handle KeyError from element.getAttribute() in makeAtom() and makeVersion(). * Avoid 'sre_constants.error: unmatched group' exceptions in revisionMatch() when the atom does not have a slot. svn path=/main/trunk/; revision=11659
* In EbuildBuild._fetch_exit(), clean up the fetch log if fetch was successful.Zac Medico2008-10-081-0/+7
| | | | svn path=/main/trunk/; revision=11658
* Use separate temp directories in order to avoid potential name collisions.Zac Medico2008-10-081-7/+8
| | | | svn path=/main/trunk/; revision=11657
* Since EbuildBuild no longer directs it's EbuildFetcher instance's outputZac Medico2008-10-081-9/+2
| | | | | | | to the global fetch log, there's no need to schedule it on the fetch queue. svn path=/main/trunk/; revision=11656
* Before returning config instances from Scheduler._allocate_config(), call theZac Medico2008-10-081-0/+4
| | | | | | | | | | config.reset() method to make sure all settings from the previous package get flushed out (such as PORTAGE_LOG_FILE). This fixes a case where PORTAGE_LOG_FILE leaked from the previous package to the clean phase of the next one, resulting in an IOError due to the path being invalid and the parent directory being nonexistent. svn path=/main/trunk/; revision=11655
* Generate elog messages for failed fetches. This restores some functionalityZac Medico2008-10-071-22/+26
| | | | | | that was removed in r11645. svn path=/main/trunk/; revision=11654
* Instead of using inheritance, reference the ConfigParser part of SetConfig asZac Medico2008-10-071-24/+30
| | | | | | | an attribute in case we want to swap out the ConfigParser implemention and no longer want to implement the whole interface. svn path=/main/trunk/; revision=11653
* Make "qawarnings" a normal set since the missingvars code might modify it.Zac Medico2008-10-071-1/+1
| | | | svn path=/main/trunk/; revision=11652
* Change the "qawarnings" variable from a list to a set.Zac Medico2008-10-071-3/+3
| | | | svn path=/main/trunk/; revision=11651
* Make HOMEPAGE.missing fatal again since, in cases when homepages are no longerZac Medico2008-10-071-1/+0
| | | | | | | available, we can use a link to some site like packages.gentoo.org or www.unmaintained-free-software.org. svn path=/main/trunk/; revision=11650
* When EbuildBuild encounters a failed fetch, propagee the log path so thatZac Medico2008-10-071-0/+2
| | | | | | it can be properly displayed in the status display. svn path=/main/trunk/; revision=11649
* Make EbuildFetcher clean up the build dir after failures in fetchonly modeZac Medico2008-10-071-1/+1
| | | | | | since the log is in emerge-fetch.log anyway. svn path=/main/trunk/; revision=11648