This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-18
Channels
- # announcements (7)
- # babashka (4)
- # babashka-sci-dev (73)
- # beginners (101)
- # biff (4)
- # calva (33)
- # clerk (36)
- # clj-commons (23)
- # clj-kondo (3)
- # clojure (38)
- # clojure-europe (2)
- # clojurescript (29)
- # datalevin (15)
- # emacs (2)
- # fulcro (8)
- # gratitude (1)
- # hugsql (9)
- # hyperfiddle (43)
- # jobs-discuss (4)
- # lsp (47)
- # malli (7)
- # off-topic (14)
- # pathom (5)
- # practicalli (1)
- # releases (7)
- # shadow-cljs (4)
- # spacemacs (6)
- # sql (7)
- # tools-deps (7)
- # transit (8)
- # xtdb (6)
@rahul080327 I'm releasing 1.3.175 with a bunch of upgrades. It seemed good to do a release now to test the new docker stuff. In case anything goes wrong, we have some time to fix
It seems the alpine images aren't there https://github.com/babashka/babashka/pkgs/container/babashka/versions
Maybe I missed something like in kondo?
probably. yesterday I fixed this by logging into an ssh session of the same build and manually executing those things
but with this buildx stuff it's more complicated. I'll fix the docker script and we will do another release soon
Ah line 109
Yeah that’s it
Quite the thing to find on the phone 😅
Crap
tar: Error opening archive: Unrecognized archive format
Error: Failure while executing; /usr/bin/env tar --extract --no-same-owner --file /Users/borkdude/Library/Caches/Homebrew/downloads/f4e490c4d3421449aee3592f4fac5e527e979300cec0d22c3047fc80569207fe--babashka-1.3.175-macos-aarch64.tar.gz --directory /private/tmp/d20230318-44121-kbuktd
exited with 1. Here's the output:
tar: Error opening archive: Unrecognized archive format
What changed there now?
Maybe worth to download that and see what’s in it
The sizes are very weird here: https://github.com/babashka/babashka/releases/tag/v1.3.175
$ fileinfo babashka-1.3.175-linux-amd64-static.tar.gz
Error in pixReadHeader: unknown format in file babashka-1.3.175-linux-amd64-static.tar.gz
Error in writeImageFileInfo: failure to read header of babashka-1.3.175-linux-amd64-static.tar.gz
I can reach back by 45 mins or so. Something in the release script?
Yeah feels like it
Hopefully another release catches it. Good that we are seeing it soon
probably caused by "https://github.com/babashka/babashka/commit/e2f2e9ae4eb95fbca48bacd5bc48f57259ee7aeb"
yep, this is the culprit https://github.com/clj-commons/ordered/commit/caec8d9f3ee690f4a483e14cd3c55acee97e7daa#diff-4d9ec63c0ef460537e520778b5ed2187dd4e912c0e3f1a73587ec0fa9bc37c5cR210
ah. back now. did the bad tars get resolved?
can check the release script
taking a look
its a bad tar since the 1.2.175-SNAPSHOT
yeah trying to narrow down
also these default mime types
yeah something seems weird
I can repro the problem when uploading an image, it seems to be corrupted on download
and this is a manual upload and not via the release script right?
where is the tarring happening?
I spotted it:
(instance? java.io.File body)
(HttpRequest$BodyPublishers/ofString (slurp body))
maybe the content-type is off?
esh, nice find
as for the ordered thing, we stick to the older one?
yeah im just happy we are catching these things immediately 😅
release looks good on linux amd64