Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Protect EBUILD_{FORCE_TEST,SKIP_MANIFEST} vars. | Zac Medico | 2011-07-13 | 1 | -1/+2 |
| | | | | | These belong in the blacklist, in order to avoid potential interference from the calling environment. | ||||
* | fetch: fix ebuild --skip-manifest behavior | Zac Medico | 2011-07-13 | 1 | -0/+2 |
| | | | | | This should fix "Insufficient data for checksum verification" errors triggered by ebuild --skip-manifest. | ||||
* | BUILD_TIME: use string format op for time.time()v2.2.0_alpha44 | Zac Medico | 2011-07-12 | 1 | -1/+1 |
| | |||||
* | Use portage.subprocess_getstatusoutput() more. | Zac Medico | 2011-07-12 | 5 | -26/+10 |
| | |||||
* | Avoid baseline subprocess import under python2. | Zac Medico | 2011-07-12 | 1 | -2/+4 |
| | |||||
* | emergelog: use string format op for time.time() | Zac Medico | 2011-07-12 | 1 | -4/+7 |
| | |||||
* | emergelog: remove unneeded seek for append mode | Zac Medico | 2011-07-12 | 1 | -3/+0 |
| | |||||
* | Update timestamps in headers of modified files. | Zac Medico | 2011-07-12 | 8 | -8/+8 |
| | |||||
* | filter-bash-environment.py: move imports to top | Zac Medico | 2011-07-12 | 1 | -5/+7 |
| | |||||
* | Use explicit 'mode' keyword arg with io.open(). | Zac Medico | 2011-07-12 | 1 | -3/+3 |
| | |||||
* | Use explicit 'mode' keyword arg with io.open(). | Zac Medico | 2011-07-12 | 1 | -2/+2 |
| | |||||
* | resume_depgraph: be careful with parent_node type | Zac Medico | 2011-07-12 | 1 | -2/+3 |
| | |||||
* | unmerge: reject USE conditionals in arguments | Zac Medico | 2011-07-12 | 1 | -2/+12 |
| | |||||
* | misc-functions.sh: fix incorrect has -o usage | Zac Medico | 2011-07-12 | 1 | -1/+1 |
| | |||||
* | Remove unneeded _unicode_decode for io.StringIO. | Zac Medico | 2011-07-12 | 5 | -22/+8 |
| | | | | | | | 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. | ||||
* | Remove python-2.6 StringIO.StringIO fallback. | Zac Medico | 2011-07-12 | 12 | -35/+26 |
| | | | | | | | | 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. | ||||
* | autounmask-write: create /etc/portage if needed | Zac Medico | 2011-07-11 | 1 | -1/+3 |
| | |||||
* | elog/mod_save: fix permissions for logrotate | Zac Medico | 2011-07-11 | 3 | -4/+13 |
| | | | | | These permissions should be compatible with our default logrotate config as discussed in bug 374287. | ||||
* | elog/mod_save: ensure parent logdir exists | Zac Medico | 2011-07-11 | 2 | -2/+16 |
| | |||||
* | resume_depgraph: fix breakage from reposyntax | Zac Medico | 2011-07-11 | 1 | -1/+3 |
| | | | | | This is a major regression that has been triggering lots of complaints about emerge --keep-going. | ||||
* | elog/mod_save: use _ensure_log_subdirs | Zac Medico | 2011-07-11 | 3 | -19/+27 |
| | | | | | This fixes permission issues with category subdirectories created for FEATURES=split-elog. | ||||
* | prepare_build_dirs: copy logdir group permissions | Zac Medico | 2011-07-11 | 1 | -10/+33 |
| | | | | | The gid of PORT_LOGDIR is copied to all subdirectories, along with 0x2070 mode bits if present. | ||||
* | Log maintainer info for pretend and nofetch. | Zac Medico | 2011-07-11 | 1 | -4/+11 |
| | | | | | | Also, suppress this maintainer info from going to stdout since it's intended for the log and it doesn't necessarily need to be visible elsewhere. This will fix bug #374809. | ||||
* | prepare_build_dirs: warn for logdir permission | Zac Medico | 2011-07-11 | 1 | -2/+13 |
| | | | | | | If there is insufficient permission to use PORT_LOGDIR or the required subdirectory, warn instead of raising an exception. Also, fall back to using $T/build.log as a last resort. | ||||
* | ebuild.sh: restore old has() implementation | Brian Harring | 2011-07-11 | 1 | -1/+8 |
| | | | | | | | | The needle/haystack implementation handles whitespace as originally intended (prior to commit 659eafddd5964820ce8bdc0d90f5fcf7df04b5b7), as discussed in bug #374791. Signed-off-by: Brian Harring <ferringb@gmail.com> | ||||
* | is_valid_package_atom: fix circular import | Zac Medico | 2011-07-11 | 2 | -16/+15 |
| | | | | | | Due to a quirk in python import behavior, this only failed nondeterministically. However, the new preinst sanity test in the portage-9999 ebuild tends to trigger it more often for some people. | ||||
* | Remove unused codecs import. | Zac Medico | 2011-07-10 | 1 | -1/+0 |
| | |||||
* | Migrate from codecs.open() to io.open(). | Zac Medico | 2011-07-10 | 34 | -162/+207 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | Manifest: fix NameError in updateAllHashes | Zac Medico | 2011-07-10 | 1 | -1/+2 |
| | |||||
* | circular_dependency: fix total_flags calc | Zac Medico | 2011-07-10 | 1 | -2/+2 |
| | |||||
* | depgraph: more debug output for _add_pkg | Zac Medico | 2011-07-10 | 2 | -17/+44 |
| | | | | | This should make it easier to debug cases like bug 374423, among others. | ||||
* | slot_collision: fix more for bug 374423 | Zac Medico | 2011-07-10 | 1 | -0/+9 |
| | |||||
* | slot_collision: fix AttributeError for bug 374423 | Zac Medico | 2011-07-10 | 1 | -0/+14 |
| | |||||
* | depgraph: reject USE conditionals in arguments | Zac Medico | 2011-07-09 | 1 | -0/+8 |
| | |||||
* | circular_dependency: fix REQUIRED_USE test | Zac Medico | 2011-07-09 | 1 | -0/+17 |
| | |||||
* | circular_dependency: fix ridiculously long loop | Zac Medico | 2011-07-09 | 1 | -10/+0 |
| | | | | | | | | The flags from REQUIRED_USE were added to affecting_use, which was not really necessary and was a bad idea because a number of flags in affecting_use affects our number of loops exponentially. This will fix bug #374397 in which the large number of flags in the REQUIRED_USE of dev-lang/php-5.3.6-r1 triggered execution of 2 ^ 45 loops. | ||||
* | slot_collision: be consistent with missing IUSE | Zac Medico | 2011-07-09 | 2 | -7/+32 |
| | | | | | | Special handling for missing IUSE that was introduced in commit 9a193d42032005396800eb30e550691513529c79 is also useful in one more spot. | ||||
* | circular_dependency: show debug graph earlier | Zac Medico | 2011-07-09 | 2 | -2/+11 |
| | | | | | This might help in some cases like bug 374397 where we're troubleshooting the circular_dependency code. | ||||
* | circular_dependency: use itertools.product() | Zac Medico | 2011-07-09 | 1 | -24/+3 |
| | | | | | Python's cartesian product function does exactly what we want, so use it to simplify our code. | ||||
* | depgraph: include pkg.repo in debug output | Zac Medico | 2011-07-09 | 1 | -2/+3 |
| | |||||
* | Add QA Notice for hasq/useq calls (bug #199722). | Zac Medico | 2011-07-08 | 2 | -0/+2 |
| | |||||
* | Remove all hasq/useq calls for bug #199722. | Zac Medico | 2011-07-08 | 10 | -93/+93 |
| | |||||
* | ebuild.5: remove hasq docs for bug #199722 | Zac Medico | 2011-07-08 | 1 | -4/+4 |
| | |||||
* | Invert has/hasq and use/useq implementations. | Zac Medico | 2011-07-08 | 2 | -8/+8 |
| | | | | | We need to migrate away from hasq and useq since they are deprecated (bug #199722). | ||||
* | RepoConfig: ignore missing name if no location | Zac Medico | 2011-07-08 | 1 | -1/+3 |
| | | | | This happens if there is an orphan entry in repos.conf. | ||||
* | getportageversion: omit implicit -r0 for libc | Zac Medico | 2011-07-08 | 1 | -1/+4 |
| | |||||
* | Qualify "missed update" message as WARNING. | Zac Medico | 2011-07-08 | 1 | -2/+2 |
| | |||||
* | repoman: tighten regex for useq and hasq | Zac Medico | 2011-07-08 | 1 | -3/+3 |
| | |||||
* | repoman: centralize code for ignoring comments | Zac Medico | 2011-07-08 | 1 | -6/+11 |
| | |||||
* | repoman: check for deprecated useq and hasq calls | Dane Smith | 2011-07-08 | 2 | -1/+16 |
| |