Skip to content

Implement .netrc support#25

Open
truelecter wants to merge 5 commits into
manic-systems:mainfrom
truelecter:feat/netrc
Open

Implement .netrc support#25
truelecter wants to merge 5 commits into
manic-systems:mainfrom
truelecter:feat/netrc

Conversation

@truelecter

@truelecter truelecter commented Jun 8, 2026

Copy link
Copy Markdown

Please note, despite all my tries, I suck at rust and rust code was written with Claude 4.8 assistance. I cleaned excessive comments, simplified some functions it overengineered a bit and to my eye code looks reasonable.

I tested it myself and currently using this fork on my configuration.

Implements #23

@NotAShelf NotAShelf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for the PR and the AI disclosure. I've left one quick comment. Other than this please:

  1. Reword your commits to patch the repository conventions (scoped commits)
  2. Add a quick section under documentation about the usage.

Comment thread crates/config/src/lib.rs Outdated
Load credentials from ~/.netrc, or from the path in NETRC when set.
For upstreams without username in config, match credentialsby hostname
and fall back to an optional default entry.
@truelecter

Copy link
Copy Markdown
Author

Restructured commit messages, added .netrc note under Upstream Authentication README section. I did not include an example of the netrc file, but I'll add it if needed

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