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

#1332: Implement auto use of cycle-point format in a remote suite. #2134

Merged
merged 3 commits into from
Feb 8, 2017

Conversation

arjclark
Copy link
Contributor

Closes #1332

@arjclark arjclark added this to the next release milestone Jan 30, 2017
Copy link
Contributor

@matthewrmshin matthewrmshin left a comment

Choose a reason for hiding this comment

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

Minor comments. OK otherwise.

@@ -76,6 +76,15 @@ def display_maps(self, res):
for row in res:
sys.stdout.write((", ").join(row).encode("utf-8") + "\n")

def get_remote_point_format(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

Should add doc string.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

suite_run_ok $TEST_NAME cylc run --debug $SUITE_NAME
#-------------------------------------------------------------------------------
TEST_NAME=$TEST_NAME_BASE-cli-template
run_ok $TEST_NAME cylc suite-state $SUITE_NAME -p 20100101T0000Z \
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe worth adding a test for STDOUT?

@arjclark
Copy link
Contributor Author

@matthewrmshin - comments addressed

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 spurious print statement detected.

@@ -1430,6 +1430,11 @@ def put_rundb_suite_params(self, initial_point, final_point):
{"key": "initial_point", "value": str(initial_point)},
{"key": "final_point", "value": str(final_point)},
])
if format:
print "during format thing"
Copy link
Member

Choose a reason for hiding this comment

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

A stray bit of debug code? 😁

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well spotted, fixed now.

@arjclark
Copy link
Contributor Author

arjclark commented Feb 8, 2017

@hjoliver - spurious print removed 😁

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.

@arjclark - thanks, this one will be helpful for our operations.

@hjoliver hjoliver merged commit b498a94 into cylc:master Feb 8, 2017
@arjclark arjclark deleted the 1332.use_same_format branch February 10, 2017 12:59
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.

3 participants