Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | FetchTask: log_failure for distfiles digester | Zac Medico | 2013-01-10 | 1 | -0/+7 | |
| | ||||||
* | FetchIterator: support PORTAGE_CHECKSUM_FILTER | Zac Medico | 2013-01-09 | 1 | -0/+13 | |
| | ||||||
* | FetchIterator: use RepoConfig.load_manifest() | Zac Medico | 2013-01-09 | 1 | -3/+5 | |
| | ||||||
* | _fetch_digester_exit: fix NoneType AttributeError | Zac Medico | 2013-01-09 | 1 | -2/+2 | |
| | ||||||
* | Add emirrordist, a tool for mirroring distfiles. | Zac Medico | 2013-01-09 | 10 | -0/+1811 | |
| | | | | | Special thanks to Brian Harring, author of the mirror-dist program from which emirrordist is derived. | |||||
* | Manifest: make distdir argument optional | Zac Medico | 2013-01-09 | 1 | -2/+2 | |
| | ||||||
* | ManifestTask: use PipeLogger for monitoring | Zac Medico | 2013-01-07 | 1 | -2/+8 | |
| | ||||||
* | Declare regex literal as such. | Zac Medico | 2013-01-07 | 1 | -1/+1 | |
| | ||||||
* | parseManifest2: handle space in name, bug 450736 | Zac Medico | 2013-01-07 | 1 | -14/+18 | |
| | ||||||
* | PipeLogger: handle file object for input_fd | Zac Medico | 2013-01-07 | 2 | -9/+14 | |
| | ||||||
* | If 2 make.conf files found, then warn. | Zac Medico | 2013-01-07 | 1 | -3/+12 | |
| | | | | | This may give a clue to those who unintentionally end up with 2 make.conf files somehow. | |||||
* | MetadataRegen: simplify _iter_every_cp | Zac Medico | 2013-01-06 | 1 | -7/+3 | |
| | ||||||
* | MetadataRegen: call cp_all for each category | Zac Medico | 2013-01-06 | 1 | -7/+10 | |
| | | | | | List categories individually, in order to start yielding quicker, and in order to reduce latency in case of a signal interrupt. | |||||
* | portdbapi.cp_all(): add reverse sort parameter | Zac Medico | 2013-01-06 | 1 | -2/+3 | |
| | ||||||
* | _keep_scheduling: check _terminated.is_set() | Zac Medico | 2013-01-06 | 1 | -2/+2 | |
| | | | | | This ensures that scheduling loops terminate as soon as possible after an interrupt is received. | |||||
* | ManifestScheduler: fix signal interrupt handling | Zac Medico | 2013-01-06 | 1 | -3/+5 | |
| | ||||||
* | Handle os.write() return code with loop. | Zac Medico | 2013-01-05 | 2 | -7/+7 | |
| | ||||||
* | BinpkgVerifier: use async FileDigester | Zac Medico | 2013-01-05 | 1 | -13/+25 | |
| | ||||||
* | Add async FileDigester class. | Zac Medico | 2013-01-05 | 1 | -0/+73 | |
| | ||||||
* | Add QA_AM_MAINTAINER_MODE for bug #450278. | Zac Medico | 2013-01-04 | 1 | -1/+26 | |
| | ||||||
* | SchedulerInterface: use loop for proxied attrs | Zac Medico | 2013-01-04 | 1 | -16/+9 | |
| | ||||||
* | test_paren_reduce: disable deprecation warning | Zac Medico | 2013-01-03 | 2 | -6/+9 | |
| | ||||||
* | Enable FD_CLOEXEC for lock fd. | Zac Medico | 2013-01-03 | 1 | -1/+10 | |
| | ||||||
* | Enable FD_CLOEXEC for non-blocking pipes. | Zac Medico | 2013-01-03 | 3 | -5/+31 | |
| | ||||||
* | EventLoop: enable FD_CLOEXEC on epoll fd | Zac Medico | 2013-01-03 | 1 | -0/+11 | |
| | ||||||
* | portage._internal_caller: use global_event_loop | Zac Medico | 2013-01-03 | 3 | -13/+28 | |
| | | | | | It's more efficient to use global_event_loop than a local EventLoop instance, so do that when we know it's safe. | |||||
* | _doebuild_spawn: disable close_fds for "depend" | Zac Medico | 2013-01-03 | 1 | -1/+6 | |
| | ||||||
* | spawn: add close_fds parameter | Zac Medico | 2013-01-03 | 1 | -5/+9 | |
| | ||||||
* | runTests: portage._internal_caller = True | Zac Medico | 2013-01-03 | 1 | -0/+1 | |
| | ||||||
* | Add portage._internal_caller var, and use it. | Zac Medico | 2013-01-03 | 3 | -10/+10 | |
| | ||||||
* | portdbapi: use global_event_loop when safe | Zac Medico | 2013-01-03 | 1 | -1/+12 | |
| | ||||||
* | test_echangelog: sync year with UpdateChangeLog | Zac Medico | 2012-12-31 | 1 | -5/+1 | |
| | | | | | The code has to be in sync in order to prevent erroneous test failures triggered by new year's day timezone differences. | |||||
* | EventLoop.iteration: no IO blocking if possible | Zac Medico | 2012-12-30 | 1 | -4/+18 | |
| | | | | | | | | Avoid blocking for IO if there are any timeout or idle callback events available to process. This will prevent starvation of the idle callbacks, which are much more common since commit a3100be184ba1cac2f672f0a1cadcf01690c6d3f. We don't want these idle callbacks to be delayed by long periods of IO blocking. | |||||
* | Use ctypes in subprocess for bug #448858. | Zac Medico | 2012-12-30 | 2 | -33/+67 | |
| | | | | | | Isolate ctypes usage in a subprocess, in order to avoid potential problems with stale cached libraries as described in bug #448858, comment #14 (also see http://bugs.python.org/issue14597). | |||||
* | Add run_main_scheduler helper function. | Zac Medico | 2012-12-28 | 1 | -0/+41 | |
| | ||||||
* | Use 'with file' more. | Zac Medico | 2012-12-28 | 3 | -21/+16 | |
| | | | | This helps to minimize ResourceWarning triggered by ^C with python3. | |||||
* | _MergeProcess: tweak merge-sync library lookup | Zac Medico | 2012-12-28 | 1 | -2/+5 | |
| | | | | | | The library handle is no longer cached, since commit 9e37cca4f54260bd8c45a3041fcee00938c71649, so skip the LoadLibrary call and just call find_library instead. | |||||
* | _ctypes: don't cache library, bug #448858 | Zac Medico | 2012-12-28 | 1 | -6/+4 | |
| | ||||||
* | PipeReaderBlockingIO handle threading ImportError | Zac Medico | 2012-12-27 | 2 | -1/+6 | |
| | ||||||
* | EventLoop.iteration(): avoid busy waiting | Zac Medico | 2012-12-27 | 1 | -14/+40 | |
| | | | | | | | | | | | | | | | | | | | In order to avoid blocking forever when may_block is True (the default), callers must be careful to ensure that at least one of the following conditions is met: 1) An event source or timeout is registered which is guaranteed to trigger at least on event (a call to an idle function only counts as an event if it returns a False value which causes it to be stop being called) 2) Another thread is guaranteed to call one of the thread-safe methods which notify iteration to stop waiting (such as idle_add or timeout_add). These rules ensure that iteration is able to block until an event arrives, without doing any busy waiting that would waste CPU time. This will fix busy waiting which would be triggered by PopenPipeBlockingIOTestCase when waiting for the thread from PipeReaderBlockingIO to call idle_add. | |||||
* | Add PipeReaderBlockingIO, Jython experimentation. | Zac Medico | 2012-12-27 | 3 | -3/+162 | |
| | ||||||
* | merge-sync: handle PyPy syncfs fail, bug #446610 | Zac Medico | 2012-12-26 | 1 | -9/+14 | |
| | ||||||
* | EventLoop: thread-safe idle_add and timeout_add | Zac Medico | 2012-12-26 | 1 | -68/+97 | |
| | | | | | | This may be useful for using threads to handle blocking IO with Jython, since Jython lacks the fcntl module which is needed for non-blocking IO (see http://bugs.jython.org/issue1074). | |||||
* | vardbapi: tweak deprecated constructor param | Zac Medico | 2012-12-24 | 1 | -4/+5 | |
| | ||||||
* | binarytree: tweak deprecated constructor param | Zac Medico | 2012-12-24 | 1 | -5/+5 | |
| | ||||||
* | porttree.py: tweak deprecated constructor params | Zac Medico | 2012-12-24 | 1 | -4/+5 | |
| | | | | | | Trigger a DeprecationWarning even when None is passed in for one of the deprecated parameters, ensuring that any potentially unsafe usage triggers the warning. | |||||
* | Support subslots in command line arguments. | Arfrever Frehtes Taifersar Arahesis | 2012-12-23 | 1 | -2/+2 | |
| | ||||||
* | config: clarify that default target_root is / | Zac Medico | 2012-12-19 | 1 | -1/+2 | |
| | ||||||
* | Rename a private module in preparation for extending its functionality. | Arfrever Frehtes Taifersar Arahesis | 2012-12-19 | 1 | -0/+0 | |
| | ||||||
* | Handle closed sys.__stdin__, for multiprocessing | Zac Medico | 2012-12-15 | 5 | -5/+16 | |
| | | | | | | | Buggy code in python's multiprocessing/process.py closes sys.stdin and reassigns it to open(os.devnull), but fails to update the corresponding __stdin__ reference. So, detect that case and handle it appropriately. The buggy code is visible in http://hg.python.org/lookup/r73708. |