summaryrefslogtreecommitdiffstats
path: root/bin/ebuild-ipc.py
Commit message (Collapse)AuthorAgeFilesLines
* Make ebuild-ipc.py call portage._disable_legacy_globals() since itZac Medico2010-09-031-0/+1
| | | | doesn't need any of that stuff.
* Adjust AlarmSignal.unregister() call in ebuild-ipc.Zac Medico2010-09-031-7/+8
|
* Make AlarmSignal.register() require a time parameter and pass it toZac Medico2010-09-031-2/+2
| | | | signal.alarm().
* Add AlarmSignal.register() and unregister() classmethods in order toZac Medico2010-09-031-3/+2
| | | | handle interaction with the signal module.
* Bug #335777 - Add a 40 second timeout in ebuild-ipc.py, so that if anZac Medico2010-09-031-1/+20
| | | | | orphan is left for any reason then it will exit with an error message instead of hanging indefinitely.
* Adjust EbuildIpcDaemon pickle read and write code in order to ensureZac Medico2010-09-021-4/+26
| | | | | atomc reading and writing of whole pickles. This should be the least error-prone approach, given the non-blocking nature of the streams.
* Fix typo in comment.Zac Medico2010-08-201-1/+1
|
* Add a SIGUSR1 handler to trigger pdb.set_trace().Zac Medico2010-08-131-0/+6
|
* 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-121-0/+71
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).