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

rose suite-clean: improve parent directory clean #2031

Merged

Conversation

matthewrmshin
Copy link
Member

For suite under sub-directory hierarchy, clean all the way to the root
where possible.

@matthewrmshin matthewrmshin added this to the next-release milestone Dec 22, 2016
@matthewrmshin matthewrmshin self-assigned this Dec 22, 2016
Copy link
Member

@oliver-sanders oliver-sanders 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, tested as working. One comment:

I tested this by doing something like

$ rose suite-run -C foo/bar --name foo/bar
$ rose suite-run -C foo/baz --name foo/baz
$ sleep 60
$ rose suite-clean --name foo/bar
$ rose suite-clean --name foo/baz

rose suite-clean left behind the empty directory cylc-run/foo.

For suite under sub-directory hierarchy, clean all the way to the root
where possible.
@matthewrmshin matthewrmshin force-pushed the rose-suite-clean-hierarchy-parent branch from cb85ceb to d0023d0 Compare December 28, 2016 12:38
@matthewrmshin
Copy link
Member Author

rose suite-clean left behind the empty directory cylc-run/foo.

@oliver-sanders It doesn't in my environment, so we'll need to figure out why it does so in your environment. (The new test should also pick up on this if it does.)

Copy link
Member

@oliver-sanders oliver-sanders left a comment

Choose a reason for hiding this comment

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

After re-running my test against 7.0.0 and master I can see no problems (d0023d0).

Copy link
Contributor

@arjclark arjclark 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 to me.

@arjclark arjclark merged commit 8d2a8ad into metomi:master Jan 12, 2017
@matthewrmshin matthewrmshin deleted the rose-suite-clean-hierarchy-parent branch January 12, 2017 15:34
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.

None yet

3 participants