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

Remove interactive prompt support #3774

Merged
merged 2 commits into from
Aug 17, 2020

Conversation

MetRonnie
Copy link
Member

@MetRonnie MetRonnie commented Aug 13, 2020

These changes close #3693

Requirements check-list

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Does not need tests (barely used feature being removed).
  • Appropriate change log entry included.
  • No documentation update required.
  • No dependency changes.

@MetRonnie MetRonnie added this to the cylc-8.0a3 milestone Aug 13, 2020
@MetRonnie
Copy link
Member Author

Should this be on 8.0a3 or 8.0.0 milestone?

@MetRonnie MetRonnie self-assigned this Aug 13, 2020
@kinow
Copy link
Member

kinow commented Aug 13, 2020

It looks like the functional tests are still running 👀 probably fixed by #3775 .

@kinow
Copy link
Member

kinow commented Aug 13, 2020

Should this be on 8.0a3 or 8.0.0 milestone?

As you already have the code ready, and it is not a change with high risk, I think we can leave it in 8.0a3.

Copy link
Member

@kinow kinow left a comment

Choose a reason for hiding this comment

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

Code looks good.

Tested master first (never had used that interactive mode):

(venv) kinow@ranma:~/Development/python/workspace/cylc-flow$ cylc poll five --verbose 
2020-08-14T12:53:50+12:00 DEBUG - Loading site/user config files
2020-08-14T12:53:50+12:00 DEBUG - Reading file /home/kinow/.cylc/flow/8.0a3.dev/flow.rc
Poll ALL tasks in five (y/n)? n

Then this branch.

(venv) kinow@ranma:~/Development/python/workspace/cylc-flow$ cylc poll five --verbose 
2020-08-14T12:54:11+12:00 DEBUG - Loading site/user config files
2020-08-14T12:54:11+12:00 DEBUG - Reading file /home/kinow/.cylc/flow/8.0a3.dev/flow.rc
2020-08-14T12:54:11+12:00 WARNING - deprecated items were automatically upgraded in 'user config':
2020-08-14T12:54:11+12:00 WARNING -  * (8.0.0) [disable interactive command prompts] - DELETED (OBSOLETE)
2020-08-14T12:54:11+12:00 DEBUG - zmq:send {'command': 'poll_tasks', 'args': {'tasks': (), 'poll_succeeded': False}, 'meta': {'prog': 'cylc-poll', 'host':
	'ranma'}}
2020-08-14T12:54:11+12:00 DEBUG - zmq:recv {'data': [True, 'Command queued'], 'user': 'kinow'}

Searched code for "interactive" and "force", and found no other occurrences related to this change I think. And also found nothing in cylc-docs. 👍 +1

@hjoliver
Copy link
Member

(Restarted the tests)

@hjoliver
Copy link
Member

hjoliver commented Aug 14, 2020

The functional tests are weirdly hanging here 🤔

@MetRonnie MetRonnie force-pushed the remove-interactive-prompt branch 3 times, most recently from f691118 to 6564b25 Compare August 14, 2020 11:49
@MetRonnie
Copy link
Member Author

MetRonnie commented Aug 14, 2020

Note: -f in cylc cat-log is different.

Update: So is cylc scan!

@MetRonnie MetRonnie force-pushed the remove-interactive-prompt branch from 6564b25 to da7b96a Compare August 14, 2020 14:13
@MetRonnie MetRonnie force-pushed the remove-interactive-prompt branch from da7b96a to fc0daa3 Compare August 14, 2020 14:50
@MetRonnie
Copy link
Member Author

Finally managed to fix the tests!

@oliver-sanders oliver-sanders merged commit 3e295c3 into cylc:master Aug 17, 2020
@MetRonnie MetRonnie deleted the remove-interactive-prompt branch August 17, 2020 09:28
@hjoliver hjoliver modified the milestones: cylc-8.0a3, cylc-8.0b0 Feb 25, 2021
@MetRonnie MetRonnie removed the small label Apr 27, 2021
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.

cli: remove interactive prompt support:
4 participants