summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Pass a Package instance into the config.setcpv() call.Zac Medico2008-10-311-1/+1
| | | | svn path=/main/trunk/; revision=11759
* Use portage.const.PORTAGE_PACKAGE_ATOM where appropriate.Zac Medico2008-10-302-8/+8
| | | | svn path=/main/trunk/; revision=11758
* recheck what changed in the repository also when nothing was added, becauseZac Medico2008-10-301-8/+6
| | | | | | | manifest regeneration might change the Manifest, this fixes bug #229033 (branches/prefix r11755) svn path=/main/trunk/; revision=11757
* Bug #244975 - Don't allow the user to make portage unmerge itself sinceZac Medico2008-10-301-1/+24
| | | | | | there's never any valid reason to do so. svn path=/main/trunk/; revision=11756
* Make sure mychanged and mynew are always defined even if there is no vcsZac Medico2008-10-301-0/+2
| | | | | | because commit mode is allowed without a vcs in pretend mode. svn path=/main/trunk/; revision=11753
* Avoid unnecessary aux_get calls inside Scheduler._pkg() by getting the existingZac Medico2008-10-301-4/+7
| | | | | | Package instance from the digraph. svn path=/main/trunk/; revision=11752
* define myunadded such that repoman doesn't crash when being run in aZac Medico2008-10-301-0/+1
| | | | | | non-{cvs,svn} dir (branches/prefix r11750) svn path=/main/trunk/; revision=11751
* Bug #225429 - Inside LinkageMap.rebuild(), update self._defpath since itZac Medico2008-10-301-0/+1
| | | | | | can change during a gcc upgrade. svn path=/main/trunk/; revision=11749
* Bug # 225429 - Try to remove unneeded preserved libs just before returningZac Medico2008-10-301-112/+161
| | | | | | | | from dblink.treewalk(), after the library path has been updated. This is intended to remove unneeded preserved libs after a gcc upgrade. TODO: Figure out why libgomp.so.1 still isn't properly removed. svn path=/main/trunk/; revision=11748
* In dblink.unmerge(), update the CONTENTS entries when preserved libs areZac Medico2008-10-301-1/+21
| | | | | | removed. svn path=/main/trunk/; revision=11747
* Bug #225429 - In dblink.unmerge(), eliminate consumers having providers withZac Medico2008-10-301-12/+54
| | | | | | | | the same soname as an installed library that is not preserved. This eliminates libraries that are erroneously preserved due to a move from one directory to another. svn path=/main/trunk/; revision=11746
* Make config.setcpv() store the ebuild metadata inside self.configdict["pkg"],Zac Medico2008-10-292-51/+60
| | | | | | | and reuse this metadata inside doebuild() in order to avoid redundant portdbapi.aux_get() calls. svn path=/main/trunk/; revision=11743
* Fix interaction between LinkageMap.rebuild() and the package replacementZac Medico2008-10-291-8/+13
| | | | | | | | process in order to avoid problems with stale or unaccounted NEEDED. This solves a LinkageMap corruption issue which caused findConsumers to return false positive inside dblink.unmerge(). svn path=/main/trunk/; revision=11742
* Fix $ROOT handling inside LinkageMap.findConsumers().Zac Medico2008-10-281-1/+2
| | | | svn path=/main/trunk/; revision=11741
* Bug #238957 - When removing unneeded preserved libs inside dblink.unmerge(),Zac Medico2008-10-281-53/+68
| | | | | | | | use a digraph to properly track consumer relationships between preserved libs. This fixes cases where preserved libs failed to be removed due to being consumed by other preserved libs. svn path=/main/trunk/; revision=11740
* Update the auto-add message to say "Manifest" instead of "digests". Thanks toZac Medico2008-10-281-1/+1
| | | | | | grobian. svn path=/main/trunk/; revision=11739
* Remove manifest1 digest-* autoadd code. Thanks to grobian.Zac Medico2008-10-281-9/+1
| | | | svn path=/main/trunk/; revision=11738
* Fix graph.get() so that it works as intended, returning the node correspondingZac Medico2008-10-281-4/+7
| | | | | | to the given key. svn path=/main/trunk/; revision=11737
* Fix some incorrect $ROOT handling inside LinkageMap.Zac Medico2008-10-281-4/+6
| | | | svn path=/main/trunk/; revision=11733
* Make SetConfig.getSetAtoms() raise a PackageSetNotFound exception whenZac Medico2008-10-282-5/+26
| | | | | | | | necessary and add handling code in emerge. This solves an unhandled KeyError that was raise when a nested set did not exist. Thanks to ABCD for reporting. svn path=/main/trunk/; revision=11732
* Fix incorrect $ROOT handling inside dblink._preserve_libs().Zac Medico2008-10-281-8/+26
| | | | svn path=/main/trunk/; revision=11731
* Pass $ROOT into the LinkageMap._ObjectKey constructor since it's needed forZac Medico2008-10-281-11/+14
| | | | | | os.stat() and realpath() calls. svn path=/main/trunk/; revision=11730
* Pass $ROOT into portage.util.getlibpaths().Zac Medico2008-10-282-5/+6
| | | | svn path=/main/trunk/; revision=11729
* Return early from fetch() if no uris are given.Zac Medico2008-10-271-0/+3
| | | | svn path=/main/trunk/; revision=11728
* In fetch(), avoid the "Adjusting permissions recursively" message in casesZac Medico2008-10-271-1/+10
| | | | | | when the directory has just been created and therefore it must be empty. svn path=/main/trunk/; revision=11727
* Enable bashrc even when $EBUILD_PHASE is unset, so it's possible to overrideZac Medico2008-10-261-2/+1
| | | | | | things like INSTALL_MASK. svn path=/main/trunk/; revision=11726
* When creating the temporary $DISTDIR, do not try to set the uid since itZac Medico2008-10-251-1/+1
| | | | | | will fail when not running as root. svn path=/main/trunk/; revision=11725
* Fix preserve-libs code inside dblink.unmerge() so that it will join pathsZac Medico2008-10-241-3/+8
| | | | | | correctly when ROOT != /. svn path=/main/trunk/; revision=11724
* When populating the fake $DISTDIR inside doebuild(), reuse existing symlinksZac Medico2008-10-241-16/+23
| | | | | | when possible, instead of recreating the whole directory from scratch. svn path=/main/trunk/; revision=11723
* Add "subversion" to InheritAutotools._exempt_eclasses. Thanks to Arfrever.Zac Medico2008-10-231-1/+3
| | | | svn path=/main/trunk/; revision=11722
* Add "bzr" to the lists of live eclasses.Zac Medico2008-10-231-1/+1
| | | | svn path=/main/trunk/; revision=11721
* Add "bzr" to the lists of live eclasses.Zac Medico2008-10-232-0/+2
| | | | svn path=/main/trunk/; revision=11720
* Bug #243224 - Add an exemption to the inherit.autotools check for ebuilds thatZac Medico2008-10-221-0/+7
| | | | | | | inherit git.eclass since the GIT_BOOTSTRAP variable may be used to call one of autotools functions. svn path=/main/trunk/; revision=11719
* Fix grammar.Zac Medico2008-10-221-1/+1
| | | | svn path=/main/trunk/; revision=11718
* Add a PROPERTIES.syntax check.Zac Medico2008-10-222-1/+9
| | | | svn path=/main/trunk/; revision=11717
* Document PROPERTIES=interactive.Zac Medico2008-10-221-0/+10
| | | | svn path=/main/trunk/; revision=11716
* Bug #233296 - Add minimal PROPERTIES=interactive support by simply forcingZac Medico2008-10-211-0/+36
| | | | | | | all package output to stdio whenever the merge list contains one or more interactive packages. svn path=/main/trunk/; revision=11715
* Split dep validation out of doebuild() and skip it when called by emerge sinceZac Medico2008-10-211-40/+51
| | | | | | there's no need to do this every time emerge executes a phase. svn path=/main/trunk/; revision=11714
* Validate PROPERTIES inside doebuild().Zac Medico2008-10-211-1/+1
| | | | svn path=/main/trunk/; revision=11713
* Remove unused imports found by pyflakes.Zac Medico2008-10-211-7/+6
| | | | svn path=/main/trunk/; revision=11712
* Remove needlessly complex error handling code from vardbapi.cpv_counter().Zac Medico2008-10-211-47/+4
| | | | svn path=/main/trunk/; revision=11711
* Use normal return statements instead of calling sys.exit() insideZac Medico2008-10-211-11/+19
| | | | | | dblink.mergeme(). svn path=/main/trunk/; revision=11710
* Bug #186842 - Suppress file merge display, as previously done in --quiet ↵Zac Medico2008-10-214-4/+10
| | | | | | | | | mode, whenever --verbose is not enabled. Also, export PORTAGE_VERBOSE to the ebuild environment and use it to control tar verbosity when creating binary packages. svn path=/main/trunk/; revision=11709
* Add PORTAGE_QUIET to the environment whitelist and filter it from the saved ↵Zac Medico2008-10-212-1/+3
| | | | | | | | ebuild environment. svn path=/main/trunk/; revision=11708
* Remove redundant duplicate uri elimination code. It's already handled inZac Medico2008-10-201-3/+1
| | | | | | the fetch loop. svn path=/main/trunk/; revision=11707
* 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