If a package is public, and does not need authentication, satisfy will happily fail to download it.
# cat .satisfy | satisfy
2023/11/30 05:03:14 dependency_resolver.go:42: Installing dependency: [path/to/package/on/gcs @ 0.0.1]
2023/11/30 05:03:14 dependency_resolver.go:114: Downloading manifest for [path/to/package/on/gcs @ 0.0.1]
2023/11/30 05:03:14 download.go:50: [WARN] failed to install manifest for [path/to/package/on/gcs @ 0.0.1]:
expected status code: [200]
actual status code: [403]
remote address: [gs://public-bucket/path/to/package/on/gcs/0.0.1/manifest.json]
2023/11/30 05:03:14 download.go:53: [WARN] 1 packages failed to install.
After a quick search in the code, I am pretty sure it is because we specify that each download use the gcs.WithCredentials(this.credentials), parameter.
Leaving this here until I have time to come back and fix it, unless someone else grabs it first.
If a package is public, and does not need authentication,
satisfywill happily fail to download it.After a quick search in the code, I am pretty sure it is because we specify that each download use the
gcs.WithCredentials(this.credentials),parameter.Leaving this here until I have time to come back and fix it, unless someone else grabs it first.