summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
...
* Use AbstractPollTask._wait_loop() more.Zac Medico2012-02-083-13/+4
|
* PollScheduler: remove _poll_loopZac Medico2012-02-083-33/+13
| | | | | We can use iteration() instead, and _poll_loop's exit behavior doesn't seem practical to emulate with glib.MainLoop.
* PollScheduler: remove EventLoop._schedule hookZac Medico2012-02-081-12/+5
| | | | | PollScheduler and subclasses be should already be calling self._schedule() when necessary.
* Scheduler: tweak _add_prefetchersZac Medico2012-02-081-8/+6
| | | | | Since commit 4620d6aba1c5c10344e311585516ee43819b703c, the first prefetcher is started as soon as it's added to the task queue.
* SequentialTaskQueue: use finally for _schedulingZac Medico2012-02-081-33/+13
| | | | Also, remove unecessary _dirty flag.
* SequentialTaskQueue: schedule automaticallyZac Medico2012-02-082-8/+11
| | | | | | | This is needed to compensate for the removal of _idle_schedule in commit 8c1fcf5a9ba9fa4d406a4d0cc284fe73a84f5a63, so that the Scheduler's task queues operate without needing their schedule methods called inside Scheduler._schedule_tasks().
* Scheduler: remove _idle_scheduleZac Medico2012-02-081-5/+0
| | | | | This shouldn't be needed, since _schedule() should already be called automatically when there are any relevant state changes.
* EventLoop: use same method names as glibZac Medico2012-02-082-23/+23
|
* PollScheduler: don't inherit EventLoopZac Medico2012-02-084-28/+30
|
* PollScheduler: split out EventLoop base classZac Medico2012-02-081-106/+116
|
* AbstractPollTask: use timeout_addZac Medico2012-02-071-14/+11
|
* QueueScheduler: tweak timeout handlingZac Medico2012-02-071-13/+14
|
* PollScheduler: remove _schedule_waitZac Medico2012-02-072-48/+2
|
* QueueScheduler: use timeout_addZac Medico2012-02-071-34/+17
|
* AbstractPollTask: add _wait_loop methodZac Medico2012-02-072-6/+25
|
* Use PollScheduler iteration method.Zac Medico2012-02-075-17/+17
|
* PollScheduler: add iteration methodZac Medico2012-02-072-12/+27
|
* Scheduler: use idle_add, not _poll overrideZac Medico2012-02-071-2/+4
|
* PollScheduler: implement idle_addZac Medico2012-02-071-1/+45
|
* PollScheduler: glib.io_add_watch() compatibilityZac Medico2012-02-077-16/+51
|
* PollScheduler: timeouts regardless of IO eventsZac Medico2012-02-073-56/+59
| | | | | | Now PollScheduler will execute timeouts predictably, even when there no IO events being generated. This allows the Scheduler's display updates to be handled via timeout_add.
* Use timeout_add to avoid recursion, bug #402335.Zac Medico2012-02-072-9/+34
|
* AsynchronousTask: merge _waiting from subclassZac Medico2012-02-072-7/+10
|
* PollScheduler: add timeout_add like glib'sZac Medico2012-02-072-8/+89
| | | | | This will be useful as a substitute for recursion, in order to avoid hitting the recursion limit for bug #402335.
* Use consistent indentation in output of `emerge -p --columns ${package}`Arfrever Frehtes Taifersar Arahesis2012-01-281-2/+2
| | | | regardless of ROOT.
* Delete needless parentheses.Arfrever Frehtes Taifersar Arahesis2012-01-281-5/+5
|
* Don't print ::${repository} for main repository in output ofArfrever Frehtes Taifersar Arahesis2012-01-283-31/+39
| | | | | `emerge -pv ${package}` by default. Add --verbose-main-repo-display option, which enables printing ::${repository} for main repository.
* Fix display of installed version for packages, which have multiple slotsArfrever Frehtes Taifersar Arahesis2012-01-231-2/+3
| | | | installed. Follow-up to commit 8118be36842a2db2eb72538e21a3b343773b3365.
* Make the second part of_emerge.resolver.output.Display.verbose_size()Arfrever Frehtes Taifersar Arahesis2012-01-221-26/+24
| | | | | conditional on self.quiet_repo_display instead of earlier returning if self.quiet_repo_display is False. No functional changes.
* Print [${old_version}::${old_repository}] in output of `emerge -pv ${package}`Arfrever Frehtes Taifersar Arahesis2012-01-221-1/+3
| | | | | when ${old_version} is the same as ${new_version}, but ${old_repository} is different than ${new_repository}.
* Print ::${repository} in output of `emerge -pv ${package}` by default.Arfrever Frehtes Taifersar Arahesis2012-01-213-18/+46
| | | | Add --quiet-repo-display option, which enables previous, more quiet output.
* Fix --changed-use interaction with bug 297549.Zac Medico2012-01-201-8/+16
| | | | | | | | The automatic --binpkg-respect-use code (from bug #297549) was inappropriately overriding --changed-use and triggering behavior like --newuse, as reported here: http://archives.gentoo.org/gentoo-dev/msg_6070ab87737d7e16a5cec2a72c9111fd.xml
* create_world_atom: multi-repo portdbapi aux_getZac Medico2012-01-151-4/+31
| | | | | This handles a KeyError raised from portdbapi.aux_get() when one of the repositories has a corrupt ebuild.
* add support for compressing debug sections to save spaceMike Frysinger2012-01-141-2/+4
| | | | | | | | | | | Since binutils/gdb can compress the .debug* sections with zlib into .zdebug*, we should be able to save quite a bit of space -- on my system, I saw /usr/lib/debug/ go from ~20GB to ~7.5GB. This requires binutils/gdb to be built with USE=zlib which is why this defaults to off. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Apply INSTALL_MASK prior to collision-protect.Zac Medico2012-01-141-2/+8
| | | | It may be useful to avoid collisions in some scenarios.
* depgraph: account for unevaluated_atom in cacheZac Medico2012-01-121-1/+1
|
* depgraph: unevaluated parent atom in debug outputZac Medico2012-01-121-2/+5
|
* Add --human-readable to rsync opts for bug 269410Zac Medico2012-01-121-0/+1
|
* FakeVartree: implement self.dbapi._aux_cache_keysZac Medico2011-12-241-0/+1
| | | | This will fix bug #395879.
* AbstractPollTask: note PipeReaderArrayTestCasev2.2.0_alpha82Zac Medico2011-12-231-2/+2
|
* depgraph.py: remove unused variablesZac Medico2011-12-231-3/+1
|
* search.py: use _aux_cache_keys moreZac Medico2011-12-211-1/+1
| | | | | This helps to avoid triggering the environment.bz2 extraction in vardbapi.aux_get().
* Display EROOT when ROOT != "/".Zac Medico2011-12-197-15/+16
| | | | | | | Since commit a715b65f7bd36409c1283e6911265d1f4405ab7a, the Package.root and RootConfig.root attributes refer to EROOT instead of ROOT. Therefore, adjust display code so that EROOT is only displayed when ROOT != "/".
* _run_pkg_pretend: doebuild_environment for cleanZac Medico2011-12-181-0/+14
|
* Fix some warnings found by pylint.Arfrever Frehtes Taifersar Arahesis2011-12-1810-63/+25
|
* _show_unsatisfied_dep: avoid invalid, bug #394995Zac Medico2011-12-171-3/+11
|
* test_poll: fix array testZac Medico2011-12-162-2/+76
| | | | | Since SpawnProcess no longer uses array, add conditional array support to PipeReader and use that for tests.
* PipeReader: use AbstractPollTask._read_buf()Zac Medico2011-12-161-26/+10
|
* SpawnProcess/AbstractPollTask: eliminate arrayZac Medico2011-12-162-25/+8
| | | | | Since commit 30d2d0a9db486c5a70848ad5d27b37a3ec48f271, we use os.read() due to bugs in array.fromfile(). So, eliminate array usage entirely.
* SpawnProcess: remove obsolete fdopenZac Medico2011-12-161-4/+2
| | | | | Since commit 30d2d0a9db486c5a70848ad5d27b37a3ec48f271, we use os.read() due to bugs in array.fromfile(), so there's no need to use fdopen.