Olical / depot

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

Some qualifier formats are incorrectly categorized as release #18

Open lverns opened 5 years ago

lverns commented 5 years ago
$ cat deps.edn
{:deps
 {org.clojure/clojure {:mvn/version "1.10.0"}
  org.clojure/tools.logging {:mvn/version "0.4.1"}}}
$ clojure -Sdeps '{:deps {olical/depot {:mvn/version "1.7.0"}}}' -m depot.outdated.main

|                Dependency | Current |        Latest |
|---------------------------+---------+---------------|
| org.clojure/tools.logging |   0.4.1 | 0.5.0-alpha.1 |

I believe this to be an upstream bug.

Olical commented 5 years ago

Ah cool, thanks for reporting, we'll see what xsc thinks I guess. I hope it's not causing too many issues for you!

Olical commented 4 years ago

This one will still be around in v2.0.0 I guess since it's probably to do with some deeper issues in dependencies :thinking:

p-himik commented 4 years ago

Another example is netty-all (https://mvnrepository.com/artifact/io.netty/netty-all):

|                          Dependency |      Current |       Latest |
|-------------------------------------+--------------+--------------|
|                  io.netty/netty-all | 4.1.34.Final | 5.0.0.Alpha2 |
hoxu commented 3 years ago

Are there any workarounds how to ignore particular versions (like 5.0.0.Alpha2 in case of netty), but still update to latest 4.1.xx.Final?

  io.netty/netty-transport {:mvn/version "4.1.51.Final"} -> {:mvn/version "5.0.0.Alpha2"}
  io.netty/netty-transport-native-epoll {:mvn/version "4.1.51.Final"} -> {:mvn/version "5.0.0.Alpha2"}
  io.netty/netty-transport-native-kqueue {:mvn/version "4.1.51.Final"} -> {:mvn/version "4.1.52.Final"}
  io.netty/netty-codec {:mvn/version "4.1.51.Final"} -> {:mvn/version "5.0.0.Alpha2"}
  io.netty/netty-handler {:mvn/version "4.1.51.Final"} -> {:mvn/version "5.0.0.Alpha2"}