Fork me on GitHub
#clojure-europe
<
2022-11-08
>
dharrigan07:11:04

Good Morning!

grav09:11:44

Howdy 🙂 👋

reefersleep10:11:05

Where are you from? :flag-dk: Denmark :flag-no: Norway 🇩🇪 Germany :flag-nl: The Netherlands :flag-mt: Malta :flag-se: Sweden :flag-bg: Bulgaria :flag-gr: Greece :flag-scotland: Scotland 🇬🇧 Great Britain :flag-il: Israel :flag-pl: Poland :flag-ca: Canada 🇪🇸 Spain 🇺🇸 US :flag-fi: Finland :flag-ro: Romania :flag-cz: Czech Republic :flag-be: Belgium :flag-hk: Hongkong :flag-ie: Ireland Or somewhere I can’t imagine? (Like Sweden, apparently 😅 )

🇺🇸 1
2
1
3
2
2
2
2
1
3
2
🇬🇧 4
2
1
🇩🇪 4
1
🇪🇸 3
❤️ 3
7
4
2
2
1
4
vemv04:11:23

I, for one, welcome our new Dutch overlords. Goedemorgen!

😄 6
1
simongray09:11:13

Noooo, let’s do it per capita so we can win again!! :flag-dk:

reefersleep10:11:15

hm. I don’t know how to make polls

reefersleep10:11:37

Oh wait, you can reply with the emoji, ofc! That’s how it works. A poll without a poll.

💯 1
Dimitar Uzunov10:11:18

that is the official slack way to poll

Ben Sless11:11:40

emoji polls are open like maps 🙂

dharrigan13:11:08

No Ireland???

teodorlu13:11:24

I love emoji polls. All the default key bindings work!

arrow keys  ;; select post
r           ;; reactions menu
flag no     ;; fuzzy find norwegian flag
Bonus points for t to open thread!

ray10:11:45

Good morning

❤️ 5
simongray12:11:55

Just ran a work project through https://github.com/rm-hull/nvd-clojure and... yikes! I try to update my direct dependencies regularly, but what do you even do about the transient Java deps that are (apparently) full of security holes? Some kind of deps.edn monkey-patching effort? A bunch of Github issues?

simongray12:11:38

The result...

vemv12:11:01

bunch of PRs even better :) for extra cautiousness, you can run said clojure projects' CI with their bumped java dep and see if it's still green

vemv12:11:51

in the meantime you can create an expiring suppression via the xml file. This way you give yourself a reasonable margin for your PRs (or experiments) to complete

vemv12:11:11

I'll admit that sometimes I'll YOLO it and just bump the java dep.

borkdude12:11:12

data.priority-map is that a clojure dep?

borkdude12:11:25

It's not clear to me at all how this issue was fixed in data.prioritymap

borkdude12:11:12

and how it was an issue

vemv12:11:04

nvd-clojure uses dependencycheck, which sometimes has FPs, that's the issue

borkdude12:11:17

ah False Positive, I see

simongray12:11:07

@U45T93RA6 > for extra cautiousness, you can run said clojure projects' CI with their bumped java dep and see if it's still green That was the "deps.edn monkey-patching" I was referring too 😛

vemv12:11:58

just in case, we might not be referring to the same thing: running your project with bumped java deps vs. running a clojure dep with its bumped java dep the latter sounds more forkey than patchey to me ^^

vemv12:11:50

happily, with deps.edn, forking and consuming that fork is super easy

simongray12:11:38

I meant the Java deps.

seancorfield17:11:53

We run antq (to identify our own outdated deps) and clj-watson (to identify CVEs) regularly and we're pretty aggressive about updates and vulns so I think we're down to just four at the moment, three of which are in Google's libraries with no updates available 😐

simongray12:11:35

not having any luck asking this elsewhere: is there some easy way to figure out which of my explicit dependencies result in one of these transitive dependencies? Some of them do not even appear in clj -X:deps tree , yet they still exist as downloaded .JAR files.

simongray12:11:35

If I am to make PRs fixing them at the source it helps to know where the source is…

vemv13:11:47

> Some of them do not even appear in clj -X:deps tree , yet they still exist as downloaded .JAR files. Sounds odd, because nvd-clojure only accepts a classpath as its input. so if clojure doesn't include a given .jar in its classpath, then nvd-clojure won't possibly analyze it

Dimitar Uzunov13:11:25

Doesn't clj -Stree help?

Dimitar Uzunov13:11:31

ah it is the same tool

simongray13:11:30

@U45T93RA6 yeah, but nevertheless it is the case

simongray13:11:46

My current state of affairs after updating explicit deps and some of the transitive deps. Of the jars coloured in red, logback, undertow, and xnio do not appear in the deps tree output

simongray14:11:32

(I am just grepping the output using e.g. undertow as a param)

vemv14:11:59

If you file an issue in nvd-clojure I'd be happy to swiftly attend it. I feel like I'm missing some info (which the issue template intends to gather)

🙏 1
orestis14:11:45

Regarding the tree stuff I remember one of them considers aliases, whereas the other doesn't

orestis14:11:57

I think clj -Stree is the one to use

🙏 1
simongray14:11:04

let me try that out

orestis14:11:10

I remember Alex Miller pointing it out somewhere

simongray14:11:05

THAT WAS IT! clj -A:frontend:build -Stree works fine

😎 1
simongray14:11:41

why do the Clojure CLI tools have to be so confusing

orestis14:11:42

I think it's worth pointing that out to someone on the Clojure team again

seancorfield17:11:45

@U4P4NREBY clojure -X:deps tree :aliases '[:frontend :build]' -- all the -X:deps functions accept :aliases I believe.

🙏 1
ray07:11:32

When I last did some work with nvd it didn’t exclude its own dependencies

seancorfield07:11:23

That's why it works with a classpath now

🙂 1
lread13:11:59

good morning!

1
lemontea16:11:53

morning~ number of members in this channel: 404

lemontea16:11:12

you can tell I’ve been waiting for this

lread17:11:15

@lemontea, given your name, I expect you'll really like 418!

🫖 2
lemontea17:11:25

I see you read that RFC lol

simple_smile 1
🫖 2
simongray12:11:35

not having any luck asking this elsewhere: is there some easy way to figure out which of my explicit dependencies result in one of these transitive dependencies? Some of them do not even appear in clj -X:deps tree , yet they still exist as downloaded .JAR files.