This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-03
Channels
- # announcements (8)
- # aws (2)
- # babashka (16)
- # beginners (173)
- # calva (13)
- # cider (4)
- # cljfx (6)
- # cljs-dev (108)
- # clojure (63)
- # clojure-australia (2)
- # clojure-dev (10)
- # clojure-europe (73)
- # clojure-italy (8)
- # clojure-nl (4)
- # clojure-norway (5)
- # clojure-uk (4)
- # clojurescript (49)
- # clojureverse-ops (4)
- # community-development (3)
- # core-async (23)
- # cursive (3)
- # data-science (5)
- # datomic (25)
- # emacs (3)
- # events (1)
- # fulcro (13)
- # helix (5)
- # introduce-yourself (1)
- # lein-figwheel (1)
- # lsp (36)
- # malli (1)
- # meander (2)
- # membrane (4)
- # music (8)
- # nextjournal (51)
- # off-topic (47)
- # other-languages (5)
- # pathom (31)
- # pedestal (5)
- # planck (14)
- # polylith (5)
- # portal (1)
- # re-frame (30)
- # react (2)
- # reagent (24)
- # releases (1)
- # rewrite-clj (18)
- # ring (9)
- # sci (33)
- # shadow-cljs (49)
- # testing (3)
- # tools-build (21)
- # tools-deps (29)
- # vim (19)
- # web-security (1)
- # xtdb (12)
@seancorfield Hello. I'm trying to use build-clj
to build uberjar and noticed that it cannot be used without internet.
If I switch off wifi on my mac, then during the building uberjar I got this message "fatal: «https://github.com/seancorfield/build-clj.git/» unavailable: Could not resolve host: http://github.com"
Is it possible to use local cache .gitlibs on machine to build artifact?
This is in my deps.edn
:build {:deps {io.github.seancorfield/build-clj {:git/tag "v0.6.7" :git/sha "22c2d09"}}
:ns-default build}
Any more to the message than that?
this is with internet
oops. something changed and now build is succesful without internet.
false alarm.
but I can't understand why I got such messages before. Magic.
Well you might have cached classpath now
It wouldn't surprise me if there was something that didn't work where it maybe could
yes. with internet the build is succesfull
I don't believe build-clj adds any dependencies or downloads anything, that is all in the hands of tools.deps
ah, using a :git/tag looks like it causes gitlibs (https://github.com/clojure/tools.gitlibs/blob/master/src/main/clojure/clojure/tools/gitlibs/impl.clj#L179) to unconditionally do a fetch
hmm. This error is flawing. Sometimes it appears, sometime disappears.
is it intentional behaviour?
It's intentional for there to be a cache, but I would be happy to see if we can address it if existing project is in gitlibs and it resolved the url but didn't need to
Might be some optional thing we could do