summaryrefslogtreecommitdiffstats
path: root/pym/portage/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Update timestamps in headers of modified files.v2.1.6.7_p1Zac Medico2012-05-211-1/+1
|
* Make compatible with Python >=2.6.6, bug #330937.Zac Medico2012-05-211-17/+21
|
* Fix repoman conditionals inside _expand_new_virtuals() to usev2.1.6.6Zac Medico2009-01-141-3/+2
| | | | | | config.local_config instead of checking for portdbapi type. (trunk r12514) svn path=/main/branches/2.1.6/; revision=12515
* Add some more variables to config._env_blacklist to ensure that they neverZac Medico2009-01-141-3/+6
| | | | | | leak in from the calling environment. (trunk r12503) svn path=/main/branches/2.1.6/; revision=12513
* Make sure spawn() always initializes opt_name because later code assumes ↵Zac Medico2009-01-141-0/+3
| | | | | | | | that it is. (trunk r12502) svn path=/main/branches/2.1.6/; revision=12512
* In spawn(), put the full cpv in opt_name, instead of just $PF. Thanks toZac Medico2009-01-141-1/+2
| | | | | | Diego Pettenò <flameeyes@g.o> for the suggestion. (trunk r12501) svn path=/main/branches/2.1.6/; revision=12511
* Inside digestgen(), don't unnecessarily call fetch() in cases when the thereZac Medico2009-01-141-1/+6
| | | | | | | are no hashes for comparison and the file already exists in $DISTDIR. (trunk r12499) svn path=/main/branches/2.1.6/; revision=12509
* Bug #254825 - Improve messages that are displayed when manifest generationZac Medico2009-01-141-11/+40
| | | | | | bails out due to a changed distfile digest. (trunk r12498) svn path=/main/branches/2.1.6/; revision=12508
* Bug #254860 - Add another missing str -> atom conversion insideZac Medico2009-01-141-1/+1
| | | | | | _expand_new_virtuals(). (trunk r12497) svn path=/main/branches/2.1.6/; revision=12507
* Bug #254860 - Inside _expand_new_virtuals(), generate instances of AtomZac Medico2009-01-141-3/+4
| | | | | | | instead of plain strings, so calling code can assume that only Atom instances will be returned when strict mode is enabled. (trunk r12495) svn path=/main/branches/2.1.6/; revision=12505
* Enable use.{mask,force} and package.use.{mask,forc} as-directory in profiles.Zac Medico2009-01-121-8/+7
| | | | | | (trunk r12419) svn path=/main/branches/2.1.6/; revision=12475
* Inside config._getKeywords(), ignore -* in KEYWORDS, to prevent it fromZac Medico2009-01-121-1/+1
| | | | | | causing preceeding values to be discarded. (trunk r12414) svn path=/main/branches/2.1.6/; revision=12470
* Bug #55321 - Add support for package.keywords in profiles. In profiles,Zac Medico2009-01-121-3/+32
| | | | | | | | package.keywords modifies effective KEYWORDS values for a given ebuild. This behavior is notably different from /etc/portage/package.keywords, which instead modifies effective ACCEPT_KEYWORDS. (trunk r12409:12412) svn path=/main/branches/2.1.6/; revision=12468
* * Enable the recursive option in profile package.use parsing.Zac Medico2009-01-121-15/+14
| | | | | | * Enable package.umask in all the same locations as package.mask. (trunk r12409) svn path=/main/branches/2.1.6/; revision=12467
* Make die() to show a message indicating the repository that an ebuild cameZac Medico2009-01-121-12/+5
| | | | | | | | from, and do it during any phase for both ebuilds and binary packages. Now PORTAGE_REPO_NAME is initialized inside config.setcpv() for both ebuilds and binary packages, so it's always available inside ebuild.sh. (trunk r12402) svn path=/main/branches/2.1.6/; revision=12462
* Bug #253563 - Replace hardcoded green/red color strings with GOOD/BAD. ThanksZac Medico2009-01-121-11/+14
| | | | | | to Vsevolod Kozlov <sevakda@gmail.com> for the initial patch. (trunk r12401) svn path=/main/branches/2.1.6/; revision=12461
* Bug #253467 - Don't allow alien $A values to leak into the ebuild environment.Zac Medico2009-01-121-5/+7
| | | | | | (trunk r12379) svn path=/main/branches/2.1.6/; revision=12449
* Fix the 'Unrecognized configure options' check for compatibility withZac Medico2009-01-121-1/+1
| | | | | | | output produced by Autoconf 2.63. Thanks to Arfrever Frehtes Taifersar Arahesis for reporting. (trunk r12377) svn path=/main/branches/2.1.6/; revision=12447
* Bug #252374 - Warn if FEATURES=fakeroot is enabled, but the fakeroot binaryZac Medico2008-12-251-0/+5
| | | | | | is not installed. (trunk r12301) svn path=/main/branches/2.1.6/; revision=12324
* Remove code from unused config.load_infodir() method and issue a deprecationZac Medico2008-12-251-67/+3
| | | | | | warning if it's called. (trunk r12275) svn path=/main/branches/2.1.6/; revision=12308
* Add support for the new DEFINED_PHASES metadata key which is automatically ↵Zac Medico2008-12-251-1/+1
| | | | | | | | | generated from the set of phase functions that are defined by the ebuild and any eclasses it may have inherited. (trunk r12272:12274) svn path=/main/branches/2.1.6/; revision=12307
* Bug #251616 - Inside _check_build_log(), remove unnecessary .* patterns from ↵Zac Medico2008-12-201-3/+3
| | | | | | | | | | regular expressions. These patterns trigger extreme performance issues when matched against extremely large lines such as those produced by dev-util/bzr test suite when it uses \r to rewrite the same line thousands of times. (trunk r12259) svn path=/main/branches/2.1.6/; revision=12262
* Add a new FEATURES=test-fail-continue value which causes ebuild executionZac Medico2008-12-121-0/+5
| | | | | | | to continue after the test phase has failed. Thanks to Diego Pettenò <flameeyes@g.o> for the suggestion. (trunk r12214) svn path=/main/branches/2.1.6/; revision=12245
* When processing output from the "depend" phase, use the number of lines asZac Medico2008-12-121-3/+9
| | | | | | | a sanity check so that bash's returncode doesn't have to be trusted. (trunk r12191) svn path=/main/branches/2.1.6/; revision=12224
* Bug #250166 - To avoid accidental regeneration of digests with the incorrectZac Medico2008-12-121-21/+29
| | | | | | | | | | files (such as partially downloaded files), trigger the fetch code if the file exists and it's size doesn't match the current manifest entry. If there really is a legitimate reason for the digest to change, `ebuild --force digest` can be used to avoid triggering this code (or else the old digests can be manually removed from the Manifest). (trunk r12185:12188) svn path=/main/branches/2.1.6/; revision=12221
* When in --debug mode, make the depgraph call self.digraph.debug_print() toZac Medico2008-12-121-5/+7
| | | | | | | | display the final digraph state. This should help when troubleshooting problems with blockers that don't resolve automatically, by making it easier to see what pulled in unwanted packages. (trunk r12185) svn path=/main/branches/2.1.6/; revision=12220
* Fix deprecated_profile_check() to account for PORTAGE_CONFIGROOT. Thanks toZac Medico2008-12-121-3/+8
| | | | | | Jeremy Olexa <darkside@g.o> for the initial patch. (trunk r12181) svn path=/main/branches/2.1.6/; revision=12217
* If pkg_nofetch needs to be spawned inside fetch() and it happens thatZac Medico2008-12-071-0/+29
| | | | | | | | | | | PORTAGE_BUILDDIR doesn't exist, like when called by digestgen(), use mkdtemp to create a private temporary directory so that pkg_nofetch can be spawned (directory needed to satisfy safe $PWD requirement of bug #239560). This is more user friendly since before the pkg_nofetch phase would simply be skipped in this case. Thanks to Petteri Räty <betelgeuse@g.o> for reporting. (trunk r12174) svn path=/main/branches/2.1.6/; revision=12175
* 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