Fork me on GitHub
#boot
<
2017-12-05
>
richiardiandrea05:12:30

I read the issue, and I don't know if the problem it would solve is the one we want to solve....for me most of the times is the other way around: I want to add deps to the running pod

danielcompton06:12:33

To more plainly put it, the problem I want to solve is that I can download all of my dependencies ahead of build time and build in an isolated environment (edit: isolated from the internet)

dominicm08:12:18

@danielcompton I wonder if something like deftaskedn would be good for this? Tasks could choose to opt-in to having resolution done by declaring a key.

dominicm08:12:24

They can of course still be dynamic in their resolution, but you can choose to: 1) Not use those tasks 2) Pull request those tasks 3) Live with no caching for the dependencies they bring in (or in the case of cursive, no source jumping without the jvm)

richiardiandrea15:12:15

The thing is that the isolation is already provided with pods but you don't have visibility of what a task will put on the classpath. Deftaskedn can mitigate this but then yes you'd need to PR and change a lot of projects + have a step in CI that reads this edn and resolves the dependencies itself (or use tools.deps?).

dominicm19:12:18

@richiardiandrea I think @danielcompton is referring to isolation in the form of "offline box without internet" rather than in terms of the classpath.

danielcompton19:12:38

Yeah, mixing my concepts here. It would be nice to be able to have all dependencies able to be declared by a boot plugin and downloaded, without the dependencies needing to go on the classpath

dominicm19:12:17

words are hard 🙂

dominicm19:12:25

I blame the anaphoric macros.