Mix manager should set git versioning git dependencies #31778
-
What would you like help with?I think I found a bug How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.Gituhb 38.101.1 Please tell us more about your question or problemThis is a follow-up on Bad Tag name for git dependencies in Elixir project. ProblemIt looks like the renovate/lib/modules/versioning/hex/index.ts Line 104 in 8b2d1fa As far as I understand mix does not support version ranges for git dependencies. And it looks like the It produces an invalid newVersion from Fix proposalI think the fix can follow the logic of the existing Poetry manager, where it sets versioning to renovate/lib/modules/manager/poetry/schema.ts Lines 133 to 135 in 8b2d1fa Here are the use cases the mix manager should cover
After doing more tests, it turns out the I've made some modifications to the code and achieved this. Besides the logic fix, I propose to update the docs page https://docs.renovatebot.com/modules/manager/mix/ Reproduction repoLogs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 53 replies
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
If you need help with running renovate on your minimal reproduction repository, please refer to our Running Renovate guide. The Renovate team |
Beta Was this translation helpful? Give feedback.
-
@rarkins please lemme know if there is something else I am missing. |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
Is there a |
Beta Was this translation helpful? Give feedback.
-
@rarkins @paulo-ferraz-oliveira as discussed, I am marking this as resolved and will follow up in the next discussion. |
Beta Was this translation helpful? Give feedback.
@rarkins @paulo-ferraz-oliveira as discussed, I am marking this as resolved and will follow up in the next discussion.
#32815