-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Add support for remote_files for http_archive #22155
Closed
Closed
Commits on Apr 30, 2024
-
Add support for remote_files for http_archive
This issue adds support necessary to tackle bazelbuild/bazel-central-registry#1566 Add two new attributes to http_archive: remote_file_urls and remote_file_integrity. The purpose of these two attributes is to allow files to effectively be overlaid ontop of an http_archive. The goal of such functionality would be useful for BCR since the BUILD & WORKSPACE files need no longer be stored as patch files. This means we could probably deprecate `build_file` since that could be referenced as a file:// url in the remote_file_urls attribute. Co-authored-by: Mark Williams <markrwilliams@google.com>
Configuration menu - View commit details
-
Copy full SHA for 938b903 - Browse repository at this point
Copy the full SHA 938b903View commit details -
Configuration menu - View commit details
-
Copy full SHA for 665f2ba - Browse repository at this point
Copy the full SHA 665f2baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7eab852 - Browse repository at this point
Copy the full SHA 7eab852View commit details -
Added validation and async for remote_file
* Added async download for remote_file for http-archive via block param * Added validation to check that there is no relative paths present
Configuration menu - View commit details
-
Copy full SHA for 2e90536 - Browse repository at this point
Copy the full SHA 2e90536View commit details -
Configuration menu - View commit details
-
Copy full SHA for a81db3c - Browse repository at this point
Copy the full SHA a81db3cView commit details
Commits on May 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4f150b9 - Browse repository at this point
Copy the full SHA 4f150b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a0b673 - Browse repository at this point
Copy the full SHA 8a0b673View commit details -
* Added disallow relative path * Added disallow absolute path * Added test for missing integrity
Configuration menu - View commit details
-
Copy full SHA for d0d2970 - Browse repository at this point
Copy the full SHA d0d2970View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ebfbd1 - Browse repository at this point
Copy the full SHA 1ebfbd1View commit details
Commits on May 3, 2024
-
* Fixup comments * Add test that verifies remote_files works with more than 1 segment
Configuration menu - View commit details
-
Copy full SHA for 9f61f11 - Browse repository at this point
Copy the full SHA 9f61f11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b897bd - Browse repository at this point
Copy the full SHA 9b897bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf42f89 - Browse repository at this point
Copy the full SHA cf42f89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89e4878 - Browse repository at this point
Copy the full SHA 89e4878View commit details
Commits on May 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6e558c0 - Browse repository at this point
Copy the full SHA 6e558c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f330333 - Browse repository at this point
Copy the full SHA f330333View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cc59bb - Browse repository at this point
Copy the full SHA 3cc59bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for c91faf7 - Browse repository at this point
Copy the full SHA c91faf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3ad0a9 - Browse repository at this point
Copy the full SHA e3ad0a9View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.