summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * In fetch(), ensure that pkg_nofetch is never called more than once.Zac Medico2008-11-011-6/+13
| | | | | | | * In _validate_deps(), revert back to using aux_get since the config instance does not cache SRC_URI. svn path=/main/trunk/; revision=11782
* Remove unnecessary handler for plain "Exception" from lstat() call inZac Medico2008-11-011-10/+0
| | | | | | dblink.mergeme(). svn path=/main/trunk/; revision=11781
* Also call PreservedLibsRegistry.pruneNonExisting() after obtaining a lockZac Medico2008-11-012-0/+2
| | | | | | and loading it for merge or unmerge. svn path=/main/trunk/; revision=11780
* Explicitly load the preserved libs registry after obtaining a lock for mergeZac Medico2008-11-012-0/+2
| | | | | | | or unmerge, in case the registry has been changed by a parallel emerge instance. svn path=/main/trunk/; revision=11779
* Before returning from PreservedLibsRegistry.store(), update self._data_orig.Zac Medico2008-11-011-0/+2
| | | | svn path=/main/trunk/; revision=11778
* Rename "object" variable to avoid name collision with the builtin class.Zac Medico2008-11-011-4/+4
| | | | svn path=/main/trunk/; revision=11777
* Define __all__ and remove unused imports.Zac Medico2008-11-011-3/+4
| | | | svn path=/main/trunk/; revision=11776
* Define __all__ and remove unused import.Zac Medico2008-11-011-1/+3
| | | | svn path=/main/trunk/; revision=11775
* Remove unused imports.Zac Medico2008-11-011-3/+3
| | | | svn path=/main/trunk/; revision=11774
* Filter PORTAGE_VERBOSE in save_ebuild_env().Zac Medico2008-11-011-1/+1
| | | | svn path=/main/trunk/; revision=11773
* Bug #240295 - When emake is called, echo the make command similar to the wayZac Medico2008-11-011-0/+2
| | | | | | that econf echoes the configure command. svn path=/main/trunk/; revision=11772
* Bug #241906 - Handle InvalidAtom exception raised from vardbapi.match().Zac Medico2008-11-011-1/+2
| | | | svn path=/main/trunk/; revision=11771
* Bug #244792 - Remove confcache support.Zac Medico2008-11-012-31/+2
| | | | svn path=/main/trunk/; revision=11770
* Bug #244947 - Add repoman support for checking masked and forced flags onZac Medico2008-11-012-4/+36
| | | | | | conditional USE deps. svn path=/main/trunk/; revision=11769
* Bug #244947 - Add basic repoman support for checking masked and forced flagsZac Medico2008-10-312-37/+65
| | | | | | | | when verifying USE deps. TODO: Add repoman support in dep_check() for evaluation of conditional USE deps based on forced/masked flags. masked flags, so that repoman can also svn path=/main/trunk/; revision=11768
* Eliminate duplicate code by calling equivalent dblink._clear_contents_cache().Zac Medico2008-10-311-3/+1
| | | | svn path=/main/trunk/; revision=11767
* Bug #243178 - Handle file collisions with preserved libs by allowing theZac Medico2008-10-311-2/+74
| | | | | | current package to assume ownership and unregistering the preserved libraries. svn path=/main/trunk/; revision=11766
* In dblink._collision_protect(), remove redundant self.isowner() calls sinceZac Medico2008-10-311-2/+4
| | | | | | | self hasn't yet been merged and therefore has no CONTENTS file for ownership checks. Also, remove redundant isprotected() calls. svn path=/main/trunk/; revision=11765
* Bug #236609 - Fix columns calculation for TERM="dumb". Thanks to Ulrich MüllerZac Medico2008-10-311-1/+1
| | | | | | <ulm@g.o> for the patch. svn path=/main/trunk/; revision=11764
* Revert previous commit since it doesn't properly calculate masked and forcedZac Medico2008-10-311-20/+0
| | | | | | | flags for the package being matched (it erroneously uses the masked and forced flags from the parent package). svn path=/main/trunk/; revision=11763
* Bug #244947 - Add repoman support for checking masked and forced flags whenZac Medico2008-10-311-0/+20
| | | | | | verifying USE deps. Thanks to Brian Harring for reporting. svn path=/main/trunk/; revision=11762
* Remove unused conditional_disabled and conditional_enabled attributes fromZac Medico2008-10-311-2/+2
| | | | | | _use_dep.__slots__. svn path=/main/trunk/; revision=11761
* Fix broken stuff to avoid tracebacks when running in commit mode withZac Medico2008-10-311-1/+4
| | | | | | --pretend and no vcs. svn path=/main/trunk/; revision=11760
* 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