Fork me on GitHub
#tools-deps
<
2019-05-29
>
rickmoynihan17:05:14

when using :git/deps does :deps/root need to specify a directory containing a deps.edn file or can it be a path to a deps.edn file named something arbitrary, like foo.edn?

rickmoynihan17:05:54

I’m guessing it must be a directory

dominicm18:05:36

Yeah, directory

👍 4
rickmoynihan18:05:48

I’m assuming it’s not possible to override just the :deps/root for a :git/dep in aliases? Use case is sharing a single :git/url and :sha across multiple aliases that parameterise just the :deps/root. I’m guessing that to do this I would need to duplicate the :sha and :git/url as :extra-deps in each alias.

dominicm19:05:18

Yeah, duplication

dominicm19:05:28

I'd write a tool to manage it for me

Jakub Holý (HolyJak)19:05:01

Is there a trick to not need to repeat the version number here:

{:deps {org.apache.lucene/lucene-core   {:mvn/version "8.1.1"}
        org.apache.lucene/lucene-queryparser   {:mvn/version "8.1.1"}
        org.apache.lucene/lucene-analyzers-common {:mvn/version "8.1.1"}}
?

seancorfield19:05:41

Unless there's a bundled artifact you could depend on that would bring in all those pieces.