Fork me on GitHub
#tools-deps
<
2020-10-13
>
orestis11:10:42

I’m seeing this in Github actions — when trying to do a -X — presumably some weirdness in Clojure version?

Execution error (FileNotFoundException) at clojure.main/main (main.java:40).
955
Could not locate clojure/run/exec__init.class, clojure/run/exec.clj or clojure/run/exec.cljc on classpath.

delaguardo11:10:59

how you setup clojure-cli for your action?

orestis11:10:26

Via… your action 🙂

orestis11:10:45

clojure -Stree gives me this

org.clojure/clojure 1.10.1
1089
  org.clojure/core.specs.alpha 0.2.44
1090
  org.clojure/spec.alpha 0.2.176
1091
org.clojure/tools.deps.alpha 0.9.816

orestis11:10:16

And clojure --help gives me

Version: 1.10.1.708

delaguardo11:10:46

could you change the version of my action?) to this DeLaGuardo/setup-clojure@master

delaguardo11:10:52

new jar (exec.jar) was introduced recently as a part of clojurecli installation now it is fixed in master

delaguardo11:10:07

sorry for inconvenience (

orestis11:10:57

No worries, I was just about to dive into the source code 🙂

borkdude14:10:22

Script to update pom.xml version, if that's useful to anyone: https://github.com/borkdude/babashka/blob/master/examples/set_pom_version.clj

flowthing15:10:52

Cool! Guess you could also do mvn versions:set -DnewVersion=1.0.1, too, though?

borkdude15:10:58

Hehe. I didn't know that. ^ @UME7B1EBV

👍 3
borkdude15:10:40

I guess the script becomes more useful when you want to actually parse the version and bump it.

flowthing15:10:55

Certainly. You might be able to do that with the Maven Release plugin, too, but I’m not sure.

Søren Sjørup19:10:56

The maven version downloads everything on http://apache.org to do the job for me though 🙂

flowthing07:10:48

Sure, Maven downloading the entire internet before doing anything is a time-honored tradition. 🙂 It'll only do that the first time you run the command, though.

👍 3
Alex Miller (Clojure team)15:10:03

I think maybe I forgot to post it here, but I did a clj 1.10.1.716 prerelease this past weekend that includes a bump in many dependencies (maven resolver, aws api), and changes to make the edn reading more tolerant of unknown tagged literals in alias data

👀 3
🎉 3
seancorfield15:10:11

I'll update my dev/test setup today to try it out, and integrate it into our work repo.

seancorfield19:10:34

So far so good. Now it's on our QA infrastructure and handling deps/building JARs all seems to be working just fine.

rickmoynihan09:10:48

ahh amazing I’ll make a note to give it a try at some point. Thanks 🙇