Olical / depot

Find newer versions of your dependencies in your deps.edn file
https://clojars.org/olical/depot
The Unlicense
260 stars 14 forks source link

depot adds :mvn/version to dep with :local/root #34

Closed dchelimsky closed 5 years ago

dchelimsky commented 5 years ago

I ran depot with --update and it updated e.g.

{some/lib {:local/root "../some/lib"}}

to e.g.

{some/lib {:local/root "../some/lib" :mvn/version "1.2.3"}}

I think this should not be allowed, and depot should ignore deps declared with :local/root.

lverns commented 5 years ago

Yeah, definitely bad behavior. What version of depot was this?

dchelimsky commented 5 years ago

Welp, I thought it was 1.8.4 (current), but I just tried to validate that and now, of course, it's not happening. ¯_(ツ)_/¯