This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-26
Channels
- # architecture (2)
- # beginners (310)
- # boot (34)
- # cider (50)
- # cljs-dev (82)
- # cljsrn (1)
- # clojure (125)
- # clojure-dusseldorf (1)
- # clojure-hamburg (1)
- # clojure-italy (47)
- # clojure-russia (21)
- # clojure-spec (38)
- # clojure-uk (36)
- # clojurescript (200)
- # community-development (21)
- # cursive (10)
- # datomic (15)
- # duct (58)
- # emacs (20)
- # fulcro (10)
- # funcool (1)
- # graphql (2)
- # hoplon (6)
- # jobs (1)
- # lumo (12)
- # mount (20)
- # off-topic (14)
- # om (5)
- # portkey (43)
- # protorepl (2)
- # re-frame (31)
- # reagent (36)
- # ring (17)
- # ring-swagger (6)
- # shadow-cljs (50)
- # spacemacs (9)
- # sql (5)
- # tools-deps (28)
- # uncomplicate (4)
- # unrepl (5)
- # vim (2)
- # yada (2)
Usually it take about 5-10 minutes
Sometimes it’s available for download before it shows up in the web apis - I think some of that is updated in batch
where are you looking for it?
I release Maven jars almost every week for something or other and I almost never see a lag like that
The timestamp in their web UI looks like reflects an older stamp of when the JAR was actually created
1.10.238/ 2018-03-25 14:09 -
But that directory wasn't there earlier today (say, several hours after David triggered the build, and I went fishing in there.)
which web ui are you looking at?
those are updated in batch so often don’t reflect the availability of the jar
usually I would watch a directory like http://central.maven.org/maven2/org/clojure/clojurescript/
typically I see stuff show up in there after about 10 minutes, but often the jar is available before that even. If you’re using mvn or lein to check you also need to use -U to force it to re-update
for the ws repl implementation, I tried storing all the outs and response state in browser-state and server-state atoms within the IJavasScriptEnv object, but it ended up not making sense. The bindings need to be globally referenced.
clj actually doesn’t have an equivalent of the -U so you have to wait for the maven cache to time out, so in this case, clj may be hurting your ability to see latest
actually, now I’m not sure what clj does or what controls that in the api… looking
the default policy is “daily” and I see where it can be set, might be a good thing to expose in clj
it’s also settable on a per-repo basis
FWIW, I also blew away my .m2
directory entirely several times today (because I would build 1.10.238 locally, but want to clear it all out again to see if it was available from maven)
Presumably that would clear out any way for it to know when the last attempt was, right? Or does that state get stored outside of ~/.m2
?
I also think last time this happened that I also tried lein
, but I’m not completely sure. I want to say that Maven doing slow batched updates is a likely explanation.
lein and maven will definitely not re-update a failed download without -U - they use the default daily policy otherwise
yeah, the state is stored in the .m2 meta files so blowing that away does mean it’s external
sometimes maven central does get backed up, so that is possible, just been a while since I saw that
I'm curious; what is the rationale behind routing patches through Jira instead of pull requests? Is it just a case of tracking code changes with Jira tickets?
@dnolen That's cool. I'm just curious what kind of benefits it has.
I will say though after seeing how Closure Compiler works - the advantages of seeing CA and CI when people submit something really seems like a better process
CI/CD? I'm not familiar with CA.
That makes sense. Just a holdover from the past I guess?
:thumbsup: Thanks
Heh, I hadn't actually read the CA until now. I guess that's just one of those BDFL things I haven't run into before. 😛
@dnolen If you'd like me to work on a fix https://github.com/clojure/clojurescript-site/issues/207 I have some free time now
^ is now fixed and https://clojurescript.org/guides/quick-start is showing the browser image
That was a pretty smooth launch—it is nice that we had everything prepared and just had to make it so.
Is canary working? * Errored task chromex * clojure.lang.ExceptionInfo: Travis build request was rejected. Your travis account might be banned. * {"message" "Abuse detected",
One of Metosin libs broke due to MapEntry changes so I'll look adding it to canary at some point
@juhoteperi yes, my travis account was blocked, but @mfikes’s travis builds should still run, I’m going to investigate why they appear as “disabled” on the overview
@juhoteperi fixed: https://github.com/cljs-oss/canary/commit/18dc90e82bd5189fe611b2ad4c092792a518c56d, next run should properly report everything except my libs, in other words nothing should stop you adding your lib and trying it 🙂
ok, canary should be fully working by now, my travis account just got unbanned - btw. the ban wasn’t related to canary. turned out I did a pull request into a bitcoin-related project and that triggered a ban from their bitcoin mining abuse prevention subsystem, it was a false-positive @mfikes @juhoteperi
@dnolen fyi, I am getting close on the windows clj. I actually had my first successful run with it yesterday. Still a lot of cleanup and testing.
@mfikes re https://dev.clojure.org/jira/browse/CLJS-2705 you were quicker 😉 but I think the error message could be much better
$ clj
Clojure 1.9.0
user=> (require 'foo-bar)
FileNotFoundException Could not locate foo_bar__init.class or foo_bar.clj on classpath. Please check that namespaces with dashes use underscores in the Clojure file name. clojure.lang.RT.load (RT.java:463)
user=> (require 'foobar)
FileNotFoundException Could not locate foobar__init.class or foobar.clj on classpath. clojure.lang.RT.load (RT.java:463)
I apologize to contributors missed in the first version of the news this morning. This has hopefully been corrected now. If your name is missing, please let me know. https://clojurescript.org/news/2018-03-26-release#_contributors
@mfikes I fixed up the transit-cljs issues that seemed problematic to me - let me know if you see anything else around Transit that seems critical if you have time
@dnolen I think the ability to write the 3 kinds of map entries might be useful if not yet addressed, so that transit-cljs has parity with transit-clj (perhaps it writes them as 2-element vectors, but I can't recall) (https://github.com/cognitect/transit-cljs/issues/33)
More insight into ^ is in the duplicate ticket I wrote https://github.com/cognitect/transit-cljs/issues/42
@mfikes I think need a issue with complete description it’s too hard to piece together right now
OK. In 42 it shows examples of what fails. But to be honest, it is not clear if transit-clj just succeeds by accident
Definitely, I agree it doesn't seem like a trivial thing to just throw in without understanding fully
I'll see if I can solidify the transit-clj behavior (try to suss out if it works only by accident, for example)