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

Add support for double-star globs #330

Merged
merged 3 commits into from
Apr 5, 2024
Merged

Add support for double-star globs #330

merged 3 commits into from
Apr 5, 2024

Conversation

benjaminjkraft
Copy link
Collaborator

It's really quite reasonable to want this to work -- you want to say to look for queries in pkg/**/*.graphql, or **/queries/*.graphql, or whatever. Now it does. I picked doublestar because it seemed a reasonable combination of popular and well-documented.

Fixes #167. Hopefully obsoletes #327.

I have:

  • Written a clear PR title and description (above)
  • Signed the Khan Academy CLA
  • Added tests covering my changes, if applicable
  • Included a link to the issue fixed, if applicable
  • Included documentation, for new features
  • Added an entry to the changelog

It's really quite reasonable to want this to work -- you want to say to
look for queries in `pkg/**/*.graphql`, or `**/queries/*.graphql`, or
whatever. Now it does. I picked `doublestar` because it seemed a
reasonable combination of popular and well-documented.
Copy link
Member

@csilvers csilvers left a comment

Choose a reason for hiding this comment

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

This is great!

@benjaminjkraft benjaminjkraft merged commit 3da9a0f into main Apr 5, 2024
8 checks passed
@benjaminjkraft benjaminjkraft deleted the benkraft.globstar branch April 5, 2024 16:39
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.

Globs in file-specs don't understand **
2 participants