aspect-build / aspect-build/aspect-cli

[FR]: Netrc auth file support for ToolSource::Http

Open
#1,253 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Starlark
Stars
165
Forks
45
Avg merge
1d 47m
Merged PRs (30d)
35

Description

### What is the current behavior?

http sources in `version.axl` do not utilize the user's netrc file for authenticated endpoints, resulting in a 401

### Describe the feature

I would love to see ToolSource::Http use the user's netrc file for authentication

This would align with bazelisk's behaviour with `BAZELISK_BASE_URL` in `.bazeliskrc`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the ToolSource::Http handling for HTTP sources declared in version.axl. Compare the expected authentication behavior with bazelisk's BAZELISK_BASE_URL configuration and .bazeliskrc, then verify that an authenticated endpoint works with credentials from the user's netrc file.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.