-
Notifications
You must be signed in to change notification settings - Fork 930
(#962) Upgrade outdated on install #1204
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
base: master
Are you sure you want to change the base?
(#962) Upgrade outdated on install #1204
Conversation
When install command is called on a pacakge, upgrade that package if already installed and a higher version is specifiied on the commmand line
…rade_Outdated_On_Install
@Isopolito it may be best to wait for #1132 to be implemented so you won't need to handle upgrades against packages.config files. |
Also, please read CONTRIBUTING - it does state we never want to see merge commits in pull requests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes regarding a packages.config file should wait for implementation of the upgrades with packages.config.
Please back out the merge commit and read over CONTRIBUTING for the correct way to do pull in updated changes.
Sorry about that, I'm new to this process. I read over contributing but still messed that up. I'll look over #1132 and wait for that to be implemented. Is there a preferred way to back out the merge commit? |
@Isopolito Yes, |
ahall seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Hi, I made the changes for issue #962 and submitted them on this PR. I'm still working out how to get the unit test(s) created for it, but in the meantime i wanted to submit this since I have a few questions:
Is deep copying a config and only changing PackageNames to what should be upgraded sufficient (line 1337), or do other things need to be modified in the new config before sending it off to upgrade_run?
Is just removing a package name from config.PackageNames (line 1332) enough to make it disappear from the install process?
Thanks!