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

fix(minimatch): enable extglobs for e-mail domain whitelists #1192

Merged
merged 2 commits into from
Feb 15, 2021

Conversation

LoneRifle
Copy link
Contributor

Problem

Minimatch is currently used in Go.gov.sg with extglobs disabled, which prevents us from
expressing a valid glob expression in terms of specific e-mail domains

Part of work for #777

Solution

To facilitate matching of specific domains in e-mail addresses, we have
to configure minimatch to accept extglobs, so that we can match against
a selection of specific domains, eg: *@+(open|schools).gov.sg

Take the opportunity to also enable builds to the new edu-focused environments

To facilitate matching of specific domains in e-mail addresses, we have
to configure minimatch to accept extglobs, so that we can match against
a selection of specific domains, eg: *@+(open|schools).gov.sg
@LoneRifle LoneRifle requested a review from yong-jie February 15, 2021 04:15
@LoneRifle LoneRifle merged commit 87f32af into develop Feb 15, 2021
@LoneRifle LoneRifle deleted the fix/minimatch/extglob branch February 15, 2021 04:30
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.

2 participants