Skip to content

Add netrc authentication support#3

Merged
jrosdahl merged 1 commit intoccache:mainfrom
kica-z:main
Apr 6, 2026
Merged

Add netrc authentication support#3
jrosdahl merged 1 commit intoccache:mainfrom
kica-z:main

Conversation

@kica-z
Copy link
Copy Markdown
Contributor

@kica-z kica-z commented Apr 2, 2026

Add two new configuration attributes for HTTP Basic authentication via netrc files:

  • @use-netrc: Enable netrc authentication (uses ~/.netrc by default)
  • @netrc-file: Specify a custom netrc file path

This allows credentials to be managed separately from the ccache configuration, which is useful for CI/CD environments and when credentials need to be shared across multiple tools.

Copy link
Copy Markdown
Member

@jrosdahl jrosdahl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for the PR!

Add two new configuration attributes for HTTP Basic authentication via netrc files:
- @use-netrc: Enable netrc authentication (uses ~/.netrc by default)
- @netrc-file: Specify a custom netrc file path

This allows credentials to be managed separately from the ccache configuration, which is useful for CI/CD environments and when credentials need to be shared across multiple tools.
@jrosdahl jrosdahl merged commit ff7646f into ccache:main Apr 6, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants