Commit graph

2361 commits

Author SHA1 Message Date
Michiel Borkent
745e2b0848 sci minor [skip ci] 2021-05-28 11:50:48 +02:00
Michiel Borkent
1fe1e46e71 sci: minor improvements 2021-05-28 11:44:20 +02:00
Michiel Borkent
b9524e5d6e sci: case improvements 2021-05-28 11:30:16 +02:00
Michiel Borkent
7a3c30ab3f babashka.fs [skip ci] 2021-05-28 09:28:14 +02:00
Michiel Borkent
48a9ec6c0d Install script [skip ci] 2021-05-27 17:35:55 +02:00
Michiel Borkent
ec479f049a Example: xml-zip [skip ci] 2021-05-27 09:31:35 +02:00
Michiel Borkent
17f35b4d48 sci and tweak aot 2021-05-26 17:38:34 +02:00
Thiago Kenji Okada
4b4ada9617
Improve script/setup-musl (#867) 2021-05-25 18:52:30 +02:00
Michiel Borkent
3eafacac2b sci: set! for CLJS 2021-05-25 15:44:56 +02:00
Michiel Borkent
6bcc0e4a3f deps.clj 2021-05-25 15:44:56 +02:00
Michiel Borkent
5890238666 deps.clj 2021-05-25 15:44:56 +02:00
Jakub Holy
4a5972f15e
projects: + oidc-client (#862) [skip ci] 2021-05-21 19:35:51 +02:00
Thiago Kenji Okada
20cc3b4cdd
Use shasum instead of sha256sum [skip ci] (#861)
sha256sum is not available in macOS by default.

See: https://github.com/ESGF/esg-search/issues/84#issuecomment-213694850

However, shasum seems to be avaialble, so use that instead.
2021-05-21 16:52:38 +02:00
rng-dynamics
512a6f2220
feat: print data of uncaught ExceptionInfo to output (#854)
* feat: print data of uncaught ExceptionInfo to output

* println -> prn, add tests
2021-05-20 22:49:58 +02:00
Michiel Borkent
6f15b507c6 Version bump 2021-05-20 13:10:18 +02:00
Michiel Borkent
22f3464066 v0.4.3 2021-05-20 12:52:41 +02:00
Michiel Borkent
ab9d2a0c2c Version bump 2021-05-20 12:43:01 +02:00
Michiel Borkent
66e4d1936c CHANGELOG [skip ci] 2021-05-20 12:41:31 +02:00
Michiel Borkent
ce5fdcd564 v0.4.2 2021-05-20 12:09:41 +02:00
Michiel Borkent
add033324b 0.4.2 2021-05-20 12:09:35 +02:00
Michiel Borkent
47cc09908a Pods: minor 2021-05-20 12:04:41 +02:00
Michiel Borkent
ae9eaa4bc4 Pods: transit fns 2021-05-19 21:32:25 +02:00
Michiel Borkent
703b517718 Add transit read-handler-map and write-handler-map 2021-05-19 19:19:23 +02:00
Michiel Borkent
a4b97cb1e7 babashka.curl README 2021-05-19 15:55:47 +02:00
Michiel Borkent
a942befc65
Add more agent vars (#857) 2021-05-19 14:00:48 +02:00
Andrea Richiardi
7e3b1f58d5
Use sequential? for identifying if the script output needs splitting (#853) 2021-05-19 00:07:39 +02:00
Michiel Borkent
9f48048472 [#847] Better error handling for parallel tasks (2) 2021-05-18 13:19:09 +02:00
Michiel Borkent
e18f4302a8
[#847] Better error handling for parallel tasks 2021-05-18 12:39:21 +02:00
Michiel Borkent
00091136d3 CHANGELOGS [skip ci] 2021-05-18 10:56:48 +02:00
Michiel Borkent
5ce7f2d67d babashka.pods: transit read+write handlers 2021-05-17 11:45:11 +02:00
Michiel Borkent
454ed43ae4 Fix deps.edn 2021-05-16 23:13:10 +02:00
Michiel Borkent
42104a617d deps.edn [skip ci] 2021-05-16 23:00:16 +02:00
Thiago Kenji Okada
21fc124b1c
Fix link in README.md [skip ci] (#848) 2021-05-16 17:29:02 +02:00
Michiel Borkent
a832b85ab5 browse-url: Use open in macOS without specifying location 2021-05-15 23:22:02 +02:00
Thiago Kenji Okada
69e58440ab
Improve clojure.java.browse (#846)
* Remove xdg-open hardcoded path in impl.clojure.java.browse

Binaries in Linux are not guarantee to be located on /usr/bin.

For example, NixOS the binaries are located in
/run/current-system/sw/bin/xdg-open (that is actually just a symlink to
/nix/store). The distro may also not have xdg-open installed at /,
instead the user may put it somewhere else like $HOME/bin.

This commit fixes this by using not hardcoding the PATH of xdg-open,
instead relying on shell path to search it.

* Implement clojure.java.browse/*open-url-script*

This allows usage of a custom URL script, like:

```clojure
(binding [*open-url-script* (atom "my-browse-url-script")]
  (browse-url "https://google.com"))
```

*open-url-script* is an atom just to keep compatibility with Clojure.

Described here: https://clojuredocs.org/clojure.java.browse/*open-url-script*
2021-05-15 22:10:52 +02:00
Thiago Kenji Okada
e4d5988921
Document install new flags in README.md (#844) [skip ci] 2021-05-14 21:27:53 +02:00
Thiago Kenji Okada
c39d4bc320
Improve install script (#842)
* Add checksum to install script

This will allow someone to check if Babashka is correctly downloaded,
e.g.:

```
$ ./install --dir /tmp --checksum 3cb19f158b9f1655e0165b6c4067d35faaa05882bbdb230616c91085b02b5bf4
Downloading https://github.com/babashka/babashka/releases/download/v0.4.1/babashka-0.4.1-linux-amd64.tar.gz to /tmp
Failed checksum on babashka-0.4.1-linux-amd64.tar.gz
Got: 3cb19f158b9f1655e0165b6c4067d35faaa05882bbdb230616c91085b02b5bf3
Expected: 3cb19f158b9f1655e0165b6c4067d35faaa05882bbdb230616c91085b02b5bf4
```

There is no check by default. This makes this change backwards
compatible (e.g.: if the machine doesn't have sha256sum, this change
will not break installation).

* Add --static to install script

This will allow installation of static instead of dynamically binaries
on Linux.

* Add checksum to print_help

* Add check that --checksum and --options should be provided together
2021-05-14 21:05:38 +02:00
Michiel Borkent
e6a2fdbb45
Add HoneySql v2 tests (#841) 2021-05-14 12:04:56 +02:00
Michiel Borkent
17a7129595 README [skip ci] 2021-05-14 10:30:52 +02:00
Michiel Borkent
439a1b1053 Version bump 2021-05-13 13:46:44 +02:00
Michiel Borkent
4c816cbfba v0.4.1 2021-05-13 13:26:14 +02:00
Michiel Borkent
6aca41a48a
[#829] Allow thread-first in combination with shell 2021-05-13 13:10:56 +02:00
Michiel Borkent
11b066ae70 Include binary size in msg 2021-05-13 12:13:02 +02:00
Michiel Borkent
c01700c9c7 Update release link 2021-05-13 12:10:37 +02:00
Michiel Borkent
c8e6e7ad4c Update release link 2021-05-13 12:02:01 +02:00
Michiel Borkent
7462d86afd [#837] Add babashka.task System property 2021-05-13 11:53:28 +02:00
Michiel Borkent
5014012bd6 [#836] Add :error-fn option to shell 2021-05-13 11:45:27 +02:00
Michiel Borkent
5554619a9d Selmer: util/set-missing-value-formatter! 2021-05-11 22:13:50 +02:00
Michiel Borkent
00fd7820c3 Fix Windows httpkit config 2021-05-11 14:16:35 +02:00
Michiel Borkent
4ffd08f360 [#835] Expose escaping functions from selmer.util 2021-05-11 13:19:31 +02:00