Skip to content

Satisfy fails to download public package #5

Description

@SunSparc

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions