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

Fix check-versions and other tests #2539

Merged
merged 2 commits into from
Jan 18, 2018

Conversation

matthewrmshin
Copy link
Contributor

@matthewrmshin matthewrmshin commented Jan 12, 2018

Update to use cylc.task_remote_mgr instead of cylc.host_select.
Ensure we have the correct package to make documentation.
Use git describe --always to prevent it from failing.

Fix test broken by #2468. Fix tests due to recent change to Travis CI? (Package for LaTex and behaviour of git describe.)

@matthewrmshin matthewrmshin added the bug Something is wrong :( label Jan 12, 2018
@matthewrmshin matthewrmshin added this to the next release milestone Jan 12, 2018
@matthewrmshin matthewrmshin self-assigned this Jan 12, 2018
@matthewrmshin matthewrmshin force-pushed the fix-check-versions branch 11 times, most recently from 86ba3e6 to c561404 Compare January 15, 2018 11:54
Update to use `cylc.task_remote_mgr` instead of `cylc.host_select`.
Use `git describe --always` to ensure it does not fail.
@matthewrmshin matthewrmshin changed the title Fix check-versions Fix check-versions and other tests Jan 15, 2018
@matthewrmshin
Copy link
Contributor Author

This should be good enough to fix the current Travis CI breakages.

Copy link
Member

@hjoliver hjoliver left a comment

Choose a reason for hiding this comment

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

one minor problem, otherwise all good

user = config.get_config(['runtime', name, 'remote', 'owner'])
account_set.add((
config.get_config(['runtime', name, 'remote', 'owner']),
config.get_config(['runtime', name, 'remote', 'host'])))
Copy link
Member

Choose a reason for hiding this comment

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

lines 72 and 73 not used

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Lines removed.

Copy link
Collaborator

@sadielbartholomew sadielbartholomew 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! Approving, though I have observed that sleep(1) would be sufficient for line 88 of 'bin/cylc-check-versions' and also the change at lines 63-64 of this same file seems unnecessary as SuiteSrvFilesManager() is only invoked one further time on line 76 so assignment to a variable of similar length has no benefit as far as I can tell.

@hjoliver hjoliver merged commit baab788 into cylc:master Jan 18, 2018
@matthewrmshin matthewrmshin deleted the fix-check-versions branch January 19, 2018 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is wrong :(
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants