summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/MiscFunctionsProcess.py
Commit message (Collapse)AuthorAgeFilesLines
* SpawnProcess: improve dummy pipe allocation logicZac Medico2013-01-151-1/+6
| | | | | | | By using allocated file descriptors for keys in fd_pipes, we naturally avoid interference with callers such as FileDigester and MergeProcess. See the _setup_pipes docstring for more benefits of this allocation approach.
* Apply INSTALL_MASK prior to collision-protect.Zac Medico2012-01-141-2/+8
| | | | It may be useful to avoid collisions in some scenarios.
* Update header timestamps for modified files.Zac Medico2011-03-251-1/+1
|
* MergeProcess: Fix PORTAGE_BACKGROUND/LOG_FILE useZac Medico2011-03-241-1/+2
| | | | | | | | In this subprocess we don't want PORTAGE_BACKGROUND to suppress stdout/stderr output since they are pipes. We also don't want to open PORTAGE_LOG_FILE, since it will already be opened by the parent process, so we set the PORTAGE_BACKGROUND="subprocess" value for use in conditional logging code involving PORTAGE_LOG_FILE.
* During the post src_install QA checks, log to a temporary fileZac Medico2010-08-221-1/+2
| | | | | | since the code we are running reads PORTAGE_LOG_FILE, and we want to avoid annoying "gzip: unexpected end of file" messages when FEATURES=compress-build-logs is enabled.
* Make spawnebuild() use EbuildPhase to eliminate duplicate code.Zac Medico2010-08-161-1/+3
|
* Remove unused attributes from classes.Zac Medico2010-08-161-2/+2
|
* Convert EbuildBinpkg to inherit from MiscFunctionsProcess insteadZac Medico2010-08-161-5/+2
| | | | | of EbuildProcess. This bypasses the complex doebuild() function, and uses the _spawn_actionmap() function that's been split out.
* Move 'phase' attribute to AbstractEbuildProcess from subclasses, soZac Medico2010-08-141-1/+1
| | | | the _get_phase() method isn't needed.
* Factor EBUILD_EXIT_STATUS_FILE code out of AbstractEbuildProcessZac Medico2010-08-121-8/+1
| | | | subclasses and into AbstractEbuildProcess itself.
* Consolidate EBUILD_EXIT_STATUS_FILE handling in doebuild.spawn()Zac Medico2010-08-121-4/+1
| | | | and subclasses of AbstractEbuildProcess.
* 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
|
* Split doebuild and related code to the portage.package.ebuild module.Zac Medico2010-02-251-3/+5
| | | | svn path=/main/trunk/; revision=15448
* Add a AbstractEbuildProcess class for MiscFunctionsProcess to inherit theZac Medico2009-12-061-5/+5
| | | | | | _pipe and _can_log methods that used to be in the EbuildProcess class. svn path=/main/trunk/; revision=14933
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-111-8/+3
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993
* Add/update copyright headers.Zac Medico2009-06-251-0/+4
| | | | svn path=/main/trunk/; revision=13690
* Bug #275047 - Split _emerge/__init__.py into smaller pieces. Thanks toZac Medico2009-06-221-0/+42
Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13663