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

scan/gscan: consistent default behaviour #2666

Merged
merged 2 commits into from May 16, 2018

Conversation

matthewrmshin
Copy link
Contributor

By default, scan only running suites of current user by looking at
~/cylc-run/*/.service/contact of current user.

Address the bug label of #2663.

@matthewrmshin matthewrmshin added this to the next release milestone May 16, 2018
@matthewrmshin matthewrmshin self-assigned this May 16, 2018
cres = {'owner': None, 'name': None}
for label, items in [('owner', patterns_owner), ('name', patterns_name)]:
if items:
cres[label] = r'\A(?:' + r')|(?:'.join(items) + r')\Z'
Copy link
Member

Choose a reason for hiding this comment

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

I think this is probably the right way to go but It's worth noting this is a change in behaviour, partial patterns used to match.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added an entry to CHANGES.md and modified the cylc scan syntax on cylc run daemonize.

By default, scan only running suites of current user by looking at
`~/cylc-run/*/.service/contact` of current user.
Note that `cylc scan --name=PATTERN` will require a pattern to match
full names of suites.
@matthewrmshin
Copy link
Contributor Author

Branch re-based.

@hjoliver hjoliver merged commit d7e4185 into cylc:master May 16, 2018
@matthewrmshin matthewrmshin deleted the fix-scan-default branch May 16, 2018 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants