Fork me on GitHub
#tools-deps
<
2018-07-18
>
dominicm05:07:17

Vim wasn't (for its internal commands).

dominicm08:07:43

https://github.com/nrepl/nREPL/issues/8 ah, that explains why add-lib doesn't work with nrepl. I was hoping to patch nrepl, but it seems harder now.

dominicm08:07:00

Oh actually, when add-lib refers to the "highest" class loader, I guess that means it would find the parent one if I set it, so I could fix this in nrepl

martinklepsch08:07:05

Under what conditions is it expected that a user has to manually delete .cpcache?

dominicm09:07:01

bugs? 😄 What happened?

dominicm09:07:36

I wouldn't expect to ever have to from what I know, fixes are being made to handle cases where it isn't being updated correctly

pesterhazy10:07:21

@U050TNB9F I think this is an interesting question

Alex Miller (Clojure team)12:07:11

Generally using -Sforce to force recomputing a single classpath makes more sense. One known case where this is required is when local transitive deps change their dep structure - right now that won’t be automatically discovered

martinklepsch13:07:22

> local transitive deps change their dep structure that might have been it then

Alex Miller (Clojure team)14:07:44

I have a plan to fix this, but it’s kind of involved

martinklepsch10:07:34

With git-libs is there a way to specify another “root” path to look for a deps.edn in?

martinklepsch10:07:44

I remember this being discussed previously but can’t recall

dominicm10:07:49

Yep! I think :deps/root is the key

martinklepsch10:07:55

Error building classpath. Manifest type not detected when finding deps for codox/codox in coordinate {:git/url "", :sha "ac6c83a4c7d334bbc27a1bad4240ed7e5fa04ff2", :deps/root "codox/"}
Hrm, I must be missing something. For some reason manifest here seems to be nil: https://github.com/clojure/tools.deps.alpha/blob/84826fef06c725dac0c3d63cfbfd0916553b7cf9/src/main/clojure/clojure/tools/deps/alpha/extensions/git.clj#L45-L47

dominicm10:07:20

do you have a deps.edn file?

cfleming10:07:52

Doesn’t :deps/manifest only support :deps at the moment?

cfleming10:07:09

i.e. deps only knows how to extract path info from other deps projects?

dominicm10:07:56

I think there's a :deps/manifest :mvn implementation

martinklepsch10:07:07

duh, I thought I commited the deps.edn file but didn’t 🙈

zentrope22:07:55

I’ve got a github repo with mname/foo with a clojure project inside it, mname/foo/clojure-project/: is it possible to use that for a deps.edn git dependency?

zentrope22:07:27

Answer seems to be “no” as I can’t reference a github URL + subdir.

zentrope22:07:39

Oh, is that the :deps/root thing I see up above there? Hm.

zentrope22:07:07

Getting a “don’t know how to create ISeq” from the -m namespace part of the CLI, but at least it seems to find the right subdirectory.

zentrope22:07:41

Oops, typo. Nevermind.