| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This enables controling the behaviour (creation and validation) per
repo, and while mildly ugly, refactors in the right direction.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Since StringIO.StringIO fallback was removed in commit
5df96179611ce0e98727945b1800b43daccedfc2, we can rely on
io.StringIO.getoutput() to return unicode, so there's no
need to call _unicode_decode on the result.
|
|
|
|
|
|
|
|
| |
Since the io module in python-2.6 was broken when threading was
disabled, we needed to fall back from io.StringIO to StringIO.StringIO
in this case (typically just for Gentoo's stage1 and stage2 tarballs).
Now that python-2.7 is stable in stages and we rely on io.open() being
available, we can also rely on io.StringIO being available.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
The feature is as it sounds- primarily useful for temporary
trees or instances where manifests aren't used.
Signed-off-by: Brian Harring <ferringb@gmail.com>
|
|
|
|
|
|
| |
These callers don't intend to make WIFSIGNALED return True, so they
need to shift their codes 8 bits to the left. This ensures that
commit 88f5bf84e2fd23125910b2ecaffc035971445696 behaves as intended.
|
|
|
|
| |
This seems to fix bug #353239.
|
|
|
|
| |
This will fix bug #348864.
|
| |
|
|
|
|
| |
This should fix bug #345289.
|
| |
|
|
|
|
|
| |
If we don't call doebuild_environment() then the 'O' variable is
not set and fetch() doesn't use the manifest.
|
| |
|
|
|
|
| |
Instead of calling ebuild(1), simply fork and call fetch().
|
| |
|
| |
|
|
|
|
| |
prefetch output always goes to a log.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
doesn't cache SRC_URI.
|
|
|
|
| |
invoking portdbapi.getFetchMap().
|
|
|
|
| |
instead of setting self.returncode directly.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
svn path=/main/trunk/; revision=15515
|
|
|
|
| |
svn path=/main/trunk/; revision=15448
|
|
|
|
| |
svn path=/main/trunk/; revision=15316
|
|
|
|
|
|
| |
PORTAGE_RO_DISTDIRS is used.
svn path=/main/trunk/; revision=15315
|
|
|
|
| |
svn path=/main/trunk/; revision=15313
|
|
|
|
|
|
|
| |
have the correct size. In this case we can avoid the expense of spawning
ebuild(1).
svn path=/main/trunk/; revision=15312
|
|
|
|
|
|
| |
prefetch mode.
svn path=/main/trunk/; revision=15311
|
|
|
|
|
|
|
| |
output through a normal pipe due to unavailability of ptys.
Thanks to grobian for reporting.
svn path=/main/trunk/; revision=14530
|
|
|
|
|
|
| |
returns None, and raise 'ebuild not found' exceptions when necessary.
svn path=/main/trunk/; revision=14442
|
|
|
|
| |
svn path=/main/trunk/; revision=14100
|
|
|
|
|
|
| |
_unicode_encode() and _unicode_decode() where appropriate.
svn path=/main/trunk/; revision=13993
|
|
|
|
| |
svn path=/main/trunk/; revision=13913
|
|
|
|
| |
svn path=/main/trunk/; revision=13690
|
|
Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch.
svn path=/main/trunk/; revision=13663
|