Skip to content

Conversation

@fmeum
Copy link
Collaborator

@fmeum fmeum commented Jan 9, 2026

This makes it possible to use registry overlays to add shell scripts.

Context: https://bazelbuild.slack.com/archives/C014RARENH0/p1767975320777969

@fmeum fmeum requested a review from Wyverald January 9, 2026 17:41
@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Jan 9, 2026
@fmeum
Copy link
Collaborator Author

fmeum commented Jan 9, 2026

@bazel-io fork 8.6.0

@fmeum fmeum added the soft-release-blocker Soft release blockers that are nice to have, but shouldn't block the release if it's the last one. label Jan 9, 2026
@fmeum
Copy link
Collaborator Author

fmeum commented Jan 9, 2026

@bazel-io fork 9.0.0

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request aims to make overlaid files in http_archive executable to support adding shell scripts. While this is a valid use case, the current implementation makes all overlaid files executable, which is a security concern as it violates the principle of least privilege. My review includes a critical comment suggesting a more secure approach by introducing a new attribute to explicitly specify which files should be executable.

This makes it possible to use registry overlays to add shell scripts.
@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 Jan 12, 2026
@Wyverald Wyverald removed the soft-release-blocker Soft release blockers that are nice to have, but shouldn't block the release if it's the last one. label Jan 12, 2026
@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 Jan 13, 2026
@fmeum fmeum deleted the patch-43 branch January 13, 2026 15:00
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Jan 13, 2026
This makes it possible to use registry overlays to add shell scripts.

Context: https://bazelbuild.slack.com/archives/C014RARENH0/p1767975320777969

Closes bazelbuild#28202.

PiperOrigin-RevId: 855699722
Change-Id: I65891a0cb6d7e99d70ab33c8b38f1c7da943fc09
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request Jan 13, 2026
This makes it possible to use registry overlays to add shell scripts.

Context: https://bazelbuild.slack.com/archives/C014RARENH0/p1767975320777969

Closes bazelbuild#28202.

PiperOrigin-RevId: 855699722
Change-Id: I65891a0cb6d7e99d70ab33c8b38f1c7da943fc09
github-merge-queue bot pushed a commit that referenced this pull request Jan 13, 2026
This makes it possible to use registry overlays to add shell scripts.

Context:
https://bazelbuild.slack.com/archives/C014RARENH0/p1767975320777969

Closes #28202.

PiperOrigin-RevId: 855699722
Change-Id: I65891a0cb6d7e99d70ab33c8b38f1c7da943fc09

Commit
3efde5a

Co-authored-by: Fabian Meumertzheim <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Jan 13, 2026
This makes it possible to use registry overlays to add shell scripts.

Context:
https://bazelbuild.slack.com/archives/C014RARENH0/p1767975320777969

Closes #28202.

PiperOrigin-RevId: 855699722
Change-Id: I65891a0cb6d7e99d70ab33c8b38f1c7da943fc09

Commit
3efde5a

Co-authored-by: Fabian Meumertzheim <[email protected]>
fmeum added a commit to fmeum/bazel that referenced this pull request Jan 14, 2026
This makes it possible to use registry overlays to add shell scripts.

Context: https://bazelbuild.slack.com/archives/C014RARENH0/p1767975320777969

Closes bazelbuild#28202.

PiperOrigin-RevId: 855699722
Change-Id: I65891a0cb6d7e99d70ab33c8b38f1c7da943fc09
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.

3 participants