Fork me on GitHub

@alexmiller (or anyone else in the know) - I'm pulling down a company Clojure library from a private github repo via deps.edn -- had to tweak a few things to get auth to play nice, but now I have another issue: is there a way to indicate which jar file it will use?


I have one that will include test dependencies and am looking to use that version instead


what did you tweak for Auth @emergence?


I had to comment out my IdentityFile line in .ssh/config


yeah this is a known issue


we have a potential resolution for a host of auth related issues


I saw there is an open bug around this

Alex Miller (Clojure team)21:08:29

deps.edn does not have any way to include test scoped transitive deps


Sorry I wrote incorrectly, I meant test namespaces not transitive deps

Alex Miller (Clojure team)21:08:37

I was confused by you saying jar file above

Alex Miller (Clojure team)21:08:44

in tandem with github repo

Alex Miller (Clojure team)21:08:02

or rather, I am still confused. perhaps you can back up. :)


we have a potential resolution for a host of auth related issues


so in my deps.edn I have something like

mycompany/depname {:git/url "[email protected]:reifyhealth/depname.git"
                                        :deps/manfiest :deps
                                        :sha "..."}


And forgive me if I'm overlooking something silly I'm trying tools.deps.alpha for first time s


I want to access test namespaces from depname

Alex Miller (Clojure team)21:08:43

in that project’s deps.edn, you could include :paths ["src" "test"]

Alex Miller (Clojure team)21:08:49

but there is no way to do that externally

Alex Miller (Clojure team)21:08:06

so I think my answer is still, you can’t do that


That's still helpful -- the project is still running off a project.clj file so I can see about merging in a secondary deps.edn for my purposes.

Alex Miller (Clojure team)21:08:42

it is possible to use a :deps/root key to point to a subdir holding a deps.edn that included the test, but that’s likely to confuse people


If I did :deps/root "test" and stuffed the deps.edn in test/ do you think that would work?


and then specified the appropriate relative paths


Either way I'll play around with it and see what works for my team -- thanks for spending a few mins chatting on this 🙂