clj-yaml 2022-09-24

You can now get the latest changes of clj-yaml as a git dependency! https://github.com/clj-commons/clj-yaml#use-as-git-dependency

I published a temp fork of SnakeYAML to io.github.borkdude and wrote a test showing that the leading zero is fixed: https://github.com/clj-commons/clj-yaml/pull/54 I'll update this PR once SnakeYAML 1.33 upstream comes out

I also deployed a temporary clj-yaml version from this PR branch: io.github.borkdude/clj-yaml {:mvn/version "0.7-1.33-next"} I'm going to test this one in bb now

$ clj -M:babashka/dev -e "(require '[clj-yaml.core :as yaml]) (yaml/generate-string [\"083\"])"
"['083']\n"

I published a new bb with the all new snakeyaml + clj-yaml fixes as a temporary dep until all upstreams are streamed down!

1
🚀 1
🎉 1

Also thanks for moving issues->discussions

Because I didn't know how mvn deployment to clojars worked, I compiled and deployed the lib using tools build 😆 https://github.com/borkdude/SnakeYAML/blob/053b63daa895294dcf55a745aa48f06dfff1dea4/build.clj#L48

It's so nice that clojure.tools.deps can play nice just sitting alongside mvn.

argh, wtf...?

Actually, I think this is a hanging commit out there.

LOL So, let me amend, what motivated the experiment to move flatland/ordered to frankiesardo/linked?

@grzm I found this: https://clojurians.slack.com/archives/C03S1KBA2/p1585601368388200?thread_ts=1585581040.368800&cid=C03S1KBA2 It had to do with the added binary size of clj-yaml in bb so I investigated the effect of that dependency

I believe we actually removed useful from ordered because of that.

👍 1

I think as long as it lets us write edn and make other systems happy with the yaml output, it's worth it

I have to (hatefully, reluctantly) agree.

😅 1

it's just part of the blue collar bash-stained workplace toolset

English vs metric wrenches.

Past summer I went to the cloud. When I saw kubernetes, I almost jumped off a cliff. (kidding, I haven't touched kubernetes at all, but I like the joke)

😆 1

Okay. Time for breakfast with people smarter than me. Thanks again!

☕ 1

I'm contemplating a new library which smoothens the gap between YAML and several other formats: SnakeOil 🥁

1

YAML causing you grief? JSON making you pull your hair out? Try SnakeOil! Act now and we’ll throw in XML support. Only 4 easy payments.

set the channel topic: https://github.com/clj-commons/clj-yaml - YAML encoding and decoding for Clojure The art of simplicity is a puzzle of complexity.

❤️ 2