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

Remove replace directive labels when not needed #117

Conversation

SpangleLabs
Copy link
Contributor

The previous PR I made, #114, added go_replace_directive labels to all go_repo rules which had a replace directive in the go.mod file. But it did not remove that label from any rules which do not have a go.mod replace directive.

(Also, it added go_replace_directive labels to any new rules without replace directives, whoops)

Extended tests, and fixed functionality to ensure that go_replace_directive labels are removed from all rules which lack replace directives in the go.mod file

Copy link
Contributor

@goddenrich goddenrich left a comment

Choose a reason for hiding this comment

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

Nice thanks for the restructure at the same time. I think this is much more readable than before

@goddenrich goddenrich merged commit 2d85ce6 into please-build:master Jul 16, 2024
3 checks passed
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