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

fetch_repo: also remove WORKSPACE and MODULE files when cleaning #1991

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pjjw
Copy link

@pjjw pjjw commented Dec 5, 2024

What type of PR is this?

Feature

What package or component does this PR mostly affect?

go_repository

What does this PR do? Why is it needed?

Sometimes it's not just build files in go modules that are trouble, but inconveniently constructed MODULE.bazel files in repositories you'd like to pinch some go code from can also ruin your day. This does away with them, as well as WORKSPACE files for good measure.

Which issues(s) does this PR fix?

Other notes for review

@pjjw pjjw marked this pull request as ready for review December 5, 2024 00:27
@fmeum
Copy link
Member

fmeum commented Dec 5, 2024

I'm not against this change if it helps, but the contents of all these files should be ignored by Bazel in the context of Gazelle-generated repos. Could you describe a concrete situation in which this was needed?

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