summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Support PORTAGE_GPG_SIGNING_COMMAND variable.Arfrever Frehtes Taifersar Arahesis2011-04-031-12/+15
|
* Minor improvements in gpgsign().Arfrever Frehtes Taifersar Arahesis2011-03-311-5/+4
| | | | repoman_settings["PORTAGE_GPG_DIR"] is always set.
* Simplify calculation of repoman_settings["PORTAGE_GPG_DIR"] in gpgsign().Arfrever Frehtes Taifersar Arahesis2011-03-301-5/+2
| | | | os.path.expanduser() works even when HOME environment variable is not set.
* Use os.path.expanduser() to simplify code.Arfrever Frehtes Taifersar Arahesis2011-03-301-4/+1
|
* emerge-webrsync: drop lzma supportZac Medico2011-03-271-4/+2
| | | | | | | | The lzma snapshots have been replaced by xz snapshots, as discussed in the "RFC: Remove .lzma in favor of .xz portage snapshots" thread on the gentoo-dev ml: http://archives.gentoo.org/gentoo-dev/msg_7de1b57ce531fdf33d33b5b070006436.xml
* Optimize ebuild.sh to cache preprocessing output.David James2011-03-231-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 stderrZac Medico2011-03-201-5/+21
|
* ebuild-ipc: import errnoZac Medico2011-03-171-0/+1
|
* ebuild-ipc: use non-blocking readZac Medico2011-03-171-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 arrayZac Medico2011-03-101-9/+6
| | | | | Array.fromfile() seems to be more error prone. For example, see bug 337465.
* dodoc: update copyright datev2.2.0_alpha26Zac Medico2011-03-011-1/+1
|
* ebuild(1): fix ebuild modification checkZac Medico2011-03-011-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 earlierZac Medico2011-02-281-6/+22
| | | | This makes it possible to override PORTAGE_TMPDIR.
* repoman: add back portage.internal checkZac Medico2011-02-251-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 handlingZac Medico2011-02-251-0/+4
|
* doins: avoid die when called as dodoc with no argZac Medico2011-02-251-11/+11
|
* dodoc: call doins, to reuse recursion codeZac Medico2011-02-252-51/+13
| | | | This will fix broken recursion logic for bug #356461.
* dodoc: quote ${0}Zac Medico2011-02-251-2/+2
|
* dodoc: Honour exit status of install, bug 356389.Ulrich Mueller2011-02-252-3/+7
|
* Update date headers in modified files.Zac Medico2011-02-211-1/+1
|
* ebuild.sh: remove unused PWORKDIR variableZac Medico2011-02-212-7/+1
|
* Update date headers in modified files.Zac Medico2011-02-192-2/+2
|
* _eapi4_src_install: handle empty DOCS like PMSZac Medico2011-02-191-1/+1
| | | | This will fix bug #355635.
* docompress, prepcompress: Add missing quotes.Ulrich Mueller2011-02-192-3/+3
|
* egencache: fix cmp_func for python3Zac Medico2011-02-181-0/+8
|
* Recognize git-2.eclass as a live eclass.Zac Medico2011-02-141-0/+1
|
* egencache: --preserve-comments allow missing fileZac Medico2011-02-131-4/+26
| | | | This will fix bug #354687.
* egencache: don't ignore as much with --tolerantZac Medico2011-02-131-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 failureZac Medico2011-02-061-4/+10
| | | | This will fix bug #353897.
* die: include $EBUILD_PHASE in messageZac Medico2011-01-301-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 dieZac Medico2011-01-301-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 helpersFabian Groffen2011-01-301-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 Medico2011-01-151-3/+7
|
* Add PollScheduler.terminate() for interruption.Zac Medico2011-01-151-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 Medico2011-01-155-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 keyZac Medico2011-01-141-1/+1
|
* econf: check confgure --help for --disable-dep...Zac Medico2011-01-121-1/+3
| | | | This is the new behavior, for bug #211529.
* ebuild.sh: skip QA_* init in "depend" phaseZac Medico2011-01-091-20/+21
|
* emerge-webrsync: eat trailing newlinesMike Frysinger2011-01-051-3/+3
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* emerge-webrsync: add xz supportMike Frysinger2011-01-051-0/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* newins in EAPI 4 should actually install the file. Fixes bug 350385.Ulrich Mueller2011-01-021-3/+5
|
* egencache: handle ImportError for ExpatErrorZac Medico2010-12-311-5/+10
|
* dyn_clean: remove .pretendedZac Medico2010-12-311-1/+1
|
* unpack: handle echo failure in unzip pipeZac Medico2010-12-291-1/+1
| | | | This will fix bug #338744.
* bash: as a general rule, use read -rZac Medico2010-12-297-12/+12
| | | | This solves cases like bug #350045.
* doins: use read -rUlrich Müller2010-12-291-1/+1
| | | | This will fix bug #350045.
* doebuild: fix bug #349273Zac Medico2010-12-211-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 Medico2010-12-195-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 entriesZac Medico2010-12-181-0/+3
|
* repoman: handle ElementTree.ParseErrorZac Medico2010-12-171-1/+1
|