-
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
Remove useless text editor config. #4993
Conversation
(Not a blocker for 8.0 obviously, but it removes some crud and should be a trivial review-and-merge) |
Valid advice providing you
That's long bugged me. |
Tests all passing now. One review will do. |
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.
- Mostly happy
- Played with locally
Asking for addition of obsoletion messages so that anyone with an older config gets a useful message.
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.
Happy with that.
Perhaps another day we could implement an additional upgrader method, something like quiet
, which works the same as obsolete, but only logs at debug?
67efdff
to
c8d4bb3
Compare
(Spurious test failure - artifact upload timed out) |
(not worried about the changelog) |
This is a small change with no associated Issue:
The primary reasons for having a configurable editor in Cylc were the
cylc trigger --edit
andcylc edit
commands, neither of which exist any more. (Although the config reference docs still say it is to configure "your favourite editor for editing workflow definitions").The only remaining use of the configured editor is:
cylc cat-log --mode=edit
cylc view
(which weirdly defaults to edit instead of stdout)These are essentially pointless - if you want to view output in your editor, direct the stdout to a file first, or to your editor's stdin.
NB: the config change proposal notes that we agreed in the workshop to keep the editor config but discourage its use. Maybe we had not decided the fate of
cylc edit
at that point though.Requirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
andconda-environment.yml
.