This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-21
Channels
- # announcements (51)
- # asami (5)
- # babashka (25)
- # babashka-sci-dev (26)
- # beginners (33)
- # calva (10)
- # clj-kondo (51)
- # clj-yaml (99)
- # clojure (96)
- # clojure-australia (3)
- # clojure-berlin (5)
- # clojure-europe (151)
- # clojure-norway (58)
- # clojurescript (20)
- # cursive (13)
- # datalevin (1)
- # datomic (19)
- # docker (6)
- # emacs (55)
- # events (1)
- # fulcro (50)
- # gratitude (8)
- # juxt (7)
- # leiningen (5)
- # malli (6)
- # membrane (1)
- # nbb (28)
- # off-topic (22)
- # pathom (7)
- # polylith (20)
- # portal (1)
- # reagent (37)
- # reitit (2)
- # releases (2)
- # reveal (32)
- # scittle (34)
- # shadow-cljs (46)
- # testing (10)
- # tools-deps (33)
- # xtdb (18)
Thank you to @alexmiller and @dharrigan for this 2019 post on diagnosing and eventually fixing an issue with a Google Protobuf issue —
https://clojurians.slack.com/archives/C064BA6G2/p1561995274335100
While taking a break from writing last night, I was pulling my hair out while trying to get Google Secret Manager library working for the first time (to avoid putting secrets in places I shouldn’t), and was getting errors like boolean com.google.protobuf.GeneratedMessageV3.isStringEmpty
. Many rabbit holes, including learning about but not fully understanding Maven POM extensions (thx @seancorfield), etc.
The revealed hint: it’s likely a classpath issue.
I ran the code in clj
, and to my shock, it worked. Therefore, it was an IntelliJ Cursive REPL classpath issue. I switched the REPL session to use deps aliases, instead of using IntelliJ classpath.
So thank you for the incredible knowledge in Clojurians Slack!
@seancorfield I ran into this post by you: https://ask.clojure.org/index.php/10892/add-support-for-bom-bill-of-materials-dependencies
🙂
(Are BOMs supported now in deps.edn? I tried :extension "pom"
or something like that in deps.edn, and it didn’t result in an error. But by that point, I was way in the weeds, out of my depths, and had no idea whether it actually did anything…). cc @alexmiller
No, not at the top level. I've actually done some work on this and was getting ready to merge it, but I had second thoughts about it
Super, thanks! (Mind you, this is the furthest thing from a request — I barely know what it is, let alone know the potential utility of it. 🙂
Tdeps is tolerant of finding a transitive bom maven dep and I think does the right thing in that case, but I'm not positive
There is a real need here but it intersects with managed deps ideas and other things and I think maybe there are some solutions that could address multiple
So, it is on a back burner till I get back to it