rules_buf icon indicating copy to clipboard operation
rules_buf copied to clipboard

enable sha256 support for bzlmod case

Open adrianimboden opened this issue 1 year ago • 1 comments

I started to use rules_rust, which uses rules_buf. I also use bzlmod and download all dependencies ahead of time to support builds without internet access.

For this to work, all downloads from the internet need to provide sha256 hash in the download actions. I saw that for the WORKSPACE style usage, this already works (buf_download_releases already supports that).

This MR adds the correct hash for v1.28.1 and allows to also override the hash in addition to the version.

adrianimboden avatar Apr 29 '24 12:04 adrianimboden

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 29 '24 12:04 CLAassistant

I just ran into this and would like this supported as well. We use --repository_disable_download in some situations and I am unable to use rules_lint which depends on rules_buf.

calebzulawski avatar May 14 '24 21:05 calebzulawski