Skip to content

Add .netrc support for remote asset downloads #887

Description

@vcomito-apexai

The bazel-remote server can fetch assets:

https://github.com/bazelbuild/remote-apis/blob/main/build/bazel/remote/asset/v1/remote_asset.proto#L90

  // Servers *MAY* fetch content that they do not already have cached, for any
  // URLs they support

Some assets might be only accessible via username:password (or Personal Access Token) credentials. These are usually stored inside
the .netrc file of the user. bazel-remote can use this file for accessing the protected artifacts

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions