Custom package name for Hex dependency #32834
Closed
bernardo-martinez
started this conversation in
Suggest an Idea
Replies: 1 comment 6 replies
-
I have created a minimal reproduction repo here: bernardo-martinez/renovate-reproduction-32834#1 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Tell us more.
What would you like Renovate to be able to do?
In Mix in elixir you can setup a dependency with a different name than the default one fetched from hex.pm, see: https://hex.pm/docs/usage#options
For example:
This will fetch the
grpc_gun
dependency from hex.pm located here: https://hex.pm/packages/grpc_gun but will treat it locally asgun
If you have any ideas on how this should be implemented, please tell us here.
I think the mix manager should have an additional regex to search for such
hex:
option and use it to setPackageDependency.sourceUrl
accordingly, which then would be used in the hex versioning?Is this a feature you are interested in implementing yourself?
Yes, just need some discussion and guidance first
Beta Was this translation helpful? Give feedback.
All reactions