-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
log: WIP/postmortem improving command termination heuristic
At this stage, with the current emerge.log format, I'm afraid there's no reliable way to find when an emerge command ends. There are just too many triping hazards, between missing termination logs, interspersed emerge commands, and resetting merge counters. Fix one case and break the others. Maybe if portage logged the emerge pids, but it might be hard to convince upstream nd I'd still need a fallback for old logs. It might be interesting to look at pqlop code to see how it detects failed merges. I suspect it's also a fragile heuristic, even though the problem is much simpler for (un)merge events. I'm not comfortable releasing a feature based on complex shaky heuristics, so I'm abandoning this branch. But I'll start a new one that only looks at CmdStart events, there are still interesting features to build around that.
- Loading branch information
1 parent
0e1b97e
commit def6d42
Showing
1 changed file
with
62 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters