Open tiye opened 4 years ago
Unfortunately, deps-library fetches dependencies from registry and it's pretty slow from China. So... I have to use install
very frequently so solve our own case.
This sounds like behaviour of tools.deps itself. Would this not be the same with any tool that relies on dependencies from clojars/ maven central? How do others in China work around that? (Local mirrors?)
While trying shadow-cljs we figured out there are mirrors:
:repositories {
"central" {:url "https://maven.aliyun.com/nexus/content/groups/public/"}
"clojars" {:url "https://mirrors.ustc.edu.cn/clojars/"}
}
The clojars repo looks like syncs 1 or 2 times a day. Uself for most of the libraries.
Hm, should work to set up those mirrors in your system deps.edn? Looking at ‘Procurers’ here https://clojure.org/reference/deps_and_cli
My device might be slow(1.2 GHz Intel Core m3) but it takes so much and I don't know what's happening...
It was not always this slow but roughly 10s could be cost based on my impressions.