Fork me on GitHub
#tools-deps
<
2018-05-09
>
richiardiandrea00:05:46

yeah I would really like to explore tools.deps.alpha a bit more, expecially the resolver part

dominicm13:05:13

@alexmiller Can you think of a case where clj on a deps.edn file wouldn't resolve a dependency that tools.deps.alpha would resolve against a deps.edn file? In particular, https://github.com/juxt/pack.alpha/issues/7#issue-321346647 something is going off to another repo. pack only considers the deps.edn, and doesn't merge the system one. For some reason it works if I add maven central, but what does that have to do with glassfish?

Alex Miller (Clojure team)13:05:47

the install deps.edn includes the central and clojars maven repos

Alex Miller (Clojure team)13:05:17

other than that, shouldn’t be any different

dominicm13:05:30

@alexmiller I guess another way of describing this would be: - I run clj against a deps.edn file - so everything should end up in .m2 - I run tools.deps.alpha against the same deps.edn and it fails as more needing more resolving

Alex Miller (Clojure team)13:05:51

doesn’t make sense to me

dominicm13:05:28

If I add the :mvn/repos to deps.edn, somehow it allows it to fetch from glassfish repo

dominicm13:05:23

I'm not really sure what is going on here, and why this either needs to run every time (uncacheable) or doesn't get picked up by clj

Alex Miller (Clojure team)13:05:03

I guess because once it’s in central they want you to get it from there?

dominicm13:05:40

yeah, real weird.

dominicm13:05:04

This definitely highlights that I need a good way to do -Srepro without the local deps.edn file ever being picked up though 😉

dominicm13:05:59

Or rather, I need a way to pick up only the system deps.edn