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

Document and enforce filename restrictions for module file segments #24575

Closed
wants to merge 1 commit into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Dec 5, 2024

Included module file segments already had to have a .MODULE.bazel suffix, but this wasn't documented. Also prohibit a filename starting with a ., which would hide the file on Unix.

Included module file segments already had to have a `.MODULE.bazel` suffix, but this wasn't documented. Also prohibit a filename starting with a `.`, which would hide the file on Unix.
@github-actions github-actions bot added team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. awaiting-review PR is awaiting review from an assigned reviewer labels Dec 5, 2024
@fmeum
Copy link
Collaborator Author

fmeum commented Dec 5, 2024

I think that prohibiting the name .MODULE.bazel is useful and so non-breaking that it would be safe to cherry-pick into 8.1.0, but if you think otherwise, I'm happy to drop that part.

@meteorcloudy meteorcloudy added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Dec 5, 2024
@fmeum
Copy link
Collaborator Author

fmeum commented Dec 5, 2024

@bazel-io flag

@fmeum
Copy link
Collaborator Author

fmeum commented Dec 5, 2024

(for 8.1.0)

@bazel-io bazel-io added the potential release blocker Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone label Dec 5, 2024
@copybara-service copybara-service bot closed this in c6956af Dec 6, 2024
@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Dec 6, 2024
@fmeum fmeum deleted the include-label-spec branch December 6, 2024 11:08
@iancha1992
Copy link
Member

@bazel-io fork 8.1.0

@bazel-io bazel-io removed the potential release blocker Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants