Skip to content
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

Reseal upgrade command and remove virtuals #2571

Closed
TheCakeIsNaOH opened this issue Feb 5, 2022 · 4 comments
Closed

Reseal upgrade command and remove virtuals #2571

TheCakeIsNaOH opened this issue Feb 5, 2022 · 4 comments

Comments

@TheCakeIsNaOH
Copy link
Member

As noted in a todo comment in this file: https://github.com/chocolatey/choco/blob/develop/src/chocolatey/infrastructure.app/commands/ChocolateyUpgradeCommand.cs

It was added in this commit for more context: 6b20a17

If I am parsing it correctly, this class can be resealed once the version command goes away. #2468

@gep13
Copy link
Member

gep13 commented Feb 5, 2022

@TheCakeIsNaOH said...
If I am parsing it correctly, this class can be resealed once the version command goes away.

Yes, I am reading this the same way, and I am wondering whether we should include this work alongside the deprecation of those commands.

@gep13 gep13 added this to the 1.0.0 milestone Feb 5, 2022
@gep13
Copy link
Member

gep13 commented Feb 5, 2022

@pauby I have added this to the v1.0.0 milestone so that we can discuss this during the week.

@gep13
Copy link
Member

gep13 commented Feb 10, 2022

@TheCakeIsNaOH based on a chat with @AdmiringWorm I don't think that we can do this work, as this would prevent things from being overridable in the Chocolatey Licensed Extension. I suspect that we will just close out this issue, and remove the comment in the code, but leave this one with me.

@AdmiringWorm
Copy link
Member

As the commands can not be resealed due to how we require the commands to be overridable for us to use them in Chocolatey Licensed Extension, this issue won't be fulfilled.

After talking with @gep13 about this issue, I have removed the TODO comment in #2609 and will be closing this issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants