This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-17
Channels
- # announcements (1)
- # babashka (26)
- # beginners (28)
- # biff (8)
- # calva (45)
- # cider (62)
- # clara (3)
- # clj-kondo (34)
- # cljfx (1)
- # clojure (72)
- # clojure-belgium (1)
- # clojure-canada (13)
- # clojure-conj (2)
- # clojure-dev (3)
- # clojure-europe (19)
- # clojure-nl (1)
- # clojure-norway (1)
- # clojure-uk (8)
- # clojurescript (10)
- # clr (36)
- # core-logic (13)
- # cursive (2)
- # datalevin (2)
- # datomic (23)
- # fulcro (13)
- # graphql (23)
- # instaparse (1)
- # introduce-yourself (4)
- # jobs (1)
- # jobs-discuss (13)
- # lsp (30)
- # luminus (7)
- # malli (2)
- # off-topic (57)
- # polylith (13)
- # portal (5)
- # reagent (32)
- # reitit (6)
- # remote-jobs (1)
- # shadow-cljs (25)
- # xtdb (12)
The most popular HTML pod is bootleg: https://github.com/babashka/pod-registry/blob/master/examples/bootleg.clj
@U02UHTG2YH5 by uberscript if your expectation is to be able to bundle the pod to avoid the download, that would not work i think
I'm trying to convert an old TCL script to babashka. It's remarkably terse. Bootleg seems an odd fit, but I see there's a JSoup pod. I might give that a try. Thanks!
just to clarify, youre fine with downloading the pod when needed right? ubescripts are generally meant for bundling up deps into one big file to avoid downloads
Also, I've maybe hit a bug?
> bb nrepl
Downloading pod jaydeesimon/jsoup (0.1.0)
Exception in thread "main" java.nio.file.NoSuchFileException: /home/robbie/.babashka/pods/repository/jaydeesimon/jsoup/0.1.0/linux/x86_64/META-INF/MANIFEST.MF
at [email protected]/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)
at [email protected]/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:478)
at [email protected]/java.nio.file.Files.newOutputStream(Files.java:220)
at [email protected]/java.nio.file.Files.copy(Files.java:3067)
at babashka.pods.impl.resolver$unzip.invokeStatic(resolver.clj:74)
at babashka.pods.impl.resolver$resolve$fn__26816.invoke(resolver.clj:208)
how did you declare the pod name?
the name looks wrong
It downloaded a file to ~/.babashka/pods/repository/jaydeesimon/jsoup/0.1.0/linux/x86_64/pod-jaydeesimon-jsoup-0.1.zip
well the zip looks wrong
@U02UHTG2YH5 Do you have XDG_CACHE_HOME and XDG_DATA_HOME set? you might be hitting a bug that's been fixed on master
@U04V15CAJ the zip thats in the manifest seems to be a jar file
That's an open issue for a long time. @U02UHTG2YH5 I recommend going with the bootleg pod for now
I think it might be better to remove the jsoup pod from the registry since it doesn't work anyway
yeah the artifact there looks quite messed up
@U04V15CAJ should i remove the jsoup pod from the registry with a note on the issue?