summaryrefslogtreecommitdiffstats
path: root/pym/portage/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Make fixpackages use a new "#" symbol for /var/db updates (previously '*'v2.1.6_rc3Zac Medico2008-12-051-2/+11
| | | | | | which means 'binary update' was used). (trunk r12159) svn path=/main/branches/2.1.6/; revision=12160
* Make fixpackages less noisy by only generting '*' characters for packagesZac Medico2008-12-041-4/+5
| | | | | | that are modified by updates. (trunk r12155) svn path=/main/branches/2.1.6/; revision=12158
* Use stat st_dev attributes instead of the older approach. (trunk r12117)v2.1.6_rc2Zac Medico2008-11-271-2/+1
| | | | svn path=/main/branches/2.1.6/; revision=12118
* Don't call prepare_build_dirs() inside doebuild() when called for parallelZac Medico2008-11-271-1/+4
| | | | | | fetching. (trunk r12115) svn path=/main/branches/2.1.6/; revision=12116
* In movefile(), ignore the hardlink_candidates parameter when it's an empty list.Zac Medico2008-11-261-1/+1
| | | | | | (trunk r12111) svn path=/main/branches/2.1.6/; revision=12112
* Bug #235642 - Create hardlinks when merging identical files. This works by ↵Zac Medico2008-11-261-6/+47
| | | | | | | | | using a tuple of (md5, st_size) as a key to a list of hardlink candidates. Multiple candidates are used in case some happen to be merged to separate devices. (trunk r12109) svn path=/main/branches/2.1.6/; revision=12110
* Add some more clarification to the 'ebuild phase exited unexpectedly' message.Zac Medico2008-11-261-3/+14
| | | | | | (trunk r12101) svn path=/main/branches/2.1.6/; revision=12102
* Also add 2 spaces after newline, for alignment. (trunk r12079)v2.1.6_rc1Zac Medico2008-11-241-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=12080
* Add one newline, to wrap the "Global Updates" key to less than 80 columns.Zac Medico2008-11-241-1/+1
| | | | | | (trunk r12077) svn path=/main/branches/2.1.6/; revision=12078
* Add support for parsing EAPI labels in contained in 'eapi' files in theZac Medico2008-11-241-0/+11
| | | | | | | | | profiles, and bail out if the profile contains an unsupported EAPI value in any one of it's directories. We don't necessarily have to use this but at least it gives us some way to make emerge bail out early if a profile contains unsupported EAPI features. (trunk r12068) svn path=/main/branches/2.1.6/; revision=12069
* Make emerge detect an invalid profile an bail out for anything exceptZac Medico2008-11-241-1/+1
| | | | | | | | --help, --info, --sync, and --version actions. When bailing out, suggest to revert back to the previous profile configuration advise the user which actions are allowed with an invalid profile. (trunk r12064:12066) svn path=/main/branches/2.1.6/; revision=12067
* Add some hints about bash binary corruption and hardware malfunction to theZac Medico2008-11-221-1/+3
| | | | | | message that's displayed when bash exits unexpectedly. (trunk r12041) svn path=/main/branches/2.1.6/; revision=12042
* Add missing '%' symbol (for binary package moves) to the key that's displayedZac Medico2008-11-221-1/+1
| | | | | | | by _global_updates(). Thanks to Andrew Gaffney <agaffney@g.o> for reporting. (trunk r12026) svn path=/main/branches/2.1.6/; revision=12027
* Fix some cases in dep_zapdeps() where blocker atoms are inappropriately testedZac Medico2008-11-221-1/+4
| | | | | | | for availablity. Thanks to Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o> for reporting. (trunk r12024) svn path=/main/branches/2.1.6/; revision=12025
* Bug #248059 - Make --depclean more tolerant of invalid atoms in dependenciesZac Medico2008-11-211-2/+10
| | | | | | of packages that will be uninstalled anyway. (trunk r12020) svn path=/main/branches/2.1.6/; revision=12021
* Bug #247370 - Use a private PORTAGE_TMPDIR for --fetchonly mode in orderZac Medico2008-11-201-2/+3
| | | | | | | | | | | do avoid locking the normal build dir location (similar to bug #245231). The EbuildFetchPretend class is renamed to EbuildFetchonly and it's used for --fetchonly mode regardless of whether --pretend is enabled. Also, fix stdout/stderr flushing in JobStatusDisplay.displayMessage() and portage.spawn() to ensure output always occurs in the correct order when displaying pkg_nofetch() output in --fetchonly mode. (trunk r12006) svn path=/main/branches/2.1.6/; revision=12007
* Bug #245716 - When generating QA notices for 'command not found' messages inZac Medico2008-11-191-1/+3
| | | | | | | the build log, exclude messages that are emitted from configure scripts since those are normal in some cases. (trunk r11999) svn path=/main/branches/2.1.6/; revision=12000
* Fix the 'jobserver unavailable' regex to match gmake. (trunk r11974)Zac Medico2008-11-171-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=11975
* Add a QA Notice for 'jobserver unavailable' from make in the build log. ThanksZac Medico2008-11-161-0/+15
| | | | | | to Diego 'Flameeyes' Pettenò <flameeyes@g.o> for the suggestion. (trunk r11972) svn path=/main/branches/2.1.6/; revision=11973
* Bug #236714 - Handle PortagePackageException raised from Manifest.create().Zac Medico2008-11-151-0/+3
| | | | | | (trunk r11926) svn path=/main/branches/2.1.6/; revision=11927
* Make digestgen() handle PermissionDenied internally by returning failure, soZac Medico2008-11-151-1/+5
| | | | | | callers like repoman don't need exception handling. (trunk r11924) svn path=/main/branches/2.1.6/; revision=11925
* Bug #236683 - Fix PermissionDenied handling to report the exception type.Zac Medico2008-11-151-1/+1
| | | | | | (trunk r11922) svn path=/main/branches/2.1.6/; revision=11923
* Fix new* and do* ebuild helpers to generate consistent error messages forZac Medico2008-11-151-0/+12
| | | | | | | | missing files and generate an appropriate QA Notice when such an error is detected in the build log. Thanks to Diego 'Flameeyes' Pettenò <flameeyes@g.o> for the suggestion. (trunk r11916) svn path=/main/branches/2.1.6/; revision=11917
* Remove preserve-libs support, it's API, and code that depends on it.Zac Medico2008-11-131-3/+0
| | | | svn path=/main/branches/2.1.6/; revision=11881
* ACCEPT_LICENSE support depends on definition of license groupsZac Medico2008-11-131-13/+3
| | | | | | in the tree, so it's disabled for now (accept anything). svn path=/main/branches/2.1.6/; revision=11875
* Make post_emerge() exit early if it detects that the vdb state hasn't changed.v2.2_rc14Zac Medico2008-11-111-0/+1
| | | | | | | This works by comparing a hash of the COUNTER values for all packages in the vdb. svn path=/main/trunk/; revision=11859
* Bug #245932 - Pass use_mask and use_force parameters into recursiveZac Medico2008-11-071-1/+2
| | | | | | | _expand_new_virtuals() calls, fixing a TypeError which is triggered inside portage.dep._use_dep._eval_qa_conditionals(). svn path=/main/trunk/; revision=11816
* Fix broken reference to self inside unmerge().Zac Medico2008-11-041-1/+2
| | | | svn path=/main/trunk/; revision=11809
* Free some memory by clearing the LinkageMap cache when it's not needed.Zac Medico2008-11-041-0/+1
| | | | svn path=/main/trunk/; revision=11807
* Bug #245356 - Filter POSIXLY_CORRECT from the ebuild environment since itZac Medico2008-11-031-0/+5
| | | | | | breaks stuff. svn path=/main/trunk/; revision=11804
* In config.setcpv(), ensure that A and AA aren't in the env dict.Zac Medico2008-11-011-1/+1
| | | | svn path=/main/trunk/; revision=11790
* In _validate_deps(), show the ebuild version to clarify which ebuild theZac Medico2008-11-011-9/+13
| | | | | | errors belong to. svn path=/main/trunk/; revision=11789
* * 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
* Also call PreservedLibsRegistry.pruneNonExisting() after obtaining a lockZac Medico2008-11-011-0/+1
| | | | | | 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-011-0/+1
| | | | | | | or unmerge, in case the registry has been changed by a parallel emerge instance. svn path=/main/trunk/; revision=11779
* Bug #244792 - Remove confcache support.Zac Medico2008-11-011-4/+0
| | | | svn path=/main/trunk/; revision=11770
* Bug #244947 - Add repoman support for checking masked and forced flags onZac Medico2008-11-011-4/+11
| | | | | | conditional USE deps. svn path=/main/trunk/; revision=11769
* Bug #244947 - Add basic repoman support for checking masked and forced flagsZac Medico2008-10-311-36/+50
| | | | | | | | 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
* Make config.setcpv() store the ebuild metadata inside self.configdict["pkg"],Zac Medico2008-10-291-51/+59
| | | | | | | and reuse this metadata inside doebuild() in order to avoid redundant portdbapi.aux_get() calls. svn path=/main/trunk/; revision=11743
* 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
* 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
* 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
* 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
* 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
* Bug #186842 - Suppress file merge display, as previously done in --quiet ↵Zac Medico2008-10-211-1/+2
| | | | | | | | | 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-211-1/+2
| | | | | | | | 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