Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _setup_pipes: close unnecessary duplicate fds | Zac Medico | 2013-01-17 | 1 | -9/+46 |
| | |||||
* | Use 'with file' more. | Zac Medico | 2013-01-17 | 1 | -61/+46 |
| | | | | This helps to minimize ResourceWarning triggered by ^C with python3. | ||||
* | emerge --info: show free ram/swap, bug #451048 | Zac Medico | 2013-01-16 | 1 | -0/+80 |
| | |||||
* | doebuild: tweak handling of _unused param | Zac Medico | 2013-01-15 | 1 | -4/+4 |
| | |||||
* | EbuildMetadataPhase: use dynamic pipe fd | Zac Medico | 2013-01-15 | 1 | -37/+7 |
| | | | | Also, remove deprecated code from doebuild (with hardcoded pipe fd). | ||||
* | SpawnProcess: improve dummy pipe allocation logic | Zac Medico | 2013-01-15 | 2 | -2/+17 |
| | | | | | | | By using allocated file descriptors for keys in fd_pipes, we naturally avoid interference with callers such as FileDigester and MergeProcess. See the _setup_pipes docstring for more benefits of this allocation approach. | ||||
* | Warn if old make.globals found, bug #452176v2.2.0_alpha153 | Zac Medico | 2013-01-15 | 1 | -2/+16 |
| | |||||
* | Warn if 2 make.profile dirs found, bug #452176 | Zac Medico | 2013-01-15 | 1 | -3/+15 |
| | |||||
* | selinux: python3 unicode paths, bug #430488 | Arfrever Frehtes Taifersar Arahesis | 2013-01-14 | 2 | -27/+30 |
| | |||||
* | DoebuildSpawnTestCase: also call spawn_nofetch | Zac Medico | 2013-01-10 | 1 | -12/+27 |
| | |||||
* | spawn_nofetch: import portage, bug #451344 | Zac Medico | 2013-01-10 | 1 | -0/+1 |
| | |||||
* | Revert "_ctypes: don't cache library, bug #448858"v2.2.0_alpha150 | Zac Medico | 2013-01-10 | 1 | -4/+6 |
| | | | | | | | | This reverts commit 9e37cca4f54260bd8c45a3041fcee00938c71649. As noted in bug #448858, comment #14, dlclose is not called automatically, so we may as well cache our library handles. In order to protect ourselves, we use a fork since commit 7ebb2f54877edb28621c33e380f8777b1b1dc201. | ||||
* | Use EventLoop, no SchedulerInterface if possible. | Zac Medico | 2013-01-10 | 1 | -2/+2 |
| | |||||
* | emerge/test_simple.py: override PATH more | Zac Medico | 2013-01-10 | 2 | -3/+9 |
| | | | | | Override things that may be unavailable, or may have portability issues when running tests in exotic environments. | ||||
* | _emirrordist/main.py: remove extra Config import | Zac Medico | 2013-01-10 | 1 | -1/+0 |
| | |||||
* | FetchTask: use umask for copied files | Zac Medico | 2013-01-10 | 1 | -12/+2 |
| | |||||
* | FetchTask: avoid possible duplicate URI | Zac Medico | 2013-01-10 | 1 | -2/+4 |
| | |||||
* | FetchTask: randomize thirdpartymirrors | Zac Medico | 2013-01-10 | 1 | -1/+7 |
| | |||||
* | 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. |