-
Notifications
You must be signed in to change notification settings - Fork 13
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
Bump dependency versions #83
Comments
cc @gymora |
I'd love this! |
I thought about this, and it's a pretty complicated problem. First of all, Pride won't be able to actually bump any dependencies. That would involve two things that are not available to Pride:
I think what Pride could do is to try to identify which projects in your pride depend on other projects that would not match the dependency version number. Say, you have module What Pride could do in this case is this: $ pride check-versions
module "A" refers to "1.2" of module "B", but module "B"'s version number is "2.0-12-g342325", you need to bump And then you have to dig and find what version number you need to change to fix the situation. Would this be useful? |
I'm not sure this can be determined quickly, but if that's possible, maybe this could be done every time you run a pride command, just to be on the safe side. |
It would be helpful if the output would be structured and it would be On Mon, Sep 8, 2014 at 1:12 PM, Lóránt Pintér [email protected]
|
Can you come up with such a convention? |
I'm thinking of a tool called autobump, that analyzes the output of pride, If you want to make your project autobumpable, you are responsible for On Mon, Sep 8, 2014 at 1:32 PM, Lóránt Pintér [email protected]
|
Sounds like a plan. I still need a specification from you for the output format you'd expect form Pride. |
How about: bump: module_A depends on module_B, change old_version to new_version Or in regex: (?\w+): (?\w+) depends on (?\w+), change Where action equals bump On Mon, Sep 8, 2014 at 3:39 PM, Lóránt Pintér [email protected]
|
Here's how the output looks like:
|
It would be lovely to hide the Gradle output in the beginning, but unfortunately, that's still impossible: #2. |
Use case: I have two modules in my pride, B depends on A:1.0.12. I make a change in A, which is instantly visible inside the pride, but checked out independently, B will still depend on A:1.0.12. It would be nice if Pride could give a hand in this situation, and either:
This could be done in a new command, say,
pride bump
.The text was updated successfully, but these errors were encountered: