google-cloud-java icon indicating copy to clipboard operation
google-cloud-java copied to clipboard

build: hermetic_split_repo.sh

Open suztomo opened this issue 3 years ago • 2 comments

Not for review yet.

suztomo avatar Sep 10 '22 05:09 suztomo

Current status:

WORKSPACE has

http_archive(
    name = "com_google_protobuf",
    sha256 = "b10bf4e2d1a7586f54e64a5d9e7837e5188fc75ae69e36f215eb01def4f9721b",
    strip_prefix = "protobuf-3.15.3",
    urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.15.3.tar.gz"],
)

but the file has different sha256

suztomo@suztomo:~/google-cloud-java/generation$ sha256sum workspace/protobuf.tar.gz 
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  workspace/protobuf.tar.gz

suztomo avatar Sep 10 '22 05:09 suztomo

Current status: the script was able to create https://github.com/googleapis/java-spanner/pull/2008

suztomo avatar Sep 14 '22 04:09 suztomo

@mpeddada1 As talked, can you review this code?

suztomo avatar Oct 10 '22 16:10 suztomo