summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/EbuildBuild.py
Commit message (Collapse)AuthorAgeFilesLines
* Respect package.env buildpkg FEATURES settings.Zac Medico2011-08-301-1/+1
| | | | This will fix bug #318897.
* EbuildBuild: pass ebuild_path to EbuildFetcherZac Medico2011-07-191-0/+1
| | | | This avoids a redundant pordbapi.findname() call.
* EbuildBuild: skip the fetch queue when possibleZac Medico2011-07-161-1/+24
| | | | | | | Since commit f07f8386e945b48358c11c121960e4833c539752, it was possible for EbuildBuild to wait on the fetch queue even in cases in which all required files had been previously fetched. Now this case is optimized to skip the fetch queue, as discribed in bug #375331, comment #2.
* EbuildBuild: use fetch queue to cap fetch threadsZac Medico2011-07-151-1/+5
| | | | This will fix bug #375331.
* EbuildMerge: inherit from CompositeTaskZac Medico2011-05-151-2/+1
|
* Reoranize PackageMerge/MergeListItem interaction.Zac Medico2011-03-261-4/+2
|
* MergeProcess: call elog_process for replaced pkgsZac Medico2011-03-251-2/+0
|
* Preserve elog message continuity during updates.Zac Medico2011-03-241-0/+2
| | | | | | This integrates the fix from commit 8209aeab647b1ab80a64d5931069b3533776ef75 with the asynchronous merge changes from commit 7535cabdf2fab76fc55df83643157613dfd66be9.
* Merge packages asynchronously in Portage.David James2011-03-241-6/+7
| | | | | | | | This allows for the scheduler to continue to run while packages are being merged and installed, allowing for additional parallelism and making better use of the CPUs. Review URL: http://codereview.chromium.org/6713043
* Scheduler: tweak prefetcher cancellation logicZac Medico2011-03-161-3/+2
| | | | | This should prevent "TypeError: an integer is required" raised from waitpid when trying to cancel a prefetcher that never started.
* EbuildBuild: spawn nofetch for fetchonlyZac Medico2011-01-311-5/+12
|
* doebuild_environent: handle A/AA initializationZac Medico2011-01-181-7/+0
| | | | | This allows elimination of duplicate code, some of which was introduced by the fix for bug #351505.
* Fix broken pkg.use.enabled ref from last commit.v2.2.0_alpha17Zac Medico2011-01-171-1/+1
|
* EbuildBuild: Ensure $A is defined in pkg_nofetch.Zac Medico2011-01-171-1/+8
| | | | This will fix bug #351505.
* Use EbuildFetcher for --fetchonly (not --pretend)Zac Medico2010-12-281-2/+15
|
* Sync EMERGE_FROM code with MERGE_TYPE code.Zac Medico2010-12-051-1/+1
|
* EAPI 4: Support MERGE_TYPE (bug #347351)Zac Medico2010-12-031-0/+4
|
* reposyntax: Add support all over the placeSebastian Luther2010-09-261-1/+1
|
* Make EbuildBuildDir use the PORTAGE_BUILDDIR variable instead of theZac Medico2010-09-141-1/+0
| | | | dir_path attribute.
* Make EbuildBuild call doebuild_environment() so that EbuildBuildDirZac Medico2010-09-131-1/+4
| | | | doesn't need to.
* Bug #336142 - Add support for using a thread to wait for locks insideZac Medico2010-09-131-1/+2
| | | | | EbuildBuildDir.lock() so that the scheduler can concurrently service ipc calls in the main thread.
* Remove pkg_nofetch code from the fetch() function since it's currently ↵Zac Medico2010-09-101-9/+8
| | | | broken (doebuild_environment raises TypeError due to missing mydbapi parameter) and this is a poor place to spawn pkg_nofetch anyway, especially given that the caller does not even pass in a portdbapi instance. For now, relocate the pkg_nofetch execution to EbuildBuild so that it works for emerge. TODO: Add pkg_nofetch support to fetch() callers where appropriate.
* Remove redundant elog_process() call in EbuildBuild._fetch_exit().Zac Medico2010-09-101-1/+0
|
* Eliminate redunant elog_process() call in EbuildBuild._fetch_exit()Zac Medico2010-09-091-2/+1
| | | | | which fetch has failed, since _unlock_builddir() will handle it later.
* Bug #336499 - If RESTRICT=fetch is not set but pkg_nofetch is defined,Zac Medico2010-09-091-2/+26
| | | | | go ahead and run pkg_nofetch upon fetch failure. This allows specialized messages to be displayed for problematic packages.
* In EbuildBuild._pre_clean_exit() is _default_exit instead ofZac Medico2010-09-091-1/+1
| | | | _final_exit where appropriate.
* Remove unused imports found by pylint.Arfrever Frehtes Taifersar Arahesis2010-08-291-3/+0
|
* Bug #324191 - Add support for FEATURES=compress-build-logs. The causesZac Medico2010-08-211-13/+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.
* Make EbuildBuild check the manifest before beginning, since withZac Medico2010-08-161-0/+27
| | | | | --keep-going mode it's currently possible to get this far with a broken manifest.
* Remove unused attributes from classes.Zac Medico2010-08-161-7/+3
|
* Split out parts of doebuild() so that EbuildProcess can bypass itZac Medico2010-08-161-6/+11
| | | | and call the spawn() function directly.
* Bug #327883 - Make EbuildBuild call the pre-clean phase prior toZac Medico2010-07-161-26/+37
| | | | | | | 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.
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Bug #304981 - Remove redundant fetch log removal code which is alreadyZac Medico2010-03-021-7/+0
| | | | | | handled by EbuildFetcher. svn path=/main/trunk/; revision=15720
* Bug #295715 - Implement a register_success_hook function to complementZac Medico2009-12-061-8/+20
| | | | | | | register_die_hook, and also add code to ensure the die hooks are called even when the failure is on the python side (like for file collisions). svn path=/main/trunk/; revision=14936
* Bug #286522 - Check all portdbapi.findname return values in case itZac Medico2009-09-261-1/+3
| | | | | | 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/+2
| | | | | | _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/+271
Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13663