tools-deps

Discuss tools.deps.alpha, tools.build, and the clj/clojure command-line scripts! See also #depstar #clj-new
imre 2021-03-25T11:11:33.203300Z

I found that ~/.gitlibs/_repos/<repo-path>/worktrees/<sha>/gitdir files contain absolute paths to subfolders under ~/.gitlibs/libs/. This seems to result in conflicts when I want to share my ~/.gitlibs between my physical machine (mac) where I conduct most of my dev work and a docker container (linux, different user etc.) which is necessary for a special project I work on. Is there any nice way around this? For now I just let git deps be downloaded every time the container starts. Perhaps I can set up another local gitlibs folder which would be container-only?

imre 2021-03-25T12:01:22.203400Z

I might have just rubber :duckie: -ed myself using this channel. I can mount different, image/project-specific folders into ~/.gitlibs and .cpcache

alexmiller 2021-03-25T12:43:03.204300Z

You can set the GITLIBS env var to say where the root is

imre 2021-03-25T12:44:45.204500Z

That's good to know, thank you.

imre 2021-03-25T12:48:13.204700Z

There isn't one to override the location of .cpcache though, am I right?

imre 2021-03-25T12:48:58.204900Z

cpcache also has absolute paths