generated from bazel-contrib/rules-template
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: address changes as a follow-up
- Loading branch information
Showing
18 changed files
with
222 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# Generated by apko_bazelrc. DO NOT EDIT | ||
# Required for range requests for fetching the apk packages. | ||
# Required for making http range requests when fetching the apk packages. | ||
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests | ||
# Use https://www.base64decode.org/ to see what this base64 encoded command does. | ||
|
||
common --credential_helper="%workspace%/.apko/range.sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Generated by apko_bazelrc. DO NOT EDIT | ||
# Adds Range header to outgoing http requests by parsing the range fragment on URL from stdin | ||
# See https://github.com/bazelbuild/proposals/blob/main/designs/2022-06-07-bazel-credential-helpers.md | ||
|
||
# Required for range requests for fetching the apk packages. | ||
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests | ||
|
||
echo -n '{"headers":{"Range":[' | ||
cat | sed -n 's/.*#_apk_range_bytes_\([[:digit:]]*-[[:digit:]]*\).*/"bytes=\1"/p' | tr -d '\n' | ||
echo ']}}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
docs/*.md linguist-generated=true | ||
docs/initial-setup.md linguist-generated=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# Generated by apko_bazelrc. DO NOT EDIT | ||
# Required for range requests for fetching the apk packages. | ||
# Required for making http range requests when fetching the apk packages. | ||
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests | ||
# Use https://www.base64decode.org/ to see what this base64 encoded command does. | ||
|
||
common --credential_helper="%workspace%/.apko/range.sh" |
Oops, something went wrong.