summaryrefslogtreecommitdiffstats
path: root/pym/portage
Commit message (Collapse)AuthorAgeFilesLines
...
* FetchTask: log_failure for distfiles digesterZac Medico2013-01-101-0/+7
|
* FetchIterator: support PORTAGE_CHECKSUM_FILTERZac Medico2013-01-091-0/+13
|
* FetchIterator: use RepoConfig.load_manifest()Zac Medico2013-01-091-3/+5
|
* _fetch_digester_exit: fix NoneType AttributeErrorZac Medico2013-01-091-2/+2
|
* Add emirrordist, a tool for mirroring distfiles.Zac Medico2013-01-0910-0/+1811
| | | | | Special thanks to Brian Harring, author of the mirror-dist program from which emirrordist is derived.
* Manifest: make distdir argument optionalZac Medico2013-01-091-2/+2
|
* ManifestTask: use PipeLogger for monitoringZac Medico2013-01-071-2/+8
|
* Declare regex literal as such.Zac Medico2013-01-071-1/+1
|
* parseManifest2: handle space in name, bug 450736Zac Medico2013-01-071-14/+18
|
* PipeLogger: handle file object for input_fdZac Medico2013-01-072-9/+14
|
* If 2 make.conf files found, then warn.Zac Medico2013-01-071-3/+12
| | | | | This may give a clue to those who unintentionally end up with 2 make.conf files somehow.
* MetadataRegen: simplify _iter_every_cpZac Medico2013-01-061-7/+3
|
* MetadataRegen: call cp_all for each categoryZac Medico2013-01-061-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 parameterZac Medico2013-01-061-2/+3
|
* _keep_scheduling: check _terminated.is_set()Zac Medico2013-01-061-2/+2
| | | | | This ensures that scheduling loops terminate as soon as possible after an interrupt is received.
* ManifestScheduler: fix signal interrupt handlingZac Medico2013-01-061-3/+5
|
* Handle os.write() return code with loop.Zac Medico2013-01-052-7/+7
|
* BinpkgVerifier: use async FileDigesterZac Medico2013-01-051-13/+25
|
* Add async FileDigester class.Zac Medico2013-01-051-0/+73
|
* Add QA_AM_MAINTAINER_MODE for bug #450278.Zac Medico2013-01-041-1/+26
|
* SchedulerInterface: use loop for proxied attrsZac Medico2013-01-041-16/+9
|
* test_paren_reduce: disable deprecation warningZac Medico2013-01-032-6/+9
|
* Enable FD_CLOEXEC for lock fd.Zac Medico2013-01-031-1/+10
|
* Enable FD_CLOEXEC for non-blocking pipes.Zac Medico2013-01-033-5/+31
|
* EventLoop: enable FD_CLOEXEC on epoll fdZac Medico2013-01-031-0/+11
|
* portage._internal_caller: use global_event_loopZac Medico2013-01-033-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 Medico2013-01-031-1/+6
|
* spawn: add close_fds parameterZac Medico2013-01-031-5/+9
|
* runTests: portage._internal_caller = TrueZac Medico2013-01-031-0/+1
|
* Add portage._internal_caller var, and use it.Zac Medico2013-01-033-10/+10
|
* portdbapi: use global_event_loop when safeZac Medico2013-01-031-1/+12
|
* test_echangelog: sync year with UpdateChangeLogZac Medico2012-12-311-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 possibleZac Medico2012-12-301-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 Medico2012-12-302-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 Medico2012-12-281-0/+41
|
* Use 'with file' more.Zac Medico2012-12-283-21/+16
| | | | This helps to minimize ResourceWarning triggered by ^C with python3.
* _MergeProcess: tweak merge-sync library lookupZac Medico2012-12-281-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 #448858Zac Medico2012-12-281-6/+4
|
* PipeReaderBlockingIO handle threading ImportErrorZac Medico2012-12-272-1/+6
|
* EventLoop.iteration(): avoid busy waitingZac Medico2012-12-271-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 Medico2012-12-273-3/+162
|
* merge-sync: handle PyPy syncfs fail, bug #446610Zac Medico2012-12-261-9/+14
|
* EventLoop: thread-safe idle_add and timeout_addZac Medico2012-12-261-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 paramZac Medico2012-12-241-4/+5
|
* binarytree: tweak deprecated constructor paramZac Medico2012-12-241-5/+5
|
* porttree.py: tweak deprecated constructor paramsZac Medico2012-12-241-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 Arahesis2012-12-231-2/+2
|
* config: clarify that default target_root is /Zac Medico2012-12-191-1/+2
|
* Rename a private module in preparation for extending its functionality.Arfrever Frehtes Taifersar Arahesis2012-12-191-0/+0
|
* Handle closed sys.__stdin__, for multiprocessingZac Medico2012-12-155-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.