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 hex organizations for igniter.install #155

Open
hypno2000 opened this issue Nov 15, 2024 · 2 comments · May be fixed by #157
Open

support hex organizations for igniter.install #155

hypno2000 opened this issue Nov 15, 2024 · 2 comments · May be fixed by #157
Labels
enhancement New feature or request

Comments

@hypno2000
Copy link

Is your feature request related to a problem? Please describe.
Majority of our source code is private and published to hex under our organization. Right now igniter.install does not work for our own hex packages.

Describe the solution you'd like
A possibility to specify optional organization prefix when installing packages with igniter.install.

Describe alternatives you've considered
We could use git dependencies for those specific packages but that would mean we cannot use hex for our other packages that depend on those as well as one cant publish packages to hex that has git dependencies.

Express the feature either with a change to resource syntax, or with a change to the resource interface

For example something like:

mix igniter.install foo acme:bar acme:baz

Or

mix igniter.install foo acme/bar acme/baz
@hypno2000 hypno2000 added the enhancement New feature or request label Nov 15, 2024
@zachallaun
Copy link
Collaborator

Could definitely be supported. I personally like repo/package, which would work fine with all the existing package formats:

mix igniter.install repo/package
mix igniter.install repo/package@version
mix igniter.install repo/package@git:url
mix igniter.install repo/package@github:user/repo
mix igniter.install repo/package@path:path

repo:package would work just as well, but for whatever reason, I prefer the slash.

@hypno2000
Copy link
Author

I think slash makes more sense as well. Package names in hex.pm are also presented in org/package format.

@zachallaun zachallaun linked a pull request Nov 15, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants