-
Notifications
You must be signed in to change notification settings - Fork 16
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
Enable :version to refer to sub-modules version and not the version of the currently building project #29
Comments
Good idea, thanks! I'll try to look into this soon. |
This involved quite a bit of refactoring of the progeny stuff into common so that versionization could use it, too. It looks for the top-most project and then all of that project's children. This can lead to an infinite loop when middleware is invoked so we introduce some macros to disable middleware when parents and children are being read. Unfortunately, discovering all the children can add quite a bit of time to the build, almost double for some of the tasks in the Immutant build. Parking on a branch for now.
Alex, you can install that #29 branch locally just to see if it addresses your needs, but I'm hesitant to release it as it impacts performance quite a bit. |
Thanks Jim, Ill either test it today or first thing tomorrow and get back to you ASAP |
Jim, I now have the stack working fine using this SNAPSHOT. Many thanks, its really appreciated. |
Hi - I am also using this snapshot version to solve the same issue. cheers |
Currently :version in dependency versioning refers to the current sub-module's version, which is fine when all submodules are in sync with each other.
In a world where subprojects have differnt versions however this breaks.
It would be really nice that if lein-modules sees a :version it tries to find that project in its source tree and substitutes that version in and then if it cant find it then falls back to the modules version by default.
This should be 100% compatible with what is happening currently, however it would also enable clever version tracking of submodule dependencies which are not all the same.
The text was updated successfully, but these errors were encountered: