Fork me on GitHub
#tools-deps
<
2021-03-28
>
introom09:03:47

is there a deps.local.edn which is not tracked by git but allows for per-project customization?

borkdude09:03:09

I don't believe so

introom10:03:28

Then how do you customize the project setting without hindering other developers?

borkdude10:03:01

what project setting would you customize?

borkdude10:03:20

if you mean personal developer tools, you can put those in your ~/.clojure/deps.edn

introom10:03:29

like project specific different alias

borkdude10:03:59

can you be more specific? why don't you just add your alias to the deps.edn?

introom12:03:47

because that file is tracked in git. and shared by other devs.

borkdude12:03:12

do your colleagues mind if you put a personal fully qualified alias in there?

favila13:03:04

There is not, but this would be really useful for monorepos

favila13:03:21

There’s a tools deps lib function that merges deps maps (same thing used to merge personal +project deps.edn). We generate the project deps.edn by calling that on the repo + project deps edn with make

borkdude14:03:31

we do the same using a babashka script, but the resulting deps.edn lives in our git, so it doesn't contain "personal" config let's say

seancorfield18:03:08

After pushing for an extra deps file for a long time for monorepo use, I eventually realized we could do everything we needed by approaching the structure a bit differently: https://corfield.org/blog/2021/02/23/deps-edn-monorepo/