Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Optimize ebuild.sh to cache preprocessing output. | David James | 2011-03-23 | 1 | -8/+8 |
| | | | | | | | | | | | | | Right now ebuild.sh runs preprocessing steps multiple times during the same build. It processes the same environment and produces the same output every time. This slows down the build unnecessarily. This optimization cuts build time for 50 binary packages with 16 jobs from 3m22 to 2m33 (33%). Change-Id: I72ac84cce2eb60d17736cc5f5343d4a858ec86f4 Review URL: http://codereview.chromium.org/6733008 | ||||
* | portageq owners: list orphans via stderr | Zac Medico | 2011-03-20 | 1 | -5/+21 |
| | |||||
* | ebuild-ipc: import errno | Zac Medico | 2011-03-17 | 1 | -0/+1 |
| | |||||
* | ebuild-ipc: use non-blocking read | Zac Medico | 2011-03-17 | 1 | -13/+41 |
| | | | | | | | | | | | | This makes it possible for the daemon to send a reply without blocking, thereby improving performance and also making it possible for the daemon to do a non-blocking write without a race condition. This reverts part of commit 81fc303212b8379219cf5d463c8717359b972dba, which probably didn't help portability anyway. Now, ebuild-ipc is using non-blocking read with os.read and EAGAIN handling, just like EbuildIpcDaemon since commit 7e5b81da12dd7bd59f6620840dc0d824e3f4d69a (known compatible with FreeBSD). | ||||
* | ebuild-ipc: use plain file read instead of array | Zac Medico | 2011-03-10 | 1 | -9/+6 |
| | | | | | Array.fromfile() seems to be more error prone. For example, see bug 337465. | ||||
* | dodoc: update copyright datev2.2.0_alpha26 | Zac Medico | 2011-03-01 | 1 | -1/+1 |
| | |||||
* | ebuild(1): fix ebuild modification check | Zac Medico | 2011-03-01 | 1 | -12/+13 |
| | | | | | | This has been broken since the setcpv call (triggering metadata generation) was added before it in commit 0b39d24bb8270e5c89eaddfd1f5a4181cf9e31d3. | ||||
* | ebuild(1): apply package.env earlier | Zac Medico | 2011-02-28 | 1 | -6/+22 |
| | | | | This makes it possible to override PORTAGE_TMPDIR. | ||||
* | repoman: add back portage.internal check | Zac Medico | 2011-02-25 | 1 | -0/+2 |
| | | | | | | This check got removed for bug #262365, but now that EAPI 4 is released we can add it back. Now it checks for ecompress/ecompressdir too (for bug #218347). | ||||
* | doins: fix dodoc directory error handling | Zac Medico | 2011-02-25 | 1 | -0/+4 |
| | |||||
* | doins: avoid die when called as dodoc with no arg | Zac Medico | 2011-02-25 | 1 | -11/+11 |
| | |||||
* | dodoc: call doins, to reuse recursion code | Zac Medico | 2011-02-25 | 2 | -51/+13 |
| | | | | This will fix broken recursion logic for bug #356461. | ||||
* | dodoc: quote ${0} | Zac Medico | 2011-02-25 | 1 | -2/+2 |
| | |||||
* | dodoc: Honour exit status of install, bug 356389. | Ulrich Mueller | 2011-02-25 | 2 | -3/+7 |
| | |||||
* | Update date headers in modified files. | Zac Medico | 2011-02-21 | 1 | -1/+1 |
| | |||||
* | ebuild.sh: remove unused PWORKDIR variable | Zac Medico | 2011-02-21 | 2 | -7/+1 |
| | |||||
* | Update date headers in modified files. | Zac Medico | 2011-02-19 | 2 | -2/+2 |
| | |||||
* | _eapi4_src_install: handle empty DOCS like PMS | Zac Medico | 2011-02-19 | 1 | -1/+1 |
| | | | | This will fix bug #355635. | ||||
* | docompress, prepcompress: Add missing quotes. | Ulrich Mueller | 2011-02-19 | 2 | -3/+3 |
| | |||||
* | egencache: fix cmp_func for python3 | Zac Medico | 2011-02-18 | 1 | -0/+8 |
| | |||||
* | Recognize git-2.eclass as a live eclass. | Zac Medico | 2011-02-14 | 1 | -0/+1 |
| | |||||
* | egencache: --preserve-comments allow missing file | Zac Medico | 2011-02-13 | 1 | -4/+26 |
| | | | | This will fix bug #354687. | ||||
* | egencache: don't ignore as much with --tolerant | Zac Medico | 2011-02-13 | 1 | -3/+4 |
| | | | | | | Errors returned from --update-use-local-desc and --update-changelogs are no longer ignored with --tolerant. This will fix part of bug #354687. | ||||
* | default_src_test: handle EAPI 4 emake failure | Zac Medico | 2011-02-06 | 1 | -4/+10 |
| | | | | This will fix bug #353897. | ||||
* | die: include $EBUILD_PHASE in message | Zac Medico | 2011-01-30 | 1 | -1/+5 |
| | | | | | When a helper binary dies automatically in EAPI 4 and later, we don't get a stack trace, so at least report the phase that failed. | ||||
* | isolated-functions.sh: fix syntax error for die | Zac Medico | 2011-01-30 | 1 | -2/+4 |
| | | | | | | | | Fix die so that dump_trace is not called when the main script is a helper binary. This prevents the following error message when a helper dies automatically in EAPI 4: isolated-functions.sh: line 61: p -= : syntax error: operand expected (error token is "-= ") | ||||
* | repoman: add check for using offset vars with helpers | Fabian Groffen | 2011-01-30 | 1 | -0/+1 |
| | | | | | | | New check: NoOffsetWithHelpers. Checks whether helper functions, such as dodir and insinto, are used with offset variables either referring to the installation image (D, ED), the alternate root location (ROOT, EROOT), or the offset prefix (EPREFIX). | ||||
* | Tweak PollScheduler signal handling. | Zac Medico | 2011-01-15 | 1 | -3/+7 |
| | |||||
* | Add PollScheduler.terminate() for interruption. | Zac Medico | 2011-01-15 | 1 | -1/+24 |
| | | | | | This allows PollScheduler instances to do basic cleanup and terminate gracefully when SIGINT or SIGTERM signals are received. | ||||
* | When killed by signal, return 128 + signum. | Zac Medico | 2011-01-15 | 5 | -19/+21 |
| | | | | | This is the same convention that bash uses for returncodes of processes that are killed by signals. | ||||
* | emerge-webrsync: update for current gpg key | Zac Medico | 2011-01-14 | 1 | -1/+1 |
| | |||||
* | econf: check confgure --help for --disable-dep... | Zac Medico | 2011-01-12 | 1 | -1/+3 |
| | | | | This is the new behavior, for bug #211529. | ||||
* | ebuild.sh: skip QA_* init in "depend" phase | Zac Medico | 2011-01-09 | 1 | -20/+21 |
| | |||||
* | emerge-webrsync: eat trailing newlines | Mike Frysinger | 2011-01-05 | 1 | -3/+3 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | emerge-webrsync: add xz support | Mike Frysinger | 2011-01-05 | 1 | -0/+2 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | newins in EAPI 4 should actually install the file. Fixes bug 350385. | Ulrich Mueller | 2011-01-02 | 1 | -3/+5 |
| | |||||
* | egencache: handle ImportError for ExpatError | Zac Medico | 2010-12-31 | 1 | -5/+10 |
| | |||||
* | dyn_clean: remove .pretended | Zac Medico | 2010-12-31 | 1 | -1/+1 |
| | |||||
* | unpack: handle echo failure in unzip pipe | Zac Medico | 2010-12-29 | 1 | -1/+1 |
| | | | | This will fix bug #338744. | ||||
* | bash: as a general rule, use read -r | Zac Medico | 2010-12-29 | 7 | -12/+12 |
| | | | | This solves cases like bug #350045. | ||||
* | doins: use read -r | Ulrich Müller | 2010-12-29 | 1 | -1/+1 |
| | | | | This will fix bug #350045. | ||||
* | doebuild: fix bug #349273 | Zac Medico | 2010-12-21 | 1 | -1/+1 |
| | | | | | | | | | Since commit 75d3130fc8293fff68389b8fed44b8d47a0abe80, doebuild() for the 'setup' phase triggers the actionmap_deps code path in order to call the 'pretend' phase as a dependency. This path previously assumed a portdbapi instance, which may not hold for some api consumers such as entropy. Therefore, fix the code path to work with other dbapi types. | ||||
* | Substitute bash builtin >> for touch command. | Zac Medico | 2010-12-19 | 5 | -22/+39 |
| | | | | | It should be faster to use the bash builtin, and also allows us to avoid issues with touch breakage (like in bug #348640). | ||||
* | repoman: ignore deprecated profiles.desc entries | Zac Medico | 2010-12-18 | 1 | -0/+3 |
| | |||||
* | repoman: handle ElementTree.ParseError | Zac Medico | 2010-12-17 | 1 | -1/+1 |
| | |||||
* | etc-update: eliminate duplicate example configs | Zac Medico | 2010-12-13 | 1 | -1/+5 |
| | |||||
* | etc-update: tweak style in do_distconf() | Anthony Basile | 2010-12-13 | 1 | -10/+2 |
| | |||||
* | etc-update: replace 'seq' with pure bashv2.2.0_alpha8 | Zac Medico | 2010-12-12 | 1 | -3/+6 |
| | |||||
* | etc-update: add option to save example config | Anthony Basile | 2010-12-12 | 1 | -0/+33 |
| | | | | This will fix bug #348561. | ||||
* | quickpkg: may -> might reword | Mike Frysinger | 2010-12-07 | 1 | -2/+2 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> |