-
Notifications
You must be signed in to change notification settings - Fork 94
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
play: print the logo to the user's terminal only #6170
Conversation
if ( | ||
cylc.flow.flags.verbosity > -1 | ||
and (options.no_detach or options.format == 'plain') | ||
# don't print the startup message on reinvocation (note |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you happy to skip the Logo if I set --localhost
manually? I'm fine with it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is a caveat of the hacky approach, however, it avoids the need for another CLI argument and there is very little use case for specifying localhost.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's remarkably similar to what I tried, but I didn't hit on using --host=localhost
as the test for having been re-invoked.
Have tried it manually.
IMO - tick the testing box with a note explaining that you can't test this automatically. Either tick the changes log and add a change log, or tick it and explain why not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and working, but should be against 8.3.x
?
(rebased) |
Fixes #6166.
We don't have reinvokation tests in CI ATM, so manual testing please. The logo should appear once and only once, in the user's terminal and no where else.
@wxtim, please review and assign (2) when happy.
Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
(andconda-environment.yml
if present).CHANGES.md
entry included if this is a change that can affect users?.?.x
branch.