This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-29
Channels
- # adventofcode (8)
- # babashka (12)
- # beginners (91)
- # calva (6)
- # cider (2)
- # circleci (11)
- # clj-kondo (19)
- # clojure (202)
- # clojure-australia (7)
- # clojure-brasil (1)
- # clojure-europe (123)
- # clojure-nl (2)
- # clojure-poland (24)
- # clojure-uk (6)
- # clojured (1)
- # clojurescript (91)
- # core-async (23)
- # cursive (16)
- # data-science (5)
- # datomic (26)
- # emacs (27)
- # events (2)
- # graalvm-mobile (50)
- # graphql (4)
- # honeysql (4)
- # instaparse (33)
- # lsp (24)
- # meander (22)
- # nrepl (3)
- # off-topic (26)
- # pedestal (1)
- # re-frame (15)
- # releases (1)
- # sci (1)
- # shadow-cljs (20)
- # tools-deps (22)
@alexmiller Is it just an oversight that https://ask.clojure.org/index.php/10564/specify-an-alias-that-is-a-set-of-other-aliases has no associated Jira ticket for it?
Hi!
I’m using 1.10.3.855
version of CLI and I’m getting strange (to me at least) results:
$ clojure -P -A:test:lint
Downloading: net/gcardone/junidecode/junidecode/0.4.1/junidecode-0.4.1.pom from central
Downloading: org/clojure/clojure/1.10.2/clojure-1.10.2.pom from central
Downloading: clj-kondo/clj-kondo/2021.03.22/clj-kondo-2021.03.22.pom from clojars
...
$ clojure -P -A:test
Downloading: com/fasterxml/jackson/dataformat/jackson-dataformat-cbor/2.4.4/jackson-dataformat-cbor-2.4.4.pom from central
Downloading: com/fasterxml/jackson/core/jackson-core/2.4.4/jackson-core-2.4.4.pom from central
Downloading: com/fasterxml/jackson/core/jackson-core/2.10.0/jackson-core-2.10.0.pom from central
...
I’m trying to install all the deps with one command, but for some reason there are still “missing” deps when I run -P
with just test
alias (and extra download is happening on CI when test
alias is run, clojure -P -A:test
here is just to illustrate the problem).
Both test
& lint
aliases contain just :extra-deps
key with one dep in each.
Do I miss something?@il.tmfv it could be that :test:lint
results in a different resolution for jackson than only :test
Yep, looks like it
I see that for test
com.fasterxml.jackson.core/jackson-core
is in different “place”
How to handle such situations? Run -P
twice for each alias to have CI cache for all possible deps?
yes, you should run -P for whatever set of aliases you plan to run - the version choices are affected by the total set of libs you've selected
An aside - I really love that Clojure has a man page on my computer. Thank you for maintaining that 🙂
whatever format that's called, it is the worst markup format
troff probably
https://sr.ht/~sircmpwn/scdoc/ You might be interested in trying this instead.
she contributed it a few years ago and I've been keeping it up to date in the package
You probably are aware but https://docs.asciidoctor.org/asciidoctor/latest/manpage-backend/