summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/EbuildFetcher.py
Commit message (Collapse)AuthorAgeFilesLines
* EbuildFetcher: use default SIGINT/TERM handlersZac Medico2011-01-311-0/+6
| | | | This seems to fix bug #353239.
* EbuildFetcher: bail out if missing digestZac Medico2010-12-281-1/+2
| | | | This will fix bug #348864.
* EbuildFetcher: pass digests to fetch()Zac Medico2010-12-281-4/+8
|
* EbuildFetcher: suppress finally blocks after forkZac Medico2010-11-131-4/+13
| | | | This should fix bug #345289.
* Copy term size to pty only if foreground.Zac Medico2010-10-231-1/+3
|
* EbuildFetcher: fix fetch to use manifestZac Medico2010-10-221-0/+2
| | | | | If we don't call doebuild_environment() then the 'O' variable is not set and fetch() doesn't use the manifest.
* EbuildFetcher: close uneeded fds in subprocessZac Medico2010-10-221-10/+1
|
* EbuildFetcher: Use fork for better performance.Zac Medico2010-10-211-33/+43
| | | | Instead of calling ebuild(1), simply fork and call fetch().
* reposyntax: Add support all over the placeSebastian Luther2010-09-261-1/+1
|
* Combine prefetch conditionals in EbuildFetcher.Zac Medico2010-09-091-2/+1
|
* Make EbuildFetcher always disable color in prefetch mode, sinceZac Medico2010-09-091-0/+6
| | | | prefetch output always goes to a log.
* Remove unused imports found by pylint.Arfrever Frehtes Taifersar Arahesis2010-08-291-1/+0
|
* Bug #324191 - Add support for FEATURES=compress-build-logs. The causesZac Medico2010-08-211-10/+1
| | | | | | | 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.
* Revert back to using portdbapi.getFetchMap() since the Package classZac Medico2010-08-161-5/+6
| | | | doesn't cache SRC_URI.
* Use _parse_uri_map() so that we can use cached metadata instead ofZac Medico2010-08-161-6/+5
| | | | invoking portdbapi.getFetchMap().
* Fix SubProcess instances to call _set_returncode() when appropriate,Zac Medico2010-08-151-3/+3
| | | | instead of setting self.returncode directly.
* Evaluate SRC_URI and return early if there's nothing to fetch.Zac Medico2010-08-151-26/+52
|
* Fix broken reference to self._settings (from previous commit).Zac Medico2010-07-161-1/+0
|
* Bug #327883 - Make EbuildBuild call the pre-clean phase prior toZac Medico2010-07-161-47/+30
| | | | | | | EbuildFetcher, in order to avoid re-use/removal of a build log from a previously failed build. This involves moving the pre-clean phase from EbuildExecuter to EbuildBuild, and moving build dir handling from EbuildFetcher to EbuildBuild.
* Cleanup $T earlier to prevent old messages from being displayed - bug 279041Sebastian Luther2010-04-061-1/+3
|
* 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
* Use Package.use.enabled where appropriate.Zac Medico2010-02-021-1/+1
| | | | svn path=/main/trunk/; revision=15316
* Use stat rather than lstat since portage.fetch() creates symlinks whenZac Medico2010-02-021-1/+3
| | | | | | PORTAGE_RO_DISTDIRS is used. svn path=/main/trunk/; revision=15315
* Make sure the fetcher process correctly inherits PORTAGE_CONFIGROOT.Zac Medico2010-02-011-0/+1
| | | | svn path=/main/trunk/; revision=15313
* Optimize parallel-fetch for the case where all files are already fetched andZac Medico2010-02-011-0/+52
| | | | | | | have the correct size. In this case we can avoid the expense of spawning ebuild(1). svn path=/main/trunk/; revision=15312
* Deallocate config instance when necessary, to avoid memory leak when inZac Medico2010-02-011-0/+3
| | | | | | prefetch mode. svn path=/main/trunk/; revision=15311
* Force consistent color output, in case we are capturing fetchZac Medico2009-10-091-0/+5
| | | | | | | output through a normal pipe due to unavailability of ptys. Thanks to grobian for reporting. svn path=/main/trunk/; revision=14530
* Bug #286522 - Check all portdbapi.findname return values in case itZac Medico2009-09-261-0/+2
| | | | | | returns None, and raise 'ebuild not found' exceptions when necessary. svn path=/main/trunk/; revision=14442
* Use _encodings where appropriate.Zac Medico2009-08-191-2/+5
| | | | svn path=/main/trunk/; revision=14100
* 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
* Open file in text mode (unicode) where appropriate.Zac Medico2009-08-051-1/+3
| | | | svn path=/main/trunk/; revision=13913
* 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/+109
Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13663