hexpm / hex

Package manager for the Erlang ecosystem.
https://hex.pm
970 stars 184 forks source link

Add `hex.registry add` Command #931

Open aj-foster opened 2 years ago

aj-foster commented 2 years ago

This PR supersedes #920. See that PR for previous discussion.

In this PR, we add a mix hex.registry add command to the existing mix task. The purpose of this command is to allow private registry maintainers to add one or more packages to an existing registry without necessarily having all of the package tarballs present.

At the time or writing, this PR is a minimal effort for the purpose of discussion. We have an opportunity to make larger changes to the hex.registry task to support future growth, if desired.

Some topics to consider:

With your guidance, I'm happy to contribute towards the right solution for the long term.

ericmj commented 1 year ago

Hi @aj-foster! What's the status of this PR?

aj-foster commented 1 year ago

Hi @ericmj I still need to respond to your comments and make changes based on the merged changes to hex_core. Apologies for not cleaning this up sooner.

ericmj commented 1 year ago

@aj-foster No worries, just checking in to get the status. I will leave the PR open and you can get to it if you get the time. Thank you! 💜

aj-foster commented 1 year ago

Hi @ericmj — Made some updates to this PR. Hopefully I re-understood everything correctly, since it's been a while. 🙂 Just a few comments in the above threads to make sure I'm on the right track.