dirac

Dirac v1.7.2 is out: https://github.com/binaryage/dirac/releases/tag/v1.7.2
bnstvn 2020-01-21T13:59:17.002700Z

hello, i was trying to install this as per https://github.com/binaryage/dirac/blob/master/docs/cli.md#installation — is there anything obvious i’m missing? thanks!

17:37 $ date
Fri Jan 17 17:37:52 CET 2020
✔ ~ [master ↑·1|✚ 7⚑ 1]
17:37 $ curl -s <https://raw.githubusercontent.com/binaryage/dirac/master/install> &gt; /tmp/dirac.install &amp;&amp; sudo bash /tmp/dirac.install
Password:
Downloading Dirac CLI tool...
Installing Dirac CLI tool as '/usr/local/bin/dirac'...
/usr/local/bin/dirac
✔ ~ [master ↑·1|✚ 7⚑ 1]
17:37 $ dirac
Error building classpath. Could not find artifact org.clojure:clojurescript:jar:1.10.599 in central (<https://repo1.maven.org/maven2/>)

2020-01-21T14:00:59.003700Z

@ban.istvan hi, it is trying to fetch wrong clojurescript version, 1.10.599 is not publically released, not sure where it came from

2020-01-21T14:01:15.004200Z

but I have probably committed some hardcoded dep wrongly

2020-01-21T14:04:14.004800Z

just did a quick search through the dirac repo and I don’t see it anywhere

2020-01-21T14:05:14.005200Z

ah, I got it: https://clojars.org/binaryage/dirac, it got into dirac.jar dependency

2020-01-21T14:05:48.005900Z

this is definitely a mistake, I was experimenting with clojurescript patches on my machine and this got propagated there

2020-01-21T14:07:06.006700Z

you can work around it for now by going to your ~/..m2/repository/org/clojure/clojurescript/ cache directory and copy 597 to 599

2020-01-21T14:07:14.007Z

I will have to release a new fixed version

bnstvn 2020-01-21T14:10:16.007300Z

thanks! 👍

2020-01-21T14:11:32.007500Z

the problem is here: https://github.com/binaryage/dirac/blob/master/project.clj#L4 I had set CANARY_CLOJURESCRIPT_VERSION in my environment when I was doing last deploy, and this borked the deps

2020-01-21T17:08:47.008700Z

@ban.istvan 1.5.5 should have it fixed, you must install dirac cli again to get a fixed version of the cli tool

bnstvn 2020-01-21T17:22:49.009300Z

yep, it works! thanks!

2020-01-21T17:23:18.009800Z

you are probably first one trying it, it might have rough edges, please report any issues 🙂

2020-01-21T17:23:41.010200Z

I mean running it through the new “dirac” CLI