Skip to content

Conversation

@martinemde
Copy link
Contributor

@martinemde martinemde commented Apr 30, 2025

pks supports a config key named enforcement_globs_ignore which prevents violations from being reported when they otherwise would be. Since this library uses packwerk to generate violations, it doesn't have that feature. This is an attempt to patch this feature into danger-packwerk.

@martinemde martinemde force-pushed the martinemde/enforcement_globs_ignore branch from 16bf42d to 945a78d Compare April 30, 2025 22:43
@martinemde
Copy link
Contributor Author

I would be fine merging this. Although it doesn't support the full behavior, it gets half of it (privacy).

@martinemde martinemde requested a review from perryqh May 14, 2025 03:27
@martinemde martinemde force-pushed the martinemde/enforcement_globs_ignore branch from 945a78d to a27a847 Compare May 16, 2025 20:21
@github-project-automation github-project-automation bot moved this to Triage in Modularity May 23, 2025
@martinemde martinemde moved this from Triage to Up for grabs in Modularity May 23, 2025
@martinemde
Copy link
Contributor Author

Current status. Incomplete, needs to be updated for the improved tests.

When working on this, it became clear that the test mocks were not adequate to properly test this behavior and we haven't had time to revisit this feature.

@martinemde martinemde closed this May 27, 2025
@github-project-automation github-project-automation bot moved this from Up for grabs to Done in Modularity May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants