Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Define basestring for python3. | Zac Medico | 2010-08-13 | 1 | -0/+4 |
| | |||||
* | Implement use dependency defaults | Sebastian Luther | 2010-08-13 | 11 | -152/+543 |
| | |||||
* | 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 | 9 | -33/+44 |
|\ | |||||
| * | 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. | ||||
| * | Set PORTAGE_PYTHON in processes executed by portage.process._exec(). | Arfrever Frehtes Taifersar Arahesis | 2010-08-14 | 1 | -1/+4 |
| | | |||||
| * | portage.os is apparently imported, so os doesn't need to be imported. | Arfrever Frehtes Taifersar Arahesis | 2010-08-14 | 1 | -1/+0 |
| | | |||||
| * | Add a script, which simplifies testing with multiple versions of Python. | Arfrever Frehtes Taifersar Arahesis | 2010-08-14 | 1 | -0/+17 |
| | | |||||
| * | Ensure that all Python processes use the same version of Python. | Arfrever Frehtes Taifersar Arahesis | 2010-08-14 | 7 | -32/+24 |
| | | |||||
* | | 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. | ||||
* | Handle KeyError due to stale events. | Zac Medico | 2010-08-13 | 1 | -6/+14 |
| | |||||
* | Set o-r on ipc fifos since the are sensitive to reading. | Zac Medico | 2010-08-13 | 1 | -1/+1 |
| | |||||
* | Bug #315615 - Use EbuildIpcDaemon to implement has_version and best_version. | Zac Medico | 2010-08-13 | 5 | -2/+74 |
| | | | | | This provides performance benefits and also avoids permissions issues with FEATURES=userpriv. | ||||
* | Rename SubProcess._zombie() to _orphan_process_warn() and clarify | Zac Medico | 2010-08-13 | 2 | -6/+6 |
| | | | | the eerror message. | ||||
* | 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 |
| | |||||
* | Write eerror messages to the log file, and only to stdout when | Zac Medico | 2010-08-13 | 1 | -5/+30 |
| | | | | appropriate. | ||||
* | Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage | Zac Medico | 2010-08-13 | 5 | -5/+25 |
|\ | |||||
| * | 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 |
| | | |||||
| * | Remove files generated by testCompileModules. | Arfrever Frehtes Taifersar Arahesis | 2010-08-13 | 1 | -0/+1 |
| | | |||||
| * | Fix some comments. | Arfrever Frehtes Taifersar Arahesis | 2010-08-13 | 3 | -3/+3 |
| | | |||||
* | | Bug #278895 - After EbuildIpcDaemon identifies an ebuild process that | Zac Medico | 2010-08-13 | 2 | -1/+28 |
|/ | | | | | has left an orphan child process running in the background, generate an eerror message about a 'zombie' process and note the pid. | ||||
* | Use EbuildIpcDaemon to replace the functionality of | Zac Medico | 2010-08-13 | 11 | -117/+156 |
| | | | | EBUILD_EXIT_STATUS_FILE. | ||||
* | Use SpawnProcess instead of doebuild.spawn(). | Zac Medico | 2010-08-13 | 1 | -17/+14 |
| | |||||
* | * Fix IndexError in PollScheduler._next_poll_event() by raising | Zac Medico | 2010-08-13 | 1 | -2/+11 |
| | | | | | | StopIteration instead. * Add an optional timeout parameter to PollScheduler._schedule_wait() (this will be used in a later commit). | ||||
* | Call pickle.load() directly on the input pipe, and handle exceptions. | Zac Medico | 2010-08-12 | 1 | -7/+4 |
| | |||||
* | Refactor interaction between EbuildIpcDaemon and ExitCommand. | Zac Medico | 2010-08-12 | 2 | -9/+27 |
| | |||||
* | Clean up a bit. | Zac Medico | 2010-08-12 | 1 | -6/+3 |
| | |||||
* | Make IpcDaemonTestCase demonstrate an EbuildIpcDaemon based | Zac Medico | 2010-08-12 | 3 | -30/+60 |
| | | | | replacement for EBUILD_EXIT_STATUS_FILE. | ||||
* | Split out an EbuildIpcDaemon class from FifoIpcDaemon. | Zac Medico | 2010-08-12 | 3 | -44/+55 |
| | |||||
* | Fix inverted logic in eapi_supports_prefix() call, which causes a | Zac Medico | 2010-08-12 | 1 | -1/+1 |
| | | | | | regression such that ED, EPREFIX, and EROOT where not set in EAPI 3 ebuild environments (just for portage-9999 users). | ||||
* | 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. | ||||
* | Don't use unicode wrapper for mkfifo since it only allows string | Zac Medico | 2010-08-12 | 1 | -0/+1 |
| | | | | arguments in python3. | ||||
* | Add some pieces of an IPC framework that will eventually allow ebuild | Zac Medico | 2010-08-12 | 4 | -0/+229 |
| | | | | | | | | | | | | | | | 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). | ||||
* | Tests: ResolverPlayground: more debug stuff | Sebastian Luther | 2010-08-12 | 1 | -1/+6 |
| | |||||
* | Avoid unnecessary sys.hexversion conditional. | Zac Medico | 2010-08-12 | 1 | -5/+2 |
| | |||||
* | Factor EBUILD_EXIT_STATUS_FILE code out of AbstractEbuildProcess | Zac Medico | 2010-08-12 | 5 | -30/+17 |
| | | | | subclasses and into AbstractEbuildProcess itself. | ||||
* | Tests: ResolverPlayground: add debug option to not supress depgraph output | Sebastian Luther | 2010-08-12 | 1 | -2/+4 |
| | | | | Useful for debugging test cases. | ||||
* | Tests: ResolverPlayground: create world file | Sebastian Luther | 2010-08-12 | 1 | -1/+14 |
| | |||||
* | Consolidate EBUILD_EXIT_STATUS_FILE handling in doebuild.spawn() | Zac Medico | 2010-08-12 | 3 | -44/+20 |
| | | | | and subclasses of AbstractEbuildProcess. | ||||
* | Fix lazyimport() to handle partially imported modules by creating | Zac Medico | 2010-08-12 | 1 | -1/+5 |
| | | | | proxies, instead of raising ImportError. | ||||
* | autounmask: Print use flag that trigger a given dep in comments | Sebastian Luther | 2010-08-12 | 1 | -2/+33 |
| | |||||
* | Tests: more resolver/test_autounmask tests | Sebastian Luther | 2010-08-12 | 1 | -0/+19 |
| | |||||
* | portage.dep.extract_affecting_use: Don't raise if atom is not in dep string | Sebastian Luther | 2010-08-12 | 2 | -10/+4 |
| | |||||
* | Tests: Fix typo bug ResolverPlayground | Sebastian Luther | 2010-08-12 | 1 | -2/+2 |
| | |||||
* | Add portage.dep.extract_affecting_use() | Sebastian Luther | 2010-08-12 | 2 | -0/+173 |
| |