Closed kimmoahola closed 1 year ago
@kimmoahola Thanks for your reporting!
It is a bug in upgrader, and jcl-over-slf4j
should be upgraded.
In antq, :outdated/ignore
metadata is not handled.
https://github.com/liquidz/antq/search?q=ignore
To ignore specific deps, you should use --exclude
option like --exclude=org.slf4j/jcl-over-slf4j
.
https://github.com/liquidz/antq#--excludeartifact_nameversion
Anyway, I'll fix the upgrader bug.
I think that kind of ^:ignore
is handy. I think it's good to mark 'ignore' directly to the package definition. It's easy to spot there when I have 30 packages in a project.
And also I add a comment to the line for a reason why the package is ignored.
Previously I used depot and it has that kind of meta to ignore stuff: https://github.com/Olical/depot#controlling-which-part-of-the-file-are-checked
Please consider to also add support for that in antq.
Thanks!
@kimmoahola
Please consider to also add support for that in antq.
OK :) Could you cut a new issue for the feature request?
Yes of course: https://github.com/liquidz/antq/issues/190
Closed by #191
My deps.edn looks like this:
When I run
clojure -M:outdated
The output is
And in the deps.edn file the all except jcl-over-slf4j is updated (just like I expected) but that output displays
jcl-over-slf4j
package (which is not what I expected).I don't know if that
^:outdated/ignore
meta is actually supported way to ignore upgrades to packages but it works. Just the output of antq does not match what's actually upgraded.