Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add a wrapper around config.features that provides the following | Zac Medico | 2010-08-21 | 2 | -11/+3 | |
| | | | | | | | | | | | | | | | | enhancements: * The FEATURES variable is automatically synchronized upon modification. * Modifications result in a permanent override that will cause the change to propagate to the incremental stacking mechanism in config.regenerate(). This eliminates the need to call config.backup_changes() when FEATURES is modified, since any overrides are guaranteed to persist despite calls to config.reset(). This allows cleanup of all code that overrides FEATURES, and also allows config.regenerate() to stack FEATURES such that special cases are not needed for package.env handling inside config.setcpv(). | |||||
* | At some point we may want to stop exporting FEATURES to the ebuild | Zac Medico | 2010-08-20 | 1 | -1/+1 | |
| | | | | | | | environment, in order to prevent ebuilds from abusing it. In preparation for that, export it as PORTAGE_FEATURES so that bashrc users will be able to migrate any FEATURES conditional code to use this alternative variable. | |||||
* | Fix typo in comment. | Zac Medico | 2010-08-20 | 1 | -1/+1 | |
| | ||||||
* | Update docs, comments, and messages to refer to make.globals in | Zac Medico | 2010-08-19 | 1 | -3/+2 | |
| | | | | /usr/share/portage/config/ instead of /etc/make.globals. | |||||
* | * In helpers_die arguments, display ${0##*/} instead of $0 since $0 | Zac Medico | 2010-08-18 | 32 | -78/+78 | |
| | | | | | | is needlessly long. * When calling helpers_die from a function, use ${FUNCNAME[0]} in arguments instead of $0. | |||||
* | Bug #324075 - If the vcs doesn't preserve mtimes then disable the | Zac Medico | 2010-08-18 | 1 | -3/+7 | |
| | | | | | copyright date check unless the ebuild has just been added or modified. | |||||
* | * Replace config._iuse_implicit_re with a callable _iuse_implicit_match | Zac Medico | 2010-08-18 | 1 | -3/+2 | |
| | | | | | | | object that simply returns boolean, and update consumers. * Make check_required_use() take a callable for the iuse parameter, and pass in Package.use.is_valid_flag or iuse.__contains__ as appropriate. | |||||
* | Temporarily disable portage.dep deprecation warnings for external api | Zac Medico | 2010-08-17 | 2 | -0/+2 | |
| | | | | | consumers. Once the relevant api changes are in a portage release with stable keywords, make these warnings unconditional. | |||||
* | Source isolated-functions.sh for helpers_die function. | Zac Medico | 2010-08-17 | 1 | -1/+3 | |
| | ||||||
* | For ebuilds from $ROOT/var/db/pkg, don't give /var/db/pkg with the | Zac Medico | 2010-08-16 | 1 | -1/+4 | |
| | | | | "Appending /var/db/pkg to PORTDIR_OVERLAY..." treatment. | |||||
* | Fix broken reference to 'myprovide' variable. | Zac Medico | 2010-08-16 | 1 | -1/+1 | |
| | ||||||
* | Pass token_class=portage.dep.Atom when parsing PROVIDE. | Zac Medico | 2010-08-16 | 1 | -1/+2 | |
| | ||||||
* | Pass token_class parameter if possible to use_reduce | Sebastian Luther | 2010-08-16 | 1 | -79/+73 | |
| | ||||||
* | When displaying portage.auxdbkeys, sort and filter unused. | Zac Medico | 2010-08-16 | 1 | -1/+2 | |
| | ||||||
* | Add ability for portageq help to print valid metadata keys. | Alec Warner | 2010-08-16 | 1 | -8/+11 | |
| | ||||||
* | DoebuildSpawnTestCase: Invoke portage.package.ebuild.doebuild.spawn() | Zac Medico | 2010-08-15 | 1 | -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 Medico | 2010-08-14 | 1 | -6/+3 | |
| | ||||||
* | Disable EbuildIpcDaemon for now, since it seems to be triggering | Zac Medico | 2010-08-14 | 3 | -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_reduce | Sebastian Luther | 2010-08-14 | 2 | -10/+11 | |
| | ||||||
* | Pass $USE via IPC in order to ensure that we have the correct value for | Zac Medico | 2010-08-14 | 1 | -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 $USE | Zac Medico | 2010-08-14 | 1 | -2/+2 | |
| | | | | | doesn't have to be passed to the daemon in has_version and best_version calls. | |||||
* | Implement use dependency defaults | Sebastian Luther | 2010-08-13 | 1 | -0/+2 | |
| | ||||||
* | Don't call exit after pkg_nofetch since that prevents the ebuild-ipc | Zac Medico | 2010-08-13 | 1 | -1/+0 | |
| | | | | callback from executing. | |||||
* | Filter PORTAGE_PYTHON in save_ebuild_env(). | Zac Medico | 2010-08-13 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage | Zac Medico | 2010-08-13 | 5 | -32/+20 | |
|\ | ||||||
| * | Use /usr/bin/python when PORTAGE_PYTHON variable is empty. | Arfrever Frehtes Taifersar Arahesis | 2010-08-14 | 5 | -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 Arahesis | 2010-08-14 | 5 | -32/+20 | |
| | | ||||||
* | | Add a SIGUSR1 handler to trigger pdb.set_trace(). | Zac Medico | 2010-08-13 | 1 | -0/+6 | |
|/ | ||||||
* | Setup EBUILD_MASTER_PID at the bottom, for scripts that source | Zac Medico | 2010-08-13 | 1 | -0/+4 | |
| | | | | ebuild.sh. | |||||
* | Bug #315615 - Use EbuildIpcDaemon to implement has_version and best_version. | Zac Medico | 2010-08-13 | 1 | -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 Medico | 2010-08-13 | 1 | -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 Medico | 2010-08-13 | 1 | -0/+3 | |
| | ||||||
* | Remove message about race conditions in die, solved by EbuildIpcDaemon. | Zac Medico | 2010-08-13 | 1 | -5/+1 | |
| | ||||||
* | Add QA check for libtool libraries in Python site-packages directories. | Arfrever Frehtes Taifersar Arahesis | 2010-08-13 | 1 | -0/+9 | |
| | ||||||
* | Add QA check for static libraries in Python site-packages directories. | Arfrever Frehtes Taifersar Arahesis | 2010-08-13 | 1 | -2/+12 | |
| | ||||||
* | Fix some comments. | Arfrever Frehtes Taifersar Arahesis | 2010-08-13 | 3 | -3/+3 | |
| | ||||||
* | Use EbuildIpcDaemon to replace the functionality of | Zac Medico | 2010-08-13 | 3 | -16/+9 | |
| | | | | EBUILD_EXIT_STATUS_FILE. | |||||
* | Clean up a bit. | Zac Medico | 2010-08-12 | 1 | -6/+3 | |
| | ||||||
* | Make IpcDaemonTestCase demonstrate an EbuildIpcDaemon based | Zac Medico | 2010-08-12 | 1 | -9/+8 | |
| | | | | replacement for EBUILD_EXIT_STATUS_FILE. | |||||
* | Make locks quiet since unintended locking messages displayed on | Zac Medico | 2010-08-12 | 1 | -0/+3 | |
| | | | | stdout could corrupt the intended output of this program. | |||||
* | Add some pieces of an IPC framework that will eventually allow ebuild | Zac Medico | 2010-08-12 | 2 | -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 Medico | 2010-08-12 | 1 | -12/+16 | |
| | ||||||
* | Make utilities die on failure in EAPI 4, bug 273651 | Dror Levin | 2010-08-12 | 34 | -60/+172 | |
| | ||||||
* | Make REQUIRED_USE work again. Without paren_reduce this time. | Sebastian Luther | 2010-08-11 | 1 | -1/+1 | |
| | ||||||
* | Make sure we don't allow REQUIRED_USE in EAPIs that don't support it | Sebastian Luther | 2010-08-11 | 1 | -5/+0 | |
| | ||||||
* | Use eapi_has_required_use for REQUIRED_USE eapi checks | Sebastian Luther | 2010-08-11 | 1 | -2/+3 | |
| | ||||||
* | Use explicit imports, to make pyflakes happy. | Zac Medico | 2010-08-11 | 1 | -1/+2 | |
| | ||||||
* | Introduce portage.eapi. Use it everywhere. | Sebastian Luther | 2010-08-11 | 1 | -5/+6 | |
| | ||||||
* | Make sure portageq doesn't interpret anything that happens to be | Zac Medico | 2010-08-10 | 1 | -5/+6 | |
| | | | | in globals() (such as imported modules) as a valid command. | |||||
* | portage.dep.use_reduce: pass is_src_uri when needed | Sebastian Luther | 2010-08-10 | 1 | -1/+3 | |
| | | | | Remove the now unneded _src_uri_validate. |