Fork me on GitHub
#tools-deps
<
2023-11-27
>
octahedrion07:11:33

is it the case that one can't refer to aliases of dependencies in ancestor deps.edn ? i.e. all dependent dependencies must be included in their :deps for an ancestor to use them. In other words, :aliases are only for a given library, not for anything using that library.

favila13:11:59

Correct, aliases are not transitive

octahedrion15:11:28

wouldn't that imply that aliases would need to be namespaced ?

octahedrion15:11:11

oh sorry no - the aliases would be under each dependency ok

Alex Miller (Clojure team)16:11:43

This is a thing I am interested in doing, will just need some serious thought about all the implications

🙏 2
Mark Sto09:08:48

@U064X3EF3 Hi Alex! The https://clojure.atlassian.net/browse/TDEPS-116 had no activity for years now and not even versioned as a “Backlog”. It would be nice to see some activity there, otherwise it looks like something abandoned or simply overlooked.

Mark Sto09:08:05

I just stumbled upon this very same old tools.deps issue myself with a Polylith workspace recently, when I decided to factor out a few sub-projects into Polylith workspaces of their own. But, since poly has a convention to keep all dev-time dependencies under the :dev alias, things didn’t click (quite obviously), so I had to duplicate them under the :deps key.

Mark Sto09:08:20

I’m now thinking about patching the tools.deps and using a patched version locally solely for this project.