This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-16
Channels
- # announcements (2)
- # aws (2)
- # babashka (29)
- # beginners (69)
- # calva (6)
- # chlorine-clover (2)
- # cider (1)
- # cljs-dev (4)
- # clojure (44)
- # clojure-israel (1)
- # clojure-spec (3)
- # clojure-uk (31)
- # clojured (2)
- # clojurescript (6)
- # code-reviews (22)
- # core-typed (133)
- # cryogen (6)
- # cursive (7)
- # datomic (25)
- # emacs (19)
- # fulcro (69)
- # graalvm (1)
- # graphql (7)
- # lumo (1)
- # off-topic (92)
- # parinfer (2)
- # pedestal (6)
- # reagent (5)
- # remote-jobs (1)
- # shadow-cljs (11)
- # tools-deps (20)
- # tree-sitter (1)
- # vim (4)
- # vscode (6)
~/L/M/c/s/P/l/pdf-converter clj -Aoutdated
| Dependency | Current | Latest |
|---------------------------+----------+----------|
| org.clojure/clojure | 1.10.0 | 1.10.1 |
| org.clojure/clojurescript | 1.10.520 | 1.10.597 |
! ~/L/M/c/s/P/l/pdf-converter clj -Aoutdated -u
Updating: deps.edn
org.clojure/clojure {:mvn/version "1.10.0"} -> {:mvn/version "1.10.1"}
org.clojure/test.check {:mvn/version "0.9.0"} -> {:mvn/version "0.10.0"}
com.cognitect/test-runner {:sha "028a6d41ac9ac5d5c405dfc38e4da6b4cc1255d5"} -> {:sha "f7ef16dc3b8332b0d77bc0274578ad5270fbfedd"}
~/L/M/c/s/P/l/pdf-converter clj -Aoutdated
| Dependency | Current | Latest |
|---------------------------+----------+----------|
| org.clojure/clojurescript | 1.10.520 | 1.10.597 |
~/L/M/c/s/P/l/pdf-converter
{:paths ["resources" "src"]
:deps {org.clojure/clojure {:mvn/version "1.10.1"}}
:aliases {:test {:extra-paths ["test"]
:extra-deps {org.clojure/test.check {:mvn/version "0.10.0"}
me.raynes/fs {:mvn/version "1.4.6"}}}}
:runner {:extra-deps {com.cognitect/test-runner
{:git/url ""
:sha "f7ef16dc3b8332b0d77bc0274578ad5270fbfedd"}}
:main-opts ["-m" "cognitect.test-runner"
"-d" "test"]}}
deps.edn@kwladyka I'm not using it myself, but this hacky script also works: https://github.com/borkdude/babashka/#list-outdated-maven-dependencies
I would never run a tool that auto-updated my deps. I used Depot for a while but the 2.x version doesn't work with our setup (because it processes deps files directly instead of relying on t.d.a. to process all the aliases and override etc via a non-user deps.edn
specified via CLJ_CONFIG
).
Like @borkdude I created a script instead -- it runs clojure -Stree
and massages the output, then creates a deps.edn
with all the :mvn/version
deps changed to "RELEASE"
and re-run clojure -Stree
against that, and then compare the top N levels of those trees.
This script is available on your Github ?
@UFBL6R4P3 There is one variation available here: https://github.com/borkdude/babashka/#list-outdated-maven-dependencies
@borkdudeNice script, to use and also for learning beautiful Clojure scripting. Babashka rocks! Thank you!
@UFBL6R4P3 Our script at work is somewhat proprietary and heavily tied to how our monorepo works (30 subprojects, each with their own deps.edn
and with an overall deps.edn
that is used instead of the ~/.clojure
user-level one, via the CLJ_CONFIG
environment variable).
@U04V70XH6 I understand. Thx for the information, I don't know CLJ_CONFIG
.
New thing in my baggage!