Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move status line generator global state from Console to Scheduler #2385

Merged
merged 4 commits into from
Jul 23, 2019

Conversation

bobot
Copy link
Collaborator

@bobot bobot commented Jul 8, 2019

For #2374 it seems easier to keep the status line generator out of the global console so that the line for the scheduler and for file tree are separated and not mixed.

@bobot bobot requested a review from a user July 8, 2019 18:59
@bobot bobot requested review from emillon and rgrinberg as code owners July 8, 2019 18:59
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. The code is more straightforward this way :)

I'm wondering if we shouldn't include the job count in the message directly, i.e. stop making console aware of it.

@bobot bobot force-pushed the bobot/simplify_console_handling branch from 5606d47 to 1bd4055 Compare July 9, 2019 10:40
Signed-off-by: François Bobot <francois.bobot@cea.fr>
@bobot bobot force-pushed the bobot/simplify_console_handling branch from 1bd4055 to b56ca78 Compare July 9, 2019 10:43
@bobot
Copy link
Collaborator Author

bobot commented Jul 9, 2019

I was also wondering the same thing, so the simplification is done. Is it a problem to change an API in stddune?

bobot added 2 commits July 9, 2019 12:45
Signed-off-by: François Bobot <francois.bobot@cea.fr>
Otherwise hiding then printing user message would show back the old status line

Signed-off-by: François Bobot <francois.bobot@cea.fr>
@bobot bobot force-pushed the bobot/simplify_console_handling branch from b56ca78 to cde9860 Compare July 9, 2019 10:46
@ghost
Copy link

ghost commented Jul 9, 2019

Cool :) Changing stdune is fine. We are the only user of it so we can do whatever we want with it.

@rgrinberg
Copy link
Member

@bobot ping. I believe you can merge this.

@bobot bobot merged commit 823c740 into master Jul 23, 2019
@rgrinberg rgrinberg deleted the bobot/simplify_console_handling branch July 24, 2019 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants