You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The buildifier docs say to create an http_archive using a GitHub source archive URL like https://github.com/bazelbuild/buildtools/archive/refs/tags/4.2.2.tar.gz.
The recommendation seems to be to include the source zip/tar.gz files in the release itself as an asset (like protobufs does). GitHub promises not to change those bytes since they are user-provided.
Then, the docs should show a URL like: https://github.com/bazelbuild/buildtools/releases/download/4.2.2/source-4.2.2.tar.gz
depending on what file name for the source code asset is.
The text was updated successfully, but these errors were encountered:
The buildifier docs say to create an
http_archive
using a GitHub source archive URL likehttps://github.com/bazelbuild/buildtools/archive/refs/tags/4.2.2.tar.gz
.However, as was observed in a large outage on Jan 31, 2023, the compression algorithm used by GitHub can change, breaking sha256 validation.
The recommendation seems to be to include the source zip/tar.gz files in the release itself as an asset (like protobufs does). GitHub promises not to change those bytes since they are user-provided.
Then, the docs should show a URL like:
https://github.com/bazelbuild/buildtools/releases/download/4.2.2/source-4.2.2.tar.gz
depending on what file name for the source code asset is.
The text was updated successfully, but these errors were encountered: