Fork me on GitHub
#tools-deps
<
2018-08-07
>
kenny00:08:42

Deleted .cpcache and it fixed it.

dottedmag07:08:56

Sounds like a bug. Why it was not invalidated on its own?

Alex Miller (Clojure team)11:08:26

The only cache staleness bug I’m aware of is with local deps

Alex Miller (Clojure team)11:08:13

Where downstream deps.edn that change don’t force a cache invalidation

martinklepsch17:08:13

I would really like to fix https://dev.clojure.org/jira/browse/CLJ-2037 but if I understand correctly it’s tricky with the current registry structure since keywords can’t carry additional metadata. Would be happy about any suggestions. Maybe @alexmiller can also comment to what degree this feature warrants a restructuring of the registry.

martinklepsch17:08:19

(I assume the patch Felix Andrews describes in his comment won’t work with specs like (s/def ::thing ::other-thing) but I haven’t fully checked IIRC)

Alex Miller (Clojure team)17:08:59

definitely on board with fixing it, but not going to happen until Rich has a chance to get back to spec work, and that will likely be a while

martinklepsch17:08:58

Got it. Guess I’ll run with a fork that has a fix for this issue then.

dnolen18:08:56

is it not possible to pass JVM opts via :main-opts?

dominicm18:08:30

That's what jvm-opts is for?

dnolen18:08:30

ah thanks, I keep looking for stuff in the guide instead of the reference

dnolen18:08:46

aliases don’t compose across deps.edn files right?

seancorfield18:08:18

No, later aliases replace earlier ones with the same name.

seancorfield18:08:56

(I think that's the safer behavior, TBH)

dnolen18:08:24

yeah not saying it’s desirable

seancorfield18:08:08

Heh, I've wished for composable aliases from time to time... but always stop myself from creating a JIRA ticket 🙂