-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate old APIs #113
Comments
@rm-hull: any thoughts on this one? |
Well I guess I’m a bit far away from the codebase these days. I originally wrote it specifically as a leiningen plugin around Jeremy Long’s dependency-check tool. If we take away the lein plugin part, what does the remainder provide over just directly using dependency-check? (I’m not saying this to be flippant btw, this is a genuine ask). I haven’t done much clojure in the past few years, hence i am a bit out of touch with the whole tooling ecosystem… so to some extent, I would rather you use your judgement with any active community feedback to make the right decision here. |
This is a legitimate question. It seems to me that dependency-check doesn't offer a CLI that accepts a classpath as an argument. Instead it uses "releases" which cannot be consumed from the deps.edn / Lein ecosystems. So it's more stuff to setup, and more opaque as well (which is ironic for a sec tool). We also can add some custom logic (e.g.), making things more friendly for clojure projects. Finally there's value in having specific documentation, tests, etc for Clojure projects, else a team using raw
Cheers ☕️☕️ and thanks for the reply, with all the log4j debacle I think it's good timing to revamp our APIs, readme and announce @seancorfield 's -Ttools addition. |
Currently there are a few ways of running nvd-clojure:
main
program (which can be invoked in a few ways:lein run
,clojure -m
,java -cp
, etc)The APIs that infer a classpath are prone to classpath interference.
Accordingly, they're unsafe APIs, which lead to inaccurate results and increase the support burden in form of github issues.
I'd propose removing them entirely.
I wouldn't be worried about "not breaking APIs" as common between Clojurists, because this project's very goal is to regularly break CI builds 😄 i.e. it's part of the contract that this program will regularly require users to upgrade things if they want to remain safe.
The text was updated successfully, but these errors were encountered: