Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Display slots and subslots in output of `emerge -pv ${package}`. | Arfrever Frehtes Taifersar Arahesis | 2012-10-15 | 2 | -22/+65 | |
| | ||||||
* | MergeListItem: don't color "binary" | Zac Medico | 2012-10-14 | 1 | -1/+1 | |
| | ||||||
* | emerge: lazy imports, optimize --help | Zac Medico | 2012-10-14 | 3 | -36/+33 | |
| | ||||||
* | chk_updated_info_files: move to separate file | Zac Medico | 2012-10-14 | 2 | -132/+143 | |
| | ||||||
* | display_preserved_libs: move to separate file | Zac Medico | 2012-10-14 | 2 | -89/+95 | |
| | ||||||
* | emerge: handle KeyboardInterrupt, not SIGINT | Zac Medico | 2012-10-14 | 1 | -2/+1 | |
| | | | | | | | | We handle KeyboardInterrupt instead of installing a SIGINT handler, since exiting from signal handlers intermittently causes python to ignore the SystemExit exception with a message like this: Exception SystemExit: 130 in <function remove at 0x7fd2146c1320> ignored | |||||
* | Invert order of arguments in Display._set_non_root_columns() and | Arfrever Frehtes Taifersar Arahesis | 2012-10-14 | 1 | -6/+6 | |
| | | | | Display._set_root_columns() for consistency with Display._set_no_columns(). | |||||
* | Display.set_pkg_info(): Set cp and ver attributes. | Arfrever Frehtes Taifersar Arahesis | 2012-10-14 | 1 | -3/+2 | |
| | ||||||
* | match_from_list: rm redundant catpkgsplit(mycpv) | Zac Medico | 2012-10-14 | 1 | -3/+2 | |
| | ||||||
* | simplify Display.convert_myoldbest(). | Zac Medico | 2012-10-13 | 1 | -2/+2 | |
| | ||||||
* | Simplify Display.get_ver_str(). | Zac Medico | 2012-10-13 | 1 | -6/+4 | |
| | ||||||
* | Bug #434970: Disable some warnings during `emerge --sync`. | Arfrever Frehtes Taifersar Arahesis | 2012-10-14 | 5 | -6/+13 | |
| | ||||||
* | EAPI="5-progress": Add master_repositories(), repository_path(), | Arfrever Frehtes Taifersar Arahesis | 2012-10-14 | 3 | -30/+70 | |
| | | | | available_eclasses(), eclass_path() and license_path() functions. | |||||
* | MergeListItem: color binary display, bug #438254 | Zac Medico | 2012-10-13 | 2 | -5/+10 | |
| | ||||||
* | PollScheduler: fix _schedule() to return Truev2.2.0_alpha137 | Zac Medico | 2012-10-10 | 1 | -2/+4 | |
| | | | | | | This fixes a regression like bug #403895, introduced in commit b696337bf20fdc539ce7721df7a4b42b35999705, since functions have to return True in order to be continuously scheduled. | |||||
* | Atom: support *_beta* wildcard, bug #437872 | Zac Medico | 2012-10-10 | 3 | -4/+12 | |
| | ||||||
* | _parse_uri_map: preserve order of URIs | Zac Medico | 2012-10-08 | 1 | -3/+8 | |
| | | | | Returns a dict of tuples instead of a dict of sets. | |||||
* | fetch: preserve SRC_URI order for primaryuriv2.2.0_alpha136 | Zac Medico | 2012-10-08 | 1 | -1/+4 | |
| | ||||||
* | PollScheduler: disable default _loadavg_latency | Zac Medico | 2012-10-08 | 3 | -3/+10 | |
| | | | | | | Move the 30 second default to the Scheduler class, since that's the only place that it's currently needed (all other schedulers have relatively short-running jobs). | |||||
* | emerge: handle --load-average with no arg | Zac Medico | 2012-10-08 | 1 | -0/+14 | |
| | | | | | With no argument, removes a previous load limit (same behavior as make). | |||||
* | Revert "test_ipc_daemon: handle fork/finally race" | Zac Medico | 2012-10-08 | 1 | -9/+0 | |
| | | | | | This reverts commit 56fbe3fe63adf4e7c5b47400182cd857d145d5b0. The race is now handled internally by spawn and ForkProcess. | |||||
* | ForkProcess: set _exit finally block before fork | Zac Medico | 2012-10-08 | 2 | -102/+126 | |
| | | | | This is the most reliable way to handle the race condition. | |||||
* | spawn: setup _exit finally block before fork | Zac Medico | 2012-10-08 | 1 | -17/+26 | |
| | | | | This is the most reliable way to handle the race condition. | |||||
* | test_ipc_daemon: handle fork/finally race | Zac Medico | 2012-10-08 | 1 | -0/+9 | |
| | ||||||
* | spawn: use finally block for failure os._exit() | Zac Medico | 2012-10-08 | 1 | -2/+5 | |
| | | | | Also, use writemsg for unicode safety. | |||||
* | repoman: check EXTRA_ECONF/EMAKE, bug #437348 | Zac Medico | 2012-10-08 | 1 | -1/+14 | |
| | ||||||
* | repoman: simplify EbuildAssignment check | Zac Medico | 2012-10-08 | 1 | -9/+1 | |
| | | | | | | | The line continuation code is no longer needed since commit a1578c654f26cab07309bc9cbddd3c95c0c205b5, because wrapped lines are automatically joined before they are passed to the check. Also, inherit ignore_comment = True from LineCheck. | |||||
* | ForkProcess: increase scope of try/finally/_exit | Zac Medico | 2012-10-08 | 1 | -9/+11 | |
| | | | | | This minimizes the probability of triggering irrelevant finally blocks from earlier in the call stack (bug #345289). | |||||
* | PollScheduler: rename sched_iface to _sched_iface | Zac Medico | 2012-10-07 | 4 | -20/+18 | |
| | | | | | | It isn't used externally anymore, since SchedulerInterface is used directly in those places now. Many of the self.sched_iface references updated here, it's more appropriate to use self._event_loop. | |||||
* | Show slot + repo for colliding packages. | Zac Medico | 2012-10-07 | 1 | -3/+15 | |
| | | | | See bug #437516 for example. | |||||
* | Substitute SchedulerInterface for PollScheduler. | Zac Medico | 2012-10-07 | 5 | -18/+24 | |
| | | | | | | SchedulerInterface suffices for all of these cases. EventLoop(main=False) is used for thread safety where API consumers may be using threads. | |||||
* | PollScheduler: split out SchedulerInterface | Zac Medico | 2012-10-07 | 3 | -78/+100 | |
| | ||||||
* | action_uninstall: use PollScheduler not Scheduler | Zac Medico | 2012-10-07 | 2 | -19/+16 | |
| | | | | | The PollScheduler class suffices here, if we just add a small amount of logic to calculate the _background attribute from the emerge opts. | |||||
* | best_version() and has_version(): Improve die() messages. | Arfrever Frehtes Taifersar Arahesis | 2012-10-07 | 1 | -2/+2 | |
| | | | | | | - Print different die() message for invalid atoms. - Mention ebuild-ipc instead of portageq in other die() messages when ebuild-ipc is actually used. | |||||
* | PollScheduler: move _main_loop to Scheduler | Zac Medico | 2012-10-06 | 2 | -30/+30 | |
| | ||||||
* | MetadataRegen: inherit AsyncScheduler | Zac Medico | 2012-10-06 | 2 | -51/+20 | |
| | ||||||
* | ManifestScheduler: tweak _task_exit output order | Zac Medico | 2012-10-06 | 1 | -1/+3 | |
| | | | | This ensures that errors are logged before new jobs are scheduled. | |||||
* | Substitute EventLoop for PollScheduler. | Zac Medico | 2012-10-05 | 7 | -25/+20 | |
| | | | | | EventLoop suffices for all of these cases. EventLoop(main=False) is used for thread safety where API consumers may be using threads. | |||||
* | PollScheduler: remove register/unregister methods | Zac Medico | 2012-10-05 | 10 | -24/+21 | |
| | | | | | | | These methods were aliases for the EventLoop io_add_watch and source_remove methods. Migrating to the EventLoop method names allows an EventLoop instance to substitute for a PollScheduler inside subclasses of AbstractPollTask. | |||||
* | PollScheduler: remove self._jobs | Zac Medico | 2012-10-05 | 3 | -4/+8 | |
| | | | | This is variable is only needed by the Scheduler class. | |||||
* | AsyncScheduler: remove useless __slots__ | Zac Medico | 2012-10-05 | 2 | -6/+0 | |
| | | | | | | It's not allowed for AsyncScheduler to inherit from two classes that define __slots__, so it useless to define __slots__ for AsyncScheduler and subclasses. | |||||
* | TaskScheduler: inherit AsyncScheduler | Zac Medico | 2012-10-05 | 6 | -162/+68 | |
| | | | | This allows the QueueScheduler class to be eliminated. | |||||
* | test_ipc_daemon: implement internal SleepProcess | Zac Medico | 2012-10-04 | 1 | -3/+12 | |
| | | | | | Emulate the sleep command, in order to ensure a consistent return code when it is killed by SIGTERM (see bug #437180). | |||||
* | ManifestScheduler: handle InvalidDependString | Zac Medico | 2012-10-03 | 1 | -3/+12 | |
| | ||||||
* | ManifestTask: add missing signatures | Zac Medico | 2012-10-03 | 1 | -2/+20 | |
| | | | | | If the existing Manifest already has the correct content, but it is not signed, then sign it if appropriate. | |||||
* | AsyncScheduler: poll in _schedule_tasks | Zac Medico | 2012-10-03 | 1 | -0/+3 | |
| | | | | Triggers cleanup and exit listeners if there's nothing left to do. | |||||
* | AsyncScheduler: implement _poll | Zac Medico | 2012-10-03 | 1 | -0/+5 | |
| | ||||||
* | AsyncScheduler: use _termination_check | Zac Medico | 2012-10-03 | 1 | -1/+1 | |
| | | | | | The _terminate_tasks method is always supposed to be called via _termination_check. | |||||
* | AsyncScheduler: source_remove in _wait | Zac Medico | 2012-10-03 | 1 | -0/+8 | |
| | ||||||
* | EbuildFetcher/MergeProcess: inherit ForkProcess | Zac Medico | 2012-10-03 | 3 | -45/+16 | |
| | | | | | Also add missing __slots__ to ForkProcess. TODO: Share code between ForkProcess and MergeProcess. |