Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Enable EbuildIpcDaemon support by default. | Zac Medico | 2010-08-15 | 2 | -14/+10 | |
| | ||||||
* | Add support for /etc/portage/package.accept_keywords. If both | Zac Medico | 2010-08-15 | 1 | -1/+7 | |
| | | | | | | | | | | | package.accept_keywords and package.keywords are present, both of them will be used, and values from package.accept_keywords will override values from package.keywords. The package.accept_keywords file is intended to replace the package.keywords file, since profiles support a different form of package.keywords which modifies effective KEYWORDS (rather than ACCEPT_KEYWORDS). Note that bug #292083 requests support for package.accept_keywords in profiles. | |||||
* | Implement ExtendedAtomDict.iteritems(), so that it doesn't invoke | Zac Medico | 2010-08-15 | 1 | -0/+7 | |
| | | | | the special __getitem__ behavior. | |||||
* | Fix make.conf code to handle None return value from getconfig(). | Zac Medico | 2010-08-15 | 1 | -4/+6 | |
| | ||||||
* | Add support for /etc/portage/make.profile as an alternative to | Zac Medico | 2010-08-15 | 1 | -1/+6 | |
| | | | | | | /etc/make.profile. If both /etc/make.profile/ and /etc/portage/make.profile/ exist, then /etc/make.profile/ will be preferred. | |||||
* | Add support for /etc/portage/make.conf. If present, this file will | Zac Medico | 2010-08-15 | 1 | -5/+10 | |
| | | | | override settings from /etc/make.conf. | |||||
* | Remove PollScheduler._schedule_waitpid() since this case isn't triggered | Zac Medico | 2010-08-15 | 4 | -33/+3 | |
| | | | | | | anymore, now that PollScheduler._unregister() has be fixed to discard unhandled events (so that reallocation of file descriptors no longer triggers erroneous delivery of stale events). | |||||
* | Don't handle KeyError when looking up event handlers, since | Zac Medico | 2010-08-15 | 1 | -31/+12 | |
| | | | | _unregister() automatically discards stale events now. | |||||
* | Fix PollScheduler._unregister() to discard any unhandled events | Zac Medico | 2010-08-15 | 1 | -0/+13 | |
| | | | | | | | | | that belong to the unregistered file, in order to prevent these events from being erroneously delivered to a future handler that is using a reallocated file descriptor of the same numeric value (causing extremely confusing bugs). Note that this is was the cause of the intermittent bug that forced me to disable EbuildIpcDaemon by default. | |||||
* | Fix SubProcess instances to call _set_returncode() when appropriate, | Zac Medico | 2010-08-15 | 4 | -8/+8 | |
| | | | | instead of setting self.returncode directly. | |||||
* | Remove questionable lockfile removal code in dbapi.invalidentry(). | Zac Medico | 2010-08-15 | 1 | -9/+1 | |
| | ||||||
* | Dispose of lock object after calling unlockfile(), in order to ensure | Zac Medico | 2010-08-15 | 1 | -0/+1 | |
| | | | | that we only try to unlock it once. | |||||
* | Evaluate SRC_URI and return early if there's nothing to fetch. | Zac Medico | 2010-08-15 | 1 | -26/+52 | |
| | ||||||
* | Make DoebuildSpawnTestCase instantiate a minimal Package instance, and | Zac Medico | 2010-08-15 | 3 | -5/+11 | |
| | | | | fix code to tolerate missing metadata values in various places. | |||||
* | Remove unuser return values from PollScheduler event handlers. | Zac Medico | 2010-08-15 | 4 | -6/+0 | |
| | ||||||
* | Remove redundant os.path.join() call in _init_ipc_fifos(). | Zac Medico | 2010-08-15 | 1 | -3/+1 | |
| | ||||||
* | Add the "unexpected bash exit" case to the docstring. | Zac Medico | 2010-08-15 | 1 | -1/+3 | |
| | ||||||
* | Add some ebuild metadata for realism. | Zac Medico | 2010-08-15 | 1 | -1/+9 | |
| | ||||||
* | Pass along PORTAGE_USERNAME and PORTAGE_GRPNAME since they | Zac Medico | 2010-08-15 | 1 | -0/+9 | |
| | | | | need to be inherited by ebuild subprocesses. | |||||
* | Make create_trees() pass along PORTAGE_GRPNAME and PORTAGE_USERNAME | Zac Medico | 2010-08-15 | 1 | -1/+1 | |
| | | | | to all config instances. | |||||
* | Avoid KeyError if PORTAGE_USERNAME or PORTAGE_GRPNAME are unset. | Zac Medico | 2010-08-15 | 1 | -4/+7 | |
| | ||||||
* | Pass along PORTAGE_USERNAME and PORTAGE_GRPNAME inside _load_config() | Zac Medico | 2010-08-15 | 1 | -1/+5 | |
| | | | | since since they need to be inherited by ebuild subprocesses. | |||||
* | Add some more info to the 'Cannot chown a lockfile' message, since | Zac Medico | 2010-08-15 | 1 | -1/+5 | |
| | | | | it's being triggered on the buildbot. | |||||
* | Set PORTAGE_PYTHON for ebuild.sh subprocesses. | Zac Medico | 2010-08-15 | 1 | -0/+2 | |
| | ||||||
* | DoebuildSpawnTestCase: Invoke portage.package.ebuild.doebuild.spawn() | Zac Medico | 2010-08-15 | 1 | -0/+47 | |
| | | | | | | with a minimal environment. This gives coverage to some of the ebuild execution internals, like ebuild.sh, EbuildSpawnProcess, and EbuildIpcDaemon. | |||||
* | Disable EbuildIpcDaemon for now, since it seems to be triggering | Zac Medico | 2010-08-14 | 3 | -40/+82 | |
| | | | | | intermittent build failures in my stage builds. For testing purposes set PORTAGE_IPC_DAEMON_ENABLE=1 to enable EbuildIpcDaemon. | |||||
* | portage.dep: Integrate the functionality of flatten into use_reduce | Sebastian Luther | 2010-08-14 | 7 | -44/+142 | |
| | ||||||
* | Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage | Zac Medico | 2010-08-14 | 1 | -2/+15 | |
|\ | ||||||
| * | Use more correct paths to byte-compiled Python modules with Python 3.2 | Arfrever Frehtes Taifersar Arahesis | 2010-08-14 | 1 | -2/+15 | |
| | | | | | | | | and remove empty __pycache__ directories. | |||||
* | | Pass $USE via IPC in order to ensure that we have the correct value for | Zac Medico | 2010-08-14 | 1 | -2/+8 | |
|/ | | | | | | built/installed packages, since the config class doesn't currently provide a way to access built/installed $USE that would work in all possible scenarios. | |||||
* | Fix the ACCEPT_LICENSE setting that's generated for eutils check_license() | Zac Medico | 2010-08-14 | 1 | -15/+26 | |
| | | | | to account for package.license. | |||||
* | When in background mode, set NOCOLOR=true in order to prevent color | Zac Medico | 2010-08-14 | 1 | -0/+5 | |
| | | | | | codes from showing up in logs, since we're not displaying to a terminal anyway. Thanks to Brian Harring for the suggestion. | |||||
* | Add PORTAGE_PYTHON to _environ_whitelist. | Zac Medico | 2010-08-14 | 1 | -1/+1 | |
| | ||||||
* | Move PORTAGE_PYTHON setting to doebuild_environment() so that it | Zac Medico | 2010-08-14 | 4 | -6/+5 | |
| | | | | doesn't pollute os.environ. | |||||
* | Move 'phase' attribute to AbstractEbuildProcess from subclasses, so | Zac Medico | 2010-08-14 | 3 | -11/+11 | |
| | | | | the _get_phase() method isn't needed. | |||||
* | Add a QueryCommand.settings attribute and use it so that $USE | Zac Medico | 2010-08-14 | 2 | -5/+6 | |
| | | | | | doesn't have to be passed to the daemon in has_version and best_version calls. | |||||
* | Fix EbuildSpawnProcess to use self.settings.environ() for the spawn | Zac Medico | 2010-08-14 | 3 | -22/+12 | |
| | | | | | environment, so all AbstractEbuildProcess subclasses are consistent in this way. | |||||
* | portage.dep: Integrate the functionality of dep_opconvert into use_reduce | Sebastian Luther | 2010-08-14 | 5 | -27/+92 | |
| | ||||||
* | Make sure PORTAGE_IPC_DAEMON is only in the environment for | Zac Medico | 2010-08-14 | 1 | -3/+6 | |
| | | | | | appropriate phases (it was leaking into clean/cleanrm from previous phases. | |||||
* | Fix _schedule spelling in _schedule_waitpid(). | Zac Medico | 2010-08-14 | 1 | -1/+1 | |
| | ||||||
* | Add a PollScheduler._schedule_waitpid() method for SubProcess._wait() | Zac Medico | 2010-08-14 | 4 | -4/+49 | |
| | | | | | to use as an alternative to hanging up the scheduler in a blocking waitpid call. | |||||
* | Atom.violated_conditionals: Use iuse.is_valid_flag instead of iuse.all | Sebastian Luther | 2010-08-13 | 4 | -24/+37 | |
| | ||||||
* | Add a SIGUSR1 handling to trigger pdb.set_trace(). | Zac Medico | 2010-08-13 | 1 | -0/+6 | |
| | ||||||
* | Add back the POLLHUP handling for now since PipeReaderTestCase breaks | Zac Medico | 2010-08-13 | 1 | -1/+5 | |
| | | | | without it. | |||||
* | Stop handling POLLHUP events, since we're only polling for input and | Zac Medico | 2010-08-13 | 1 | -5/+1 | |
| | | | | | | POLLHUP is really intendend for purposes of output polling. Hopefully this solves a problem with POLLHUP events causing premature unregistration of event handlers (and subsequent hang in waitpid). | |||||
* | Define basestring for python3. | Zac Medico | 2010-08-13 | 1 | -0/+4 | |
| | ||||||
* | Implement use dependency defaults | Sebastian Luther | 2010-08-13 | 10 | -152/+541 | |
| | ||||||
* | Set PORTAGE_PYTHON in processes executed by portage.process._exec(). | Arfrever Frehtes Taifersar Arahesis | 2010-08-14 | 1 | -1/+4 | |
| | ||||||
* | portage.os is apparently imported, so os doesn't need to be imported. | Arfrever Frehtes Taifersar Arahesis | 2010-08-14 | 1 | -1/+0 | |
| | ||||||
* | Ensure that all Python processes use the same version of Python. | Arfrever Frehtes Taifersar Arahesis | 2010-08-14 | 2 | -0/+4 | |
| |