This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-25
Channels
- # aws (2)
- # aws-lambda (2)
- # beginners (95)
- # boot (47)
- # cider (13)
- # clara (5)
- # cljs-dev (36)
- # cljsjs (9)
- # clojure (51)
- # clojure-austin (1)
- # clojure-greece (25)
- # clojure-italy (4)
- # clojure-japan (10)
- # clojure-russia (13)
- # clojure-spec (61)
- # clojure-uk (25)
- # clojurescript (26)
- # core-matrix (5)
- # cursive (8)
- # data-science (7)
- # datomic (43)
- # dirac (2)
- # emacs (8)
- # events (3)
- # fulcro (17)
- # graphql (29)
- # jobs-rus (4)
- # lambdaisland (4)
- # lein-figwheel (3)
- # leiningen (60)
- # luminus (15)
- # lumo (8)
- # mount (3)
- # off-topic (28)
- # om (22)
- # onyx (115)
- # other-languages (6)
- # pedestal (5)
- # re-frame (41)
- # reagent (12)
- # ring-swagger (12)
- # shadow-cljs (127)
- # unrepl (27)
- # yada (5)
Hi there, I am trying to deploy https://github.com/roryk/clojupyter to clojar and it fails with timeout
does anyone has an idea what can cause this?
does clojars looks at the github's project's owner?
@shaun-mahood it does not work here
it is probably not in the default maven repo
http://central.maven.org/maven2/com/sun/media/jai_imageio/1.1/jai_imageio-1.1.jar
https://mvnrepository.com/artifact/com.sun.media/jai_imageio/1.1 is the info page for it
But this one works http://www.dcm4che.org/maven2/com/sun/media/jai_imageio/1.2-pre-dr-b04/jai_imageio-1.2-pre-dr-b04.jar
https://github.com/jai-imageio/jai-imageio-core is the more up-to-date version of it, but has some things pulled out for license compatibility
Thanks for checking - I'm going to put it into http://deps.co :)
I've heard more than once about how great it is that Maven central always works - is this just one of those weird edge cases (maybe licensing related?) where it doesn't?
yeah I've never seen that happen before. It's a really old file, so could be some combination of bit-rot + licensing
Ok that's kind of what I figured. Crystal reports can break anything :)
can someone try to deploy https://github.com/roryk/clojupyter to its own clojars namespace
for an unknown reason I cannot deploy it
it makes me mad
weird, open an issue https://github.com/clojars/clojars-web/issues/ if it doesn't resolve itself
@didiercrunch can you deploy other libraries?
it looks like it is an issue on my side
the above repo is almost the same thing than clojupyter
When deploying a new lib we check if it exists on Maven Central, it's possible that check is failing here?
i do not see it
I try (defproject org.clojars.didiercrunch/clojupyter "0.1.0"
and does not work more
org.clojars.didiercrunch/foobar
is not working either
damn! clojupyter is at http://search.maven.org/#artifactdetails%7Cclojupyter%7Cclojupyter%7C0.1.0%7Cjar
what can I do?
use a different org name?
wait n/m I think I misunderstood
a different org name does not work ðŸ˜
I don't have time to help at the moment, but open an issue if you can't get this working or try #clojars
cheers
I am going to bed right now but I believe my jar is quite large (7M) and takes too much time to upload
I have a quite bad internet connection
is there a way to increase the timeout?
And this is happening because it's making an uberjar like thing
apparently I'll need to go to the local coffeeshop to deploy the jar tonight
Help, I am being overwhelmed by IntelliJ! 🙂 I just got a new box and installed IntelliJ and managed to again open my project the wrong way so it did not know I was using leiningen. A month ago some kind soul gave me the path to the option where I could fix that on the fly, but now I cannot find that. I re-opened and did it right the second time (I think--indentation is back to working) but I am stubborn and want to find that option (to modify a project to be under leiningen). The Google helpeth not. Any leads appreciated.
In lein 2.7.1, I was (perhaps incorrectly?) calling (System/exit 1)
to exit lein with exit status 1. This worked fine, but in 2.8.0, lein exits 0 (when when the subprocess fails)
@bbrinck what’s the use case for running your code via lein and also caring about the exit status?
by which I mean, for me leiningen is a build tool, and I have lein produce a jar for actual use
@bbrinck just a hunch - if you add the trampoline
arg, does the behavior get better? many behaviors about the jvm process are improved when trampolining, because without trampoline you are starting two vms, the lein vm (which the shell sees) and the second jvm that actually runs your code
my guess is that jvm 1 (with lein) waits on jvm 2 (with your code) and nobody checks or cares what exit status jvm 2 delivers
jvm 1, which returns to the shell, is returning 0 no matter what 2 does - though I bet this would be easy to patch if there were a good use case
@noisesmith My use case is to fail builds is cljsbuild encounters warnings. On CI, we run cljsbuild to confirm CLJS code compiles. We can register a warning handler to cljsbuild and exit 1 if we get a warning
trampoline should be just fine for a cljsbuild task too
@noisesmith sweet, trampoline worked.
:thumbsup:
see also any weird behavior around suspending the process, or closing / opening stdio
trampoline just fixes the things by avoiding the weird process to process indirection
@bbrinck we do something similar, this might be a bug in 2.8.0?
I can confirm this worked in 2.7.1, but I wasn’t sure if this is a bug in 2.8.0 or if I was doing something unsupported in 2.7.1 🙂
yeah I suspect it might be, as it would affect other stuff that runs inside the project that exits with a status. I haven't tested kibit with 2.8.0 but that might be a problem