-
Notifications
You must be signed in to change notification settings - Fork 304
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
Add API to list versions #1439
Add API to list versions #1439
Conversation
74b877d
to
7964730
Compare
Wow, this looks like it could be used in Scala Steward to find new versions instead of going through sbt and sbt-updates. This has the potential to make Scala Steward a lot faster. Thanks @alexarchambault! |
@fthomas But don't you need to start sbt anyway to know about the dependencies themselves (before checking for possible updates)? |
You're right. Not all invocations of sbt can be eliminated only those that check for updates of all known dependencies. deps looks cool. Finally a principled way to organize dependencies where it is totally clear where version numbers are defined! It should be easy for Scala Steward to also update |
@alexarchambault I'm now using Coursier exclusively to find new updates (scala-steward-org/scala-steward#1209) and it is working great so far. Going through all repos now takes 30-40 minutes instead of 5-6 hours. It is so fast now that it had been blacklisted by Maven Central a few times and I had to add a rate limiter to slow it down. :-) Thanks again for this great addition to Coursier! |
Thanks for the feedback, @fthomas! |
@alexarchambault I was wondering if I'm still having issues with Maven Central so I tried using a mirror but that didn't help for getting versions. WDYT, should support for mirrors be added to |
I added minimal support for mirrors (by copying code from Should I extend that and also add |
PR for mirrors support: #1515 |
Use like