Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Satisfy fails to download public package #5

Open
SunSparc opened this issue Nov 30, 2023 · 0 comments
Open

Satisfy fails to download public package #5

SunSparc opened this issue Nov 30, 2023 · 0 comments

Comments

@SunSparc
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant