Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Binpkg: move imports to top | Zac Medico | 2011-12-10 | 1 | -2/+2 |
| | |||||
* | Use portage.shutil for safer unicode handling. | Zac Medico | 2011-12-10 | 1 | -1/+1 |
| | |||||
* | Binpkg: ensure $ED exists after extraction | Zac Medico | 2011-12-09 | 1 | -0/+1 |
| | |||||
* | Binpkg: handle missing dir after chpathtool | Zac Medico | 2011-12-09 | 1 | -5/+11 |
| | |||||
* | Binpkg: fix os.path.dirname() usage | Zac Medico | 2011-12-09 | 1 | -1/+1 |
| | | | | It doesn't behave as intended for $ED which has a trailing slash. | ||||
* | Binpkg: add chpathtool support for prefix | Zac Medico | 2011-12-09 | 1 | -5/+59 |
| | | | | | | This uses a python-based chpathtool implementation which is intended to be compatible with the C-based implemenation that the prefix branch uses. | ||||
* | Binpkg: use fetch queue to cap fetch threads | Zac Medico | 2011-07-16 | 1 | -1/+6 |
| | | | | | This is analogous to commit f07f8386e945b48358c11c121960e4833c539752 for bug #375331, but for fetching from binhosts. | ||||
* | Migrate from codecs.open() to io.open(). | Zac Medico | 2011-07-10 | 1 | -6/+9 |
| | | | | | | | | | | | | | | | | | The io.open() function is the same as the built-in open() function in python3, and its implementation is optimized in python-2.7 and later. In addition to the possible performance improvement, this also allows us to avoid any future compatibility issues with codecs.open() that may arise if it is delegated to the built-in open() function as discussed in PEP 400. The main caveat involved with io.open() is that TextIOWrapper.write() raises TypeError if given raw bytes, unlike the streams returned from codecs.open(). This is mainly an issue for python2 since literal strings are raw bytes. We handle this by wrapping TextIOWrapper.write() arguments with our _unicode_decode() function. Also, the atomic_ofstream class overrides the write() method in python2 so that it performs automatic coercion to unicode when necessary. | ||||
* | Binpkg: cleanup PORTAGE_BINPKG_FILE code | Zac Medico | 2011-06-03 | 1 | -16/+6 |
| | |||||
* | EbuildMerge: inherit from CompositeTask | Zac Medico | 2011-05-15 | 1 | -2/+1 |
| | |||||
* | Reoranize PackageMerge/MergeListItem interaction. | Zac Medico | 2011-03-26 | 1 | -7/+4 |
| | |||||
* | MergeProcess: call elog_process for replaced pkgs | Zac Medico | 2011-03-25 | 1 | -2/+0 |
| | |||||
* | Preserve elog message continuity during updates. | Zac Medico | 2011-03-24 | 1 | -0/+2 |
| | | | | | | This integrates the fix from commit 8209aeab647b1ab80a64d5931069b3533776ef75 with the asynchronous merge changes from commit 7535cabdf2fab76fc55df83643157613dfd66be9. | ||||
* | Merge packages asynchronously in Portage. | David James | 2011-03-24 | 1 | -10/+11 |
| | | | | | | | | 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 logic | Zac Medico | 2011-03-16 | 1 | -3/+2 |
| | | | | | This should prevent "TypeError: an integer is required" raised from waitpid when trying to cancel a prefetcher that never started. | ||||
* | CompositeTask: handle unstarted terminated tasks | Zac Medico | 2011-03-16 | 1 | -2/+2 |
| | |||||
* | Binpkg: implement REPLACING_VERSIONS | Zac Medico | 2010-12-30 | 1 | -0/+8 |
| | |||||
* | Sync EMERGE_FROM code with MERGE_TYPE code. | Zac Medico | 2010-12-05 | 1 | -1/+1 |
| | |||||
* | EAPI 4: Support MERGE_TYPE (bug #347351) | Zac Medico | 2010-12-03 | 1 | -0/+1 |
| | |||||
* | Add support for FEATURES=binpkg-logs which is similar to unmerge-logs, | Zac Medico | 2010-09-22 | 1 | -0/+8 |
| | | | | but applies to all binary package merges. | ||||
* | Fix a typo in a comment. | Zac Medico | 2010-09-21 | 1 | -1/+1 |
| | |||||
* | Bug #338267 - Fix broken PORTAGE_BUILDDIR assertion in Binpkg when | Zac Medico | 2010-09-21 | 1 | -1/+3 |
| | | | | PORTAGE_TMPDIR is a symlink. | ||||
* | Make EbuildBuildDir use the PORTAGE_BUILDDIR variable instead of the | Zac Medico | 2010-09-14 | 1 | -2/+2 |
| | | | | dir_path attribute. | ||||
* | Make Binpkg call doebuild_environment() before constructing | Zac Medico | 2010-09-14 | 1 | -5/+7 |
| | | | | EbuildBuildDir, so PORTAGE_BUILDDIR is initialized first. | ||||
* | Make EbuildBuild call doebuild_environment() so that EbuildBuildDir | Zac Medico | 2010-09-13 | 1 | -1/+1 |
| | | | | doesn't need to. | ||||
* | Bug #336142 - Add support for using a thread to wait for locks inside | Zac Medico | 2010-09-13 | 1 | -1/+1 |
| | | | | | EbuildBuildDir.lock() so that the scheduler can concurrently service ipc calls in the main thread. | ||||
* | Bug #335340 - Add support for PORTAGE_BZIP2_COMMAND and | Zac Medico | 2010-08-30 | 1 | -0/+1 |
| | | | | | | PORTAGE_BUNZIP2_COMMAND settings in make.conf. This only adds support for binary packages, since that's where pbzip2 can provide the most benefit in common cases. | ||||
* | Fix some typos. | Arfrever Frehtes Taifersar Arahesis | 2010-08-29 | 1 | -1/+1 |
| | |||||
* | Make Binpkg call prepare_build_dirs() before trying to clean the old | Zac Medico | 2010-08-22 | 1 | -2/+2 |
| | | | | log, so PORTAGE_LOG_FILE is initialized. | ||||
* | Add missing scheduler attribute to BinpkgVerifier (broken since the | Zac Medico | 2010-08-22 | 1 | -1/+1 |
| | | | | the addition of FEATURES=compress-build-logs support). | ||||
* | Bug #324191 - Add support for FEATURES=compress-build-logs. The causes | Zac Medico | 2010-08-21 | 1 | -17/+3 |
| | | | | | | | 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 code from _prepare_env_file() to a new BinpkgEnvExtractor | Zac Medico | 2010-08-18 | 1 | -8/+10 |
| | | | | class. | ||||
* | Use _prepare_env_file() to extract the binary package environment.bz2 | Zac Medico | 2010-08-18 | 1 | -1/+10 |
| | | | | | | prior to the pkg_setup phase. This fixes a regression since EbuildPhase no longer calls doebuild(), and therefore _prepare_env_file() needs to be called now. | ||||
* | Remove unused attributes from classes. | Zac Medico | 2010-08-16 | 1 | -4/+4 |
| | |||||
* | Remove all svn $Id keywords. | Zac Medico | 2010-03-24 | 1 | -1/+0 |
| | |||||
* | Remove fetch log after successful fetch. | Zac Medico | 2010-03-02 | 1 | -0/+8 |
| | | | | svn path=/main/trunk/; revision=15721 | ||||
* | Logg errors that occur during binpkg extraction. | Zac Medico | 2010-02-12 | 1 | -3/+6 |
| | | | | svn path=/main/trunk/; revision=15343 | ||||
* | Handle encoding/decoding of unicode when using the xpak api. | Zac Medico | 2009-09-29 | 1 | -1/+2 |
| | | | | | | | Use tbz2.get_data() instead of tbz2.getfile() when reading multiple values, in order to avoid multiple tbz2.scan() and searchindex() calls. svn path=/main/trunk/; revision=14461 | ||||
* | Update syntax of numbers for compatibility with Python 3. | Arfrever Frehtes Taifersar Arahesis | 2009-09-20 | 1 | -1/+1 |
| | | | | | | (2to3-3.1 -f numliterals -nw ${FILES}) svn path=/main/trunk/; revision=14292 | ||||
* | Use _encodings where appropriate. | Zac Medico | 2009-08-19 | 1 | -5/+11 |
| | | | | svn path=/main/trunk/; revision=14099 | ||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 1 | -8/+3 |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993 | ||||
* | Open file in text mode (unicode) where appropriate. | Zac Medico | 2009-08-05 | 1 | -2/+5 |
| | | | | svn path=/main/trunk/; revision=13913 | ||||
* | Add/update copyright headers. | Zac Medico | 2009-06-25 | 1 | -0/+4 |
| | | | | svn path=/main/trunk/; revision=13690 | ||||
* | Bug #275047 - Split _emerge/__init__.py into smaller pieces. Thanks to | Zac Medico | 2009-06-22 | 1 | -0/+301 |
Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13663 |