-
Notifications
You must be signed in to change notification settings - Fork 14
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
clj-kondo version scheme not recognized? #36
Comments
Ok, I pinged @borkdude with this issue and we noticed that So if we change the command line to add
clj-kondo is included:
If I leave out release, I get:
So when I consider types, am I considering types to upgrade from or types to upgrade to or both? Once I understand I would be happy to add documentation if that would help. For clj-kondo, I like to stick to alpha releases and never move to SNAPSHOT releases, is there a way to express that? Ah, perhaps clj-kondo's Normally, when I look for upgrades, by default, I am interested in moving from less stable to more stable (or a later version if that is all that is available), so: SNAPSHOT -> qualified -> later qualified -> release -> later release would make sense. Maybe that's how depot works already, and I just don't understand yet. |
If this is caused by the |
I think that dropping alpha from clj-kondo would resolve the original issue I raised here for clj-kondo. I think it might still be interesting to explore default upgrade paths and how |
Hmmm, maybe this won't be fixed immediately by 2.0 but it could be changed. I really need to set aside some time to get 2.0 across the line, I'm just buried in open and non-open source work right now, struggling to find the time. Got to make sure I leave space to prepare my Clojure eXchange talk too 😬 |
@Olical Good luck with your work and talk! |
I know this was ages ago, but if anyone is still interested in this, the latest release has a much newer version-clj dependency which may have fixed the issue? |
First, a big thanks for creating this tool. I use often and very happily!
While checking on of my projects for outdated dependencies I noticed that clj-kondo was not reported as outdated.
If I take this contrived
deps.edn
:And run:
clojure -Sdeps '{:deps {olical/depot {:mvn/version "1.8.4"}}}' -m depot.outdated.main
I get the expected result for tools.reader but nothing for the outdated clj-kondo:
I noticed you are working on 2.0 (thanks! looking forward to it!), so I tried against current HEAD as well:
and got the same result:
As you can see on clojars, there are later versions of clj-kondo available.
I don't see anything odd in the clj-kondo versioning scheme. Just a stab, but maybe the leading zeros are an issue?
The text was updated successfully, but these errors were encountered: