Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add ivy.updates command that looks for 3rd party jar updates with Ivy #4386
There is no easy way see third party jar updates in Pants along the lines of Maven's display-version-updates
Ivy has an Ant task called checkdepsupdate that does the same thing. This PR creates a wrapper around that Ant task and adds a new goal
With this new goal you can now see the third party updates for a given set of targets
Thanks Chris... looks useful.
Since this is relatively small, and ivy is still quite embedded, I'm ok with making it non-contrib. But it's definitely worth asking: should this be contrib?
This looks like it'll be a really handy new feature. I've got a bunch of comments, mostly suggestions, with a few more major ones.
- How would you feel about changing the name of the goal to
outdated? I think it better reflects what this does.
- Tightening up of regex handling for the exclude-coordinates flag.
- Clean up jvm_tool registration a bit.
- A few Qs around test cases.
I don't consider the refactoring related comments blockers.
If you really prefer
I was thinking it would make sense to have the goal be
Once there's more facilities for modifying BUILD files with pants, we could have an
Also, I just find
So, the usage if you wanted to use scoped options for the task in this patch would be
That seems clearer to me than the current name:
That looks like it could be either printing updated versions, or actually updating them.
The one thing I don't like about
That's fair. I don't like the idea of using
I still like