summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* DoebuildSpawnTestCase: Invoke portage.package.ebuild.doebuild.spawn()Zac Medico2010-08-151-0/+2
| | | | | | with a minimal environment. This gives coverage to some of the ebuild execution internals, like ebuild.sh, EbuildSpawnProcess, and EbuildIpcDaemon.
* Bug #332799 - Don't download lzma snapshots if tarsync is installed.Zac Medico2010-08-141-6/+3
|
* Disable EbuildIpcDaemon for now, since it seems to be triggeringZac Medico2010-08-143-2/+6
| | | | | intermittent build failures in my stage builds. For testing purposes set PORTAGE_IPC_DAEMON_ENABLE=1 to enable EbuildIpcDaemon.
* portage.dep: Integrate the functionality of flatten into use_reduceSebastian Luther2010-08-142-10/+11
|
* Pass $USE via IPC in order to ensure that we have the correct value forZac Medico2010-08-141-2/+2
| | | | | | built/installed packages, since the config class doesn't currently provide a way to access built/installed $USE that would work in all possible scenarios.
* Add a QueryCommand.settings attribute and use it so that $USEZac Medico2010-08-141-2/+2
| | | | | doesn't have to be passed to the daemon in has_version and best_version calls.
* Implement use dependency defaultsSebastian Luther2010-08-131-0/+2
|
* Don't call exit after pkg_nofetch since that prevents the ebuild-ipcZac Medico2010-08-131-1/+0
| | | | callback from executing.
* Filter PORTAGE_PYTHON in save_ebuild_env().Zac Medico2010-08-131-1/+1
|
* Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portageZac Medico2010-08-135-32/+20
|\
| * Use /usr/bin/python when PORTAGE_PYTHON variable is empty.Arfrever Frehtes Taifersar Arahesis2010-08-145-9/+9
| | | | | | | | It avoids some errors during upgrade from older Portage versions.
| * Ensure that all Python processes use the same version of Python.Arfrever Frehtes Taifersar Arahesis2010-08-145-32/+20
| |
* | Add a SIGUSR1 handler to trigger pdb.set_trace().Zac Medico2010-08-131-0/+6
|/
* Setup EBUILD_MASTER_PID at the bottom, for scripts that sourceZac Medico2010-08-131-0/+4
| | | | ebuild.sh.
* Bug #315615 - Use EbuildIpcDaemon to implement has_version and best_version.Zac Medico2010-08-131-0/+10
| | | | | This provides performance benefits and also avoids permissions issues with FEATURES=userpriv.
* Move EBUILD_MASTER_PID and associated SIGTERM trap into ebuild_main()Zac Medico2010-08-131-4/+5
| | | | | | | since it seems more reliable this way. This helps us avoid having EbuildIpcDaemon need to send a kill signal (and triggering the zombie message too). This is especially important for the die helper which is called by other helpers for EAPI 4.
* Disable the die() stack trace when called by the die helper.Zac Medico2010-08-131-0/+3
|
* Remove message about race conditions in die, solved by EbuildIpcDaemon.Zac Medico2010-08-131-5/+1
|
* Add QA check for libtool libraries in Python site-packages directories.Arfrever Frehtes Taifersar Arahesis2010-08-131-0/+9
|
* Add QA check for static libraries in Python site-packages directories.Arfrever Frehtes Taifersar Arahesis2010-08-131-2/+12
|
* Fix some comments.Arfrever Frehtes Taifersar Arahesis2010-08-133-3/+3
|
* Use EbuildIpcDaemon to replace the functionality ofZac Medico2010-08-133-16/+9
| | | | EBUILD_EXIT_STATUS_FILE.
* Clean up a bit.Zac Medico2010-08-121-6/+3
|
* Make IpcDaemonTestCase demonstrate an EbuildIpcDaemon basedZac Medico2010-08-121-9/+8
| | | | replacement for EBUILD_EXIT_STATUS_FILE.
* Make locks quiet since unintended locking messages displayed onZac Medico2010-08-121-0/+3
| | | | stdout could corrupt the intended output of this program.
* Add some pieces of an IPC framework that will eventually allow ebuildZac Medico2010-08-122-0/+81
| | | | | | | | | | | | | | | processes can to communicate with portage's main python process. Here are a few possible uses: 1) Robust subshell/subprocess die support. This allows the ebuild environment to reliably die without having to rely on signal IPC. 2) Delegation of portageq calls to the main python process, eliminating performance and userpriv permission issues. 3) Reliable ebuild termination in cases when the ebuild has accidentally left orphan processes running in the backgraound (as in bug 278895).
* Fix faulty $? handling in *into functions (from previous commit).Zac Medico2010-08-121-12/+16
|
* Make utilities die on failure in EAPI 4, bug 273651Dror Levin2010-08-1234-60/+172
|
* Make REQUIRED_USE work again. Without paren_reduce this time.Sebastian Luther2010-08-111-1/+1
|
* Make sure we don't allow REQUIRED_USE in EAPIs that don't support itSebastian Luther2010-08-111-5/+0
|
* Use eapi_has_required_use for REQUIRED_USE eapi checksSebastian Luther2010-08-111-2/+3
|
* Use explicit imports, to make pyflakes happy.Zac Medico2010-08-111-1/+2
|
* Introduce portage.eapi. Use it everywhere.Sebastian Luther2010-08-111-5/+6
|
* Make sure portageq doesn't interpret anything that happens to beZac Medico2010-08-101-5/+6
| | | | in globals() (such as imported modules) as a valid command.
* portage.dep.use_reduce: pass is_src_uri when neededSebastian Luther2010-08-101-1/+3
| | | | Remove the now unneded _src_uri_validate.
* portage.dep._dep_check_strict: Unused, removedSebastian Luther2010-08-102-4/+0
|
* portage.dep.use_reduce: Work on depstrings instead of paren_reduce'd dep arraysSebastian Luther2010-08-102-26/+8
| | | | | This change makes paren_reduce and paren_normalize calls for use_reduce redundant, resp. wrong. All consumers inside portage are adopted.
* Don't cache REQUIRED_USE for EAPIs 1-3 which don't support it.Zac Medico2010-08-101-1/+5
|
* Allow flags from IUSE_IMPLICIT in REQUIRED_USE. Move checks to resolution time.Sebastian Luther2010-08-101-1/+3
|
* Add repoman check for REQUIRED_USESebastian Luther2010-08-101-0/+17
|
* Add REQUIRED_USE to metadata keys, caches, etc.Sebastian Luther2010-08-101-9/+16
|
* Detect if python xml support is enabled and bail out with anZac Medico2010-08-081-5/+12
| | | | appropriate when necessary.
* Bug #308835: Support options in shebang and terminate 's' option of sed.Arfrever Frehtes Taifersar Arahesis2010-08-071-2/+2
|
* Make some variables local.Arfrever Frehtes Taifersar Arahesis2010-08-051-3/+12
|
* Bug #301915: Add QA check for byte-compiled Python modules.Arfrever Frehtes Taifersar Arahesis2010-08-051-5/+4
|
* Bug #308835 - Make econf() use sed to substitute $CONFIG_SHELL inZac Medico2010-08-041-0/+5
| | | | the shebang of configure scripts when appropriate.
* Bug #285191 - Add back the RDEPEND.implicit warning to detect the casesZac Medico2010-08-041-1/+1
| | | | | | where DEPEND is set and RDEPEND is unset in the ebuild, since this triggers implicit RDEPEND=$DEPEND assignment (prior to EAPI 4) and is forbidden by the QA team.
* repoman: Check if the prefix.eclass is inherited if eprefixify is used. ↵Sebastian Luther2010-08-041-0/+1
| | | | Thanks to Jeremy Olexa (darkside) for the initial patch.
* Fix NameError for ConfigProtect.Zac Medico2010-08-011-1/+1
|
* Always use shlex_split() to split CONFIG_PROTECT{,_MASK}.Zac Medico2010-07-312-13/+17
|