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 glob collector #684

Closed
gisostallenberg opened this issue Sep 1, 2021 · 5 comments · Fixed by #899
Closed

Add glob collector #684

gisostallenberg opened this issue Sep 1, 2021 · 5 comments · Fixed by #899

Comments

@gisostallenberg
Copy link

The directory collector is based on a regex (which also is flagged as case insensitive). I would really like to be able to use a glob pattern (maybe allow the non-php glob pattern dir/**/somethingDeeper).
As I understood it is possible to create custom collectors, but would you be interested in a PR adding a glob collector (and should it allow the double star)?

@gisostallenberg
Copy link
Author

As a suggestion it could use https://packagist.org/packages/webmozart/glob for the ** pattern.

@github-actions
Copy link

This issue has not seen activity in a while and will be closed automatically soon.

@gisostallenberg
Copy link
Author

As I understood it is possible to create custom collectors, but would you be interested in a PR adding a glob collector (and should it allow the double star)?

By the lack of response I understand there is no interest in having this generally available.

@BafS
Copy link

BafS commented May 27, 2022

I agree it would be great to have this, it's especially hand for monorepos where there is the same structure for multiple applications

@gisostallenberg
Copy link
Author

Nice to see this is added 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants