Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | AsynchronousTask: exit listeners reverse order | Zac Medico | 2012-02-09 | 1 | -1/+5 | |
| | | | | | | This should fix a Scheduler hang which is triggered when that merge queue, a SequentialTaskQueue, doesn't decrement its merge count until after other exit listeners have already run. | |||||
* | QueueScheduler: fix for IpcDaemonTestCase | Zac Medico | 2012-02-09 | 1 | -1/+3 | |
| | | | | | Use a StopIteration exception to jump out of EventLoop.iterate() before the poll loop. | |||||
* | EventLoop: fix inverted may_block logic | Zac Medico | 2012-02-08 | 1 | -2/+2 | |
| | | | | This caused emerge to consume 100% cpu. | |||||
* | Move EventLoop to a separate file. | Zac Medico | 2012-02-08 | 3 | -366/+375 | |
| | ||||||
* | Use AbstractPollTask._wait_loop() more. | Zac Medico | 2012-02-08 | 3 | -13/+4 | |
| | ||||||
* | MergeProcess: handle POLLHUP from elog pipe | Zac Medico | 2012-02-08 | 1 | -0/+7 | |
| | ||||||
* | PollScheduler: remove _poll_loop | Zac Medico | 2012-02-08 | 3 | -33/+13 | |
| | | | | | We can use iteration() instead, and _poll_loop's exit behavior doesn't seem practical to emulate with glib.MainLoop. | |||||
* | test_poll: use TaskScheduler | Zac Medico | 2012-02-08 | 1 | -7/+7 | |
| | ||||||
* | PollScheduler: remove EventLoop._schedule hook | Zac Medico | 2012-02-08 | 1 | -12/+5 | |
| | | | | | PollScheduler and subclasses be should already be calling self._schedule() when necessary. | |||||
* | Scheduler: tweak _add_prefetchers | Zac Medico | 2012-02-08 | 1 | -8/+6 | |
| | | | | | Since commit 4620d6aba1c5c10344e311585516ee43819b703c, the first prefetcher is started as soon as it's added to the task queue. | |||||
* | SequentialTaskQueue: use finally for _scheduling | Zac Medico | 2012-02-08 | 1 | -33/+13 | |
| | | | | Also, remove unecessary _dirty flag. | |||||
* | IpcDaemonTestCase: init start_time earlier | Zac Medico | 2012-02-08 | 1 | -2/+2 | |
| | | | | | | Since commit 4620d6aba1c5c10344e311585516ee43819b703c, the SequentialTaskQueue.add() method starts the task immediately, so initialize start_time before that happens. | |||||
* | SequentialTaskQueue: schedule automatically | Zac Medico | 2012-02-08 | 2 | -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_schedule | Zac Medico | 2012-02-08 | 1 | -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 glib | Zac Medico | 2012-02-08 | 2 | -23/+23 | |
| | ||||||
* | PollScheduler: don't inherit EventLoop | Zac Medico | 2012-02-08 | 5 | -29/+31 | |
| | ||||||
* | PollScheduler: split out EventLoop base class | Zac Medico | 2012-02-08 | 1 | -106/+116 | |
| | ||||||
* | repoman: make SRC_URI.mirror fatal | Zac Medico | 2012-02-08 | 1 | -1/+0 | |
| | | | | Thanks to Christian Ruppert <idl0r@gentoo.org> for the suggestion. | |||||
* | repoman: normalize thirdpartymirrors trailing / | Zac Medico | 2012-02-08 | 1 | -1/+4 | |
| | ||||||
* | AbstractPollTask: use timeout_add | Zac Medico | 2012-02-07 | 1 | -14/+11 | |
| | ||||||
* | QueueScheduler: tweak timeout handling | Zac Medico | 2012-02-07 | 1 | -13/+14 | |
| | ||||||
* | PollScheduler: remove _schedule_wait | Zac Medico | 2012-02-07 | 2 | -48/+2 | |
| | ||||||
* | QueueScheduler: use timeout_add | Zac Medico | 2012-02-07 | 1 | -34/+17 | |
| | ||||||
* | AbstractPollTask: add _wait_loop method | Zac Medico | 2012-02-07 | 2 | -6/+25 | |
| | ||||||
* | Use PollScheduler iteration method. | Zac Medico | 2012-02-07 | 5 | -17/+17 | |
| | ||||||
* | PollScheduler: add iteration method | Zac Medico | 2012-02-07 | 2 | -12/+27 | |
| | ||||||
* | Scheduler: use idle_add, not _poll override | Zac Medico | 2012-02-07 | 1 | -2/+4 | |
| | ||||||
* | PollScheduler: implement idle_add | Zac Medico | 2012-02-07 | 1 | -1/+45 | |
| | ||||||
* | PollScheduler: glib.io_add_watch() compatibility | Zac Medico | 2012-02-07 | 8 | -16/+53 | |
| | ||||||
* | PollScheduler: timeouts regardless of IO events | Zac Medico | 2012-02-07 | 3 | -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 Medico | 2012-02-07 | 2 | -9/+34 | |
| | ||||||
* | AsynchronousTask: merge _waiting from subclass | Zac Medico | 2012-02-07 | 2 | -7/+10 | |
| | ||||||
* | PollScheduler: add timeout_add like glib's | Zac Medico | 2012-02-07 | 2 | -8/+89 | |
| | | | | | This will be useful as a substitute for recursion, in order to avoid hitting the recursion limit for bug #402335. | |||||
* | spawn: assert that fork returns int type | Zac Medico | 2012-02-06 | 1 | -1/+4 | |
| | ||||||
* | Remove portage.const._ENABLE_XATTR.v2.2.0_alpha85 | Zac Medico | 2012-02-04 | 2 | -8/+2 | |
| | ||||||
* | repoman: support git commit --gpg-sign | Zac Medico | 2012-02-04 | 4 | -3/+21 | |
| | | | | | | | In order to sign commits with git, you will need Git >=1.7.9 and your key will have to be configured by `git config user.signingkey key_id`. Also, the repository will need to have "sign-commits = true" in metadata/layout.conf. This will fix bug #333687. | |||||
* | Honor repos.conf for overlay priority, bug 402099 | Daniel Hornung | 2012-02-03 | 1 | -2/+2 | |
| | | | | Signed-off-by: Zac Medico <zmedico@gentoo.org> | |||||
* | install_qa_check: handle info dir rm failure | Zac Medico | 2012-02-01 | 1 | -1/+1 | |
| | | | | This will fix bug #400679. | |||||
* | LinkageMapELF: handle null bytes in NEEDED.ELF.2 | Zac Medico | 2012-01-31 | 1 | -0/+7 | |
| | | | | | This avoids an error from os.stat: TypeError: must be encoded string without NULL bytes, not str | |||||
* | Use consistent indentation in output of `emerge -p --columns ${package}` | Arfrever Frehtes Taifersar Arahesis | 2012-01-28 | 1 | -2/+2 | |
| | | | | regardless of ROOT. | |||||
* | Delete needless parentheses. | Arfrever Frehtes Taifersar Arahesis | 2012-01-28 | 1 | -5/+5 | |
| | ||||||
* | Don't print ::${repository} for main repository in output of | Arfrever Frehtes Taifersar Arahesis | 2012-01-28 | 4 | -31/+42 | |
| | | | | | `emerge -pv ${package}` by default. Add --verbose-main-repo-display option, which enables printing ::${repository} for main repository. | |||||
* | Apply INSTALL_MASK prior to reading the tree | Brian Harring | 2012-01-27 | 1 | -9/+9 | |
| | | | | | | | | If this isn't done, collision-protect uses the old cached filelist, leading to it complaining about things that INSTALL_MASK sorted already. BUGS=chromium-os:25060 TEST=emerge sudo && emerge chromeos-base | |||||
* | phase-helpers.sh: set -x when emulating yes | Zac Medico | 2012-01-24 | 1 | -1/+1 | |
| | | | | This avoids displaying a bunch of garbage in debug mode. | |||||
* | Fix display of installed version for packages, which have multiple slots | Arfrever Frehtes Taifersar Arahesis | 2012-01-23 | 1 | -2/+3 | |
| | | | | installed. Follow-up to commit 8118be36842a2db2eb72538e21a3b343773b3365. | |||||
* | Make the second part of_emerge.resolver.output.Display.verbose_size() | Arfrever Frehtes Taifersar Arahesis | 2012-01-22 | 1 | -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 Arahesis | 2012-01-22 | 1 | -1/+3 | |
| | | | | | when ${old_version} is the same as ${new_version}, but ${old_repository} is different than ${new_repository}. | |||||
* | ecompress: don't rename dir symlink, bug #399595 | Zac Medico | 2012-01-21 | 1 | -0/+4 | |
| | ||||||
* | document --quiet-repo-display | Zac Medico | 2012-01-20 | 1 | -0/+4 | |
| | ||||||
* | Print ::${repository} in output of `emerge -pv ${package}` by default. | Arfrever Frehtes Taifersar Arahesis | 2012-01-21 | 3 | -18/+46 | |
| | | | | Add --quiet-repo-display option, which enables previous, more quiet output. |