summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/AbstractEbuildProcess.py
Commit message (Collapse)AuthorAgeFilesLines
* Add a TODO note to AbstractEbuildProcess._can_log() about adding supportZac Medico2010-08-301-0/+3
| | | | for logging via named pipe (fifo) for sesandbox.
* Remove unused imports found by pylint.Arfrever Frehtes Taifersar Arahesis2010-08-291-3/+1
|
* Allow more time for natural exit of the ebuild process after it hasZac Medico2010-08-221-4/+9
| | | | called the exit command via IPC.
* Bug #324191 - Add support for FEATURES=compress-build-logs. The causesZac Medico2010-08-211-12/+2
| | | | | | | all build logs to be compressed while they are being written. Log file names have an extension that is appropriate for the compression type. Currently, only gzip(1) compression is supported, so build logs will have a '.gz' extension when this feature is enabled.
* Move the fakeroot_state attribute back to EbuildSpawnProcess fromZac Medico2010-08-161-3/+1
| | | | AbstractEbuildProcess (only EbuildSpawnProcess uses it).
* Move fakeroot_state attribute from EbuildSpawnProcess toZac Medico2010-08-161-1/+3
| | | | AbstractEbuildProcess.
* Enable EbuildIpcDaemon support by default.Zac Medico2010-08-151-4/+5
|
* Remove redundant os.path.join() call in _init_ipc_fifos().Zac Medico2010-08-151-3/+1
|
* Disable EbuildIpcDaemon for now, since it seems to be triggeringZac Medico2010-08-141-20/+81
| | | | | intermittent build failures in my stage builds. For testing purposes set PORTAGE_IPC_DAEMON_ENABLE=1 to enable EbuildIpcDaemon.
* When in background mode, set NOCOLOR=true in order to prevent colorZac Medico2010-08-141-0/+5
| | | | | codes from showing up in logs, since we're not displaying to a terminal anyway. Thanks to Brian Harring for the suggestion.
* Move 'phase' attribute to AbstractEbuildProcess from subclasses, soZac Medico2010-08-141-9/+9
| | | | the _get_phase() method isn't needed.
* Add a QueryCommand.settings attribute and use it so that $USEZac Medico2010-08-141-1/+1
| | | | | 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 spawnZac Medico2010-08-141-7/+2
| | | | | environment, so all AbstractEbuildProcess subclasses are consistent in this way.
* Make sure PORTAGE_IPC_DAEMON is only in the environment forZac Medico2010-08-141-3/+6
| | | | | appropriate phases (it was leaking into clean/cleanrm from previous phases.
* Bug #315615 - Use EbuildIpcDaemon to implement has_version and best_version.Zac Medico2010-08-131-1/+7
| | | | | This provides performance benefits and also avoids permissions issues with FEATURES=userpriv.
* Rename SubProcess._zombie() to _orphan_process_warn() and clarifyZac Medico2010-08-131-4/+4
| | | | the eerror message.
* Write eerror messages to the log file, and only to stdout whenZac Medico2010-08-131-5/+30
| | | | appropriate.
* Bug #278895 - After EbuildIpcDaemon identifies an ebuild process thatZac Medico2010-08-131-0/+10
| | | | | has left an orphan child process running in the background, generate an eerror message about a 'zombie' process and note the pid.
* Use EbuildIpcDaemon to replace the functionality ofZac Medico2010-08-131-11/+86
| | | | EBUILD_EXIT_STATUS_FILE.
* Factor EBUILD_EXIT_STATUS_FILE code out of AbstractEbuildProcessZac Medico2010-08-121-0/+13
| | | | subclasses and into AbstractEbuildProcess itself.
* Relocate attributes from AbstractEbuildProcess to subclasses that useZac Medico2010-08-091-1/+1
| | | | them, since EbuildSpawnProcess doesn't use the attributes.
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Move _pty module to portage.util._pty.Zac Medico2010-03-021-1/+1
| | | | svn path=/main/trunk/; revision=15515
* Split doebuild and related code to the portage.package.ebuild module.Zac Medico2010-02-251-1/+2
| | | | svn path=/main/trunk/; revision=15448
* Add a AbstractEbuildProcess class for MiscFunctionsProcess to inherit theZac Medico2009-12-061-0/+24
_pipe and _can_log methods that used to be in the EbuildProcess class. svn path=/main/trunk/; revision=14933