leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
gklijs 2021-03-05T12:53:55.036200Z

Maybe stating the obvious, but if it’s a non-snapshot, and available locally, that one will be used.

jcsims 2021-03-05T18:09:45.036400Z

yup, I'm thinking about it from the dependency confusion angle. If I specify [org.clojure/clojure "1.10.0"] and version "99.0" is available elsewhere, then I won't get the "99.0" version. I'll get what I specified

jcsims 2021-03-05T18:10:13.036600Z

vs if "1.10.0" is available in a different repo, it's not as clear which will get picked up

jcsims 2021-03-05T18:11:39.036800Z

IMO the right answer is "don't let that non-owners of that artifact upload it elsewhere", but I'm making sure I understand the problem as it stands today

gklijs 2021-03-05T18:48:44.037Z

It's a known risk/exploit with a lot of package managers. With maven central at least it's very hard to get something in. The exploit is when you know some company is using an internal library, and upload the same, or a newer version to the central 'store'.

jcsims 2021-03-05T20:38:49.037200Z

yes - hard to get something in Maven, and version globs are so much rarer in the Maven world