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

Add a new repo provider #289

Open
starbelly opened this issue Dec 31, 2021 · 0 comments
Open

Add a new repo provider #289

starbelly opened this issue Dec 31, 2021 · 0 comments

Comments

@starbelly
Copy link
Member

In V7 the existing repo provider became organization which made room for a new repo provider. We should add a repo provider ala mix hex.repo.

See https://hexdocs.pm/hex/Mix.Tasks.Hex.Repo.html for an example.

The only question open I think is whether this overlaps with the would-be config provider. Specifically, will probably operate on a per repository basis vs globally, at least for a lot of options. For example, you wouldn't want to have rebar3 hex config api_url https://foo globally set, as it would effect all other repositories.

If the config provider operates on a per repository basis, then it may be that repo provider is somewhat pointless. The only exception to this would be the --fetch-public-key option that is available on mix hex.repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant