Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support quotes & credentials in mirror config #322

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Mythra
Copy link

@Mythra Mythra commented Jan 9, 2023

fixes #321

this change performs two parts. The first is removing any extra quotes from the configuration file so the examples in the README work as expected.

The second is supporting HTTP Basic Authentication credentials within the mirror argument itself so for folks fetching from a source that requires authentication they are able to do so.

Mythra added 2 commits January 9, 2023 20:37
this change performs two parts. The first is removing any extra
quotes from the configuration file so the examples in the README
work as expected.

The second is supporting HTTP Basic Authentication credentials within
the mirror argument itself so for folks fetching from a source that
requires authentication they are able to do so.
@ekalinin
Copy link
Owner

Hi, thanks for the patch!

Could you, please, add some tests?

@Mythra
Copy link
Author

Mythra commented Mar 16, 2023

Hi! I'm not aware of any open source HTTP mirrors that would allow for sending authentication to them, is there perhaps a mirror you know of (or a way you were hoping to see it mocked? I don't see any mocks currently in tree).

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.

Mirror with configuration files does not support quoting, or credentials
2 participants