-
Notifications
You must be signed in to change notification settings - Fork 35
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
cleaning dependencies before update nuspec #84
base: master
Are you sure you want to change the base?
Conversation
@ptrstpp950 This one was actually on purpose:
However, I do think there is value in clearing out the dependencies. Maybe we make an OverrideFlag on the CreatePackagesInput? If that's true then we clear out the dependencies. |
Now when I run command ".\ripple.cmd create-packages -u" twice all dependiecies in nuspec are duplicated, which causes that nuspec file is invalid. I can add OverrideFlag if you prefer, but still update should at least check if dependecies are already exist. And if yes update them instead of append new ones. |
You're right, it's a combination of both. If override is specified, then it Do you feel like taking this one on? There's an existing test: If you don't get to it, I can pick it up later today. On Wed, May 22, 2013 at 10:12 AM, Piotr Stapp [email protected]:
|
I added OverrideFlag, second part of this bug I will do tommorow |
I added fix for updating nuget dependecies, now it should be a complete solution. Unit tests are included. Please review :) |
Thanks for doing this. I'll review later tonight. On Wed, May 22, 2013 at 3:39 PM, Piotr Stapp [email protected]:
|
One more question: why when we specify overrde flag nuspec dependencies should be preserved? |
The idea behind that one was for situations where the generation doesn't On Tue, May 28, 2013 at 8:15 AM, Piotr Stapp [email protected]:
|
I see following assertions without Override flag. Invoked command in every assertion is:
Are you agree? |
Yes, that looks correct to me. On Tue, May 28, 2013 at 8:39 AM, Piotr Stapp [email protected]:
|
What about Override flag set to true
Am I right? Especially look at point 3. |
This SOUNDS right but I'm missing the context of the version constraints. On Tue, May 28, 2013 at 9:00 AM, Piotr Stapp [email protected]:
|
What's the status of this one? |
I did not have time. Sorry. On Fri, Jun 7, 2013 at 3:58 PM, Josh Arnold [email protected]:
|
It's been a long conversation. I'll try to rephrase all the comments into one statement to make it easier to define what has to be done in this topic. A rebase of this branch will be published tomorrow to allow it to be applied (as soon as we get a consensus;-) ). |
We might want to start over on this one. The tests were wrong the first On Wed, Jun 12, 2013 at 10:40 AM, Scooletz [email protected] wrote:
|
I hope Scooletz will find a way to clean this solution faster then me. I will try to help him.Josh Arnold [email protected] pisze:We might want to start over on this one. The tests were wrong the first On Wed, Jun 12, 2013 at 10:40 AM, Scooletz [email protected] wrote:
|
Bringing this back to life via @SimonCropp:
|
UpdateNuspec step does not clean dependencies before adding new one. Following commit fixed this.