Commit graph

124 commits

Author SHA1 Message Date
Ingy döt Net
47e55fe5e7
Fix typo (#71) 2024-05-08 14:17:43 +02:00
Michiel Borkent
717cef7af5 ignore 2024-02-27 11:52:37 +01:00
Jo Geraerts
cd968459a7
correct small typo in README.md (#69) 2024-01-26 13:26:09 +01:00
Flávio Sousa
8b717eb001
Update README.md with BABASHKA_PODS_DIR (#68) 2023-06-05 11:13:35 +02:00
Michiel Borkent
6ad6045b94 minor 2023-05-12 16:42:25 +02:00
Jude Payne
b00133ca05
Fix #66: opt-in metadata (#67) 2023-05-12 16:09:40 +02:00
Michiel Borkent
64ecb94de8 changelog 2023-04-02 11:27:07 +02:00
Michiel Borkent
d29cf6aa65 Changelog 2023-04-02 11:26:24 +02:00
Michiel Borkent
1635931483 Fix #65, fix warnings when defining var with core name 2023-04-02 11:25:51 +02:00
Michiel Borkent
75c2216649 Changelog 2023-01-09 21:21:45 +01:00
Michiel Borkent
c2e3d8f8b8 Fix #59: delete port file on exit 2023-01-09 21:21:34 +01:00
Michiel Borkent
16bea5b7db Undo verbose 2023-01-09 21:19:04 +01:00
Michiel Borkent
85c554e643 Fix #63: create directory before un-tarring 2023-01-09 21:16:53 +01:00
Michiel Borkent
4fb0da7daf changelog script 2022-12-29 17:10:04 +01:00
Michiel Borkent
76313a7089 changelog script 2022-12-29 17:07:51 +01:00
Michiel Borkent
28cf3de4ef v0.2.0 2022-12-29 17:06:37 +01:00
Michiel Borkent
81f8845d72
Fix #60 and fix #61, see changelog (#62) 2022-12-29 17:05:23 +01:00
Nate Jones
decf791000
Switch "out" and "err" messages to print and flush instead of println (#57) 2022-09-29 09:27:03 +02:00
Crispin Wellington
53f79da09d
set TCP_NODELAY on transport socket (#55) 2022-09-12 12:43:15 +02:00
Michiel Borkent
8bc0852799
Revert "Revert "Allow env vars OS_NAME & OS_ARCH to override os props (#53)"" (#54)
This reverts commit 6cbbdd118d.
2022-09-07 21:23:32 +02:00
Michiel Borkent
6cbbdd118d Revert "Allow env vars OS_NAME & OS_ARCH to override os props (#53)"
This reverts commit 5754d433aa.
2022-09-07 20:02:27 +02:00
Wes Morgan
5754d433aa
Allow env vars OS_NAME & OS_ARCH to override os props (#53) 2022-09-07 19:47:38 +02:00
Randy Stauner
6df443fabf
Correct spelling of async invocation keys (#51) 2022-07-16 21:00:42 +02:00
Michiel Borkent
93081b75e6
Manifest dir with env var (#50) 2022-07-04 19:57:35 +02:00
Michiel Borkent
66867eee7f CHANGELOG 2022-05-30 10:11:03 +02:00
Michiel Borkent
eb0b01c0a6 fix #49: don't log socket closed exception 2022-05-30 10:10:12 +02:00
Wes Morgan
b9f3a28555
Add babashka/fs to project.clj and deps.edn (#48)
Now that we're using it in the pods.impl ns
2022-05-14 19:28:07 +02:00
Wes Morgan
aee5337cef
Check that cache dir is writable before writing (#47)
...pod metadata cache file
2022-05-14 18:44:00 +02:00
Michiel Borkent
c2d6ba847c pods env var 2022-05-06 14:53:31 +02:00
Michiel Borkent
e075b13bfe
Add fallback for Apple M1 (#46) 2022-03-23 19:32:47 +01:00
Wes Morgan
842ff34739
Fix tests, remove accidental babashka code dependency, & add CI config (#45)
* Update clojure CLI flags in script/test

* Throw error when not one of version or path

...with qualified symbol pod-spec

* Fix some minor formatting issues

* Check for new error message in pod-registry test

* Add a test for resolve fn in edn data readers

* Add CI config

* Try using clojure tools-deps image in CI

* Check for new error message in sci pod-registry test

* Use latest version of buddy in pod-registry test

...for more platform support

* Stop depending on babashka

Instead accept an arg for the thing we were getting from it (location of the bb.edn file)

* Save maven deps in cache in CI
2022-03-23 16:57:56 +01:00
Wes Morgan
f2cfdff899
Feature: declarative pods (#44)
* Use non-deprecated string->int method

* Remove unused next-pod-id

* Support declarative pods loaded on require

* Wait for pod shutdown in load-pod-metadata

* Type hint a File return value to avoid reflection

* Return pod metadata instead of putting in ctx

* Fix local pod loading & support :cache opt

* Document :pods in bb.edn

* Cache local pods metadata in project .babashka dir

* Pass pod resolve-fn to describe->metadata

Not only was this just a bug, but the accidental reference to clojure.core/resolve ballooned the final bb image size to >110MB!
2022-03-23 12:26:58 +01:00
Michiel Borkent
5fbf1d7b04 Revert "Feature: declarative pods loaded at require time (#43)"
This reverts commit 8f059da7e6.
2022-03-22 14:00:24 +01:00
Wes Morgan
8f059da7e6
Feature: declarative pods loaded at require time (#43)
* Use non-deprecated string->int method

* Remove unused next-pod-id

* Support declarative pods loaded on require

* Wait for pod shutdown in load-pod-metadata

* Type hint a File return value to avoid reflection

* Return pod metadata instead of putting in ctx

* Fix local pod loading & support :cache opt

* Document :pods in bb.edn

* Cache local pods metadata in project .babashka dir
2022-03-21 20:46:57 +01:00
Michiel Borkent
538fc6f414 v0.1.0 2021-12-19 20:25:20 +01:00
Paula Gearon
f360afa613
Readme update for metadata (#41) 2021-10-15 19:42:50 +02:00
Paula Gearon
973c4e5c9e
[#38] Support metadata on vars 2021-10-15 17:43:12 +02:00
Paula Gearon
401aeecf52
Fixed example (#39)
Fixed minor error in example
2021-10-13 13:15:05 +02:00
Michiel Borkent
de4c3610c9 minor 2021-05-19 23:48:14 +02:00
Michiel Borkent
0f31e57977 Rename 2021-05-19 21:31:51 +02:00
Michiel Borkent
37326045aa Add support for default transit handler #36 2021-05-19 21:19:18 +02:00
Michiel Borkent
6214f06146 Implicit pod-id 2021-05-19 20:34:38 +02:00
Michiel Borkent
05ecf97127 Scope transit read and write handlers to pod ids 2021-05-19 17:20:55 +02:00
Michiel Borkent
1fdd8231bd
[#33] Allow pods to register transit handlers for reading and writing 2021-05-17 11:41:51 +02:00
Huahai Yang
82aa362710
correct clojars badge url (#32) 2021-03-19 18:43:16 +01:00
Michiel Borkent
490073f93a Add clojars badge 2021-03-17 19:55:39 +01:00
Michiel Borkent
39241ebc82 deps 2021-03-17 19:53:42 +01:00
Michiel Borkent
84943b0759 v0.0.1 2021-03-17 19:51:27 +01:00
Jakub Holy
a033bccaf0
Readme: Explain where pods come from (#29) 2021-01-22 15:12:55 +01:00
Michiel Borkent
0bffce3573 Write to output before delivering result 2021-01-03 18:00:42 +01:00