Commit graph

3341 commits

Author SHA1 Message Date
Michiel Borkent
6eff4cc738 Add missing methods on iterator 2022-04-05 11:15:13 +02:00
Wes Morgan
211757d5a4
Add prepare subcommand (#1229)
* Add prepare subcommand

Downloads deps & pods, caches pod metadata, and then exits

* Add prepare subcommand to CHANGELOG

Co-authored-by: Michiel Borkent <michielborkent@gmail.com>
2022-04-05 11:04:38 +02:00
Stel Abrego
d2278835f1
Fix #1041: Improve error message when regex literal in EDN config (#1230)
* Improve error message when regex literal in EDN config (#1041)

Regex literal syntax (example: #"^foo") is not allowed in EDN. With the
ability to write tasks in the config file, users may mistakenly try to
include regex literals. This patch improves the error message by
informing the user that literal regex syntax is not allowed and
recommends using re-pattern instead.

* Update changelog

* Fixup main.clj

* Fixup changelog
2022-04-05 11:03:39 +02:00
Michiel Borkent
60df83b629 Version bump 2022-04-04 16:39:45 +02:00
Michiel Borkent
d4b9f5ed10 CHANGELOG 2022-04-04 16:22:45 +02:00
Michiel Borkent
9b19642039 CHANGELOG 2022-04-04 16:19:35 +02:00
Michiel Borkent
3b9cd12931 v0.8.0 2022-04-04 16:18:36 +02:00
Michiel Borkent
b102a4ae0e Upgrade tests to hugsql 0.5.3 2022-04-04 13:52:36 +02:00
Michiel Borkent
db9a8ff10c Add unchecked math 2022-04-03 21:39:08 +02:00
Michiel Borkent
f1db01aede Add ->Eduction 2022-04-03 21:39:08 +02:00
Wes Morgan
4886fe48ae
Link to declarative pods docs in changelog (#1228) [skip ci] 2022-04-03 20:28:00 +02:00
Michiel Borkent
5959ba99ec CHANGELOG [skip ci] 2022-04-03 15:06:37 +02:00
Michiel Borkent
f1adb99eff Revert "Bump Clojure"
This reverts commit fabb945f8c.
2022-04-03 15:06:22 +02:00
Michiel Borkent
fabb945f8c Bump Clojure 2022-04-03 14:58:32 +02:00
Michiel Borkent
7f7b66aeaf CHANGELOG [skip ci] 2022-04-03 14:55:10 +02:00
Michiel Borkent
76a57500af bb.curl: fix: last set-cookie headers on a page overwrites the ones before 2022-04-03 14:45:13 +02:00
Michiel Borkent
1063868554 fix #1211: return exit code 130 on sigint 2022-04-03 14:11:37 +02:00
Michiel Borkent
f09e085c75 Move bb.edn in uberjar to META-INF 2022-04-03 13:36:00 +02:00
Michiel Borkent
e81ef4aac0
Declarative pod support for uberscript (#1227) 2022-04-02 23:41:04 +02:00
Michiel Borkent
7af93adf15 Fix test 2022-04-02 17:47:27 +02:00
Michiel Borkent
ea4c4eae77 windows fix 2022-04-02 17:09:34 +02:00
Wes Morgan
963bd7957a
Feature: declarative pods support in uberjars (#1217)
* Store bb.edn in uberjar & load when run from there

* Sync resources deps.edn w/ root

* Throw error if --config arg doesn't exist

...instead of silently falling back on ./bb.edn

* Fix jar file arg parsing

Moving all arg parsing up above bb.edn ingestion made tasks turn into files to load. But this is a chicken-and-egg problem w/ uberjars b/c the bb.edn is inside the jar file, so we need that first. So I extracted the file parsing out into its own fn and put the full arg parsing back where it was after ingesting bb.edn.

* Fix local pod key in error message

* Ensure resources dir exists when copying bb.edn into it

* Copy bb.edn to temp dir when building uberjar

..and add that dir to the classpath for the jar

* Only put :pods in uberjar bb.edn

* Small readability fix

* Add ret val type hints for classpath/resource

Got a reflection warning on one of my calls

* Add a test for uberjars with bb.edn-declared pods

* Only run uberjar-with-pods-test on amd64 for now
2022-04-02 16:51:08 +02:00
Michiel Borkent
1cf914ad1c Bump Selmer 2022-04-01 18:22:56 +02:00
Michiel Borkent
ff54332977 Make java.util.Scanner available 2022-03-31 12:07:35 +02:00
Michiel Borkent
4d24cdca2a
Proxy support for PipedInputStream and PipedOutputStream
* Spire requires proxy support for java.io.PipedInputStream and java.io.PipedOutputStream

* proxy support for java.io.PipedInputStream and java.io.PipedOutputStream

* proxy tests for PipedInputStream and PipedOutputStream

Co-authored-by: Crispin Wellington <retrogradeorbit@gmail.com>
2022-03-31 10:00:16 +02:00
Michiel Borkent
bee5a88d16 Update fs: which improvements 2022-03-31 09:45:54 +02:00
Thiago Kenji Okada
a4a8ce5306
Unbump zlib to version 1.2.11 (#1222)
The newer 1.2.12 version is breaking the tests. The older version is not
available in the main download path, however it is still available in
the archive.
2022-03-28 18:07:42 +02:00
Michiel Borkent
bffc4bf00c Use old musl 2022-03-28 17:55:04 +02:00
Michiel Borkent
bef6d99740 Revert "Fix musl"
This reverts commit c7428da216.
2022-03-28 17:53:55 +02:00
Michiel Borkent
c7428da216 Fix musl 2022-03-28 17:14:09 +02:00
Michiel Borkent
b29a419bd0 deps.clj 2022-03-28 17:03:24 +02:00
Michiel Borkent
3bb54ee5e0 fix process pprint 2022-03-27 17:02:10 +02:00
Michiel Borkent
d786a5a9b2 process pprint 2022-03-27 17:01:13 +02:00
Michiel Borkent
6c568d62d4 Process: fix for pprint 2022-03-27 16:27:44 +02:00
Michiel Borkent
c0007e55c4 Revert "process: pprinting"
This reverts commit ba582d14a2.
2022-03-27 12:21:04 +02:00
Michiel Borkent
ba582d14a2 process: pprinting 2022-03-27 12:06:34 +02:00
Michiel Borkent
cd013227d5 Revert "Support sun.misc.Signal handlers (#1221)"
Shutdown code should be handled with a shutdown hook

This reverts commit 81a1fd4c86.
2022-03-27 12:04:50 +02:00
Michiel Borkent
81a1fd4c86
Support sun.misc.Signal handlers (#1221) 2022-03-26 22:45:49 +01:00
Michiel Borkent
72ae663842 fix #1220: add reflection on java.util.concurrent.Future 2022-03-25 12:07:30 +01:00
Michiel Borkent
586b2234aa SCI 2022-03-25 11:51:22 +01:00
Michiel Borkent
41703971b1 SCI 0.3.4 2022-03-24 21:46:17 +01:00
Michiel Borkent
450bddef20 Bump Clojure to 1.11 2022-03-23 23:50:54 +01:00
Michiel Borkent
1ad93077c1 fix #1216: fix core.async alts example with polyfill 2022-03-23 23:49:09 +01:00
Michiel Borkent
c3cae22541 pods: Rosetta2 fallback 2022-03-23 19:33:49 +01:00
Wes Morgan
e602286799
feat #863: Load pods from bb.edn (#1205)
Co-authored-by: Michiel Borkent <michielborkent@gmail.com>
2022-03-23 17:08:59 +01:00
Michiel Borkent
68bed0723c Update pods 2022-03-23 17:01:17 +01:00
Michiel Borkent
e83ef7a69f Bump timbre 2022-03-23 15:12:15 +01:00
Michiel Borkent
1e72562c9a Bump SCI 2022-03-23 13:09:22 +01:00
Michiel Borkent
8d1de7285e Update pods lib 2022-03-23 12:27:46 +01:00
Michiel Borkent
6305f7450d
Add compatibility with GraalVM 22.1 (#1215)
* do not init java net http classes at build time
2022-03-22 16:41:26 +01:00