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

Upgrade: Option to upgrade and pin a pinned package (remove pin, upgrade, add pin) #3320

Closed
2 tasks done
Terrance opened this issue Sep 9, 2023 · 4 comments
Closed
2 tasks done

Comments

@Terrance
Copy link

Terrance commented Sep 9, 2023

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my request.

Is Your Feature Request Related To A Problem? Please describe.

The process for upgrading pinned packages requires me first to unpin each one with choco pin remove, and then run choco upgrade --pin * with the list of packages -- it would be nice to have this all in a single step, e.g. choco upgrade --move-pin.


* The output includes no mention of the packages being re-pinned, so I still end up checking choco pin afterwards to make sure that's happened -- it would be useful to get a message similar to that from choco pin add.

Describe The Solution. Why is it needed?

I'm on a relatively slow network connection, so I pin a handful of large packages to be upgraded when needed or when I've got the capacity to max out my connection for a significant amount of time.

It would be less error-prone to not have to work through the list of packages to unpin each time, and having to check afterwards that they're all pinned again.

Additional Context

No response

Related Issues

No response

@TheCakeIsNaOH
Copy link
Member

This appears to be a duplicate of #2050, which I have a PR up for here: #2464

The output includes no mention of the packages being re-pinned, so I still end up checking choco pin afterwards to make sure that's happened -- it would be useful to get a message similar to that from choco pin add.

This is a separate feature request, could you open another issue describing this in more detail?

@Terrance
Copy link
Author

Terrance commented Sep 9, 2023

Apologies, yes, that appears to be the same request -- searching issues for upgrade and pin brought up a lot of results and I must have skipped over that one.

I see your PR was opened 2 years ago -- is it likely to be merged, or is it waiting for more support from users, or anything else?

This is a separate feature request, could you open another issue describing this in more detail?

Done: #3321

@TheCakeIsNaOH
Copy link
Member

I see your PR was opened 2 years ago -- is it likely to be merged, or is it waiting for more support from users, or anything else?

It's waiting on the Chocolatey team to review and test it. During the Chocolatey V2 development period, there was a soft feature freeze for anything not related to the .Net 4.8 and NuGet assembly uplift, so that is in large part why it was not reviewed before. However, V2 is now out and stable, so the next release hopefully will be a be general feature release.

If you are a licensed customer, I'd suggest contacting support, to see if they can give more details, or if they have any workarounds for your use case, as licensed customers get "Prioritization of Bugs and Features" as per https://chocolatey.org/compare

@TheCakeIsNaOH
Copy link
Member

Duplicate of #2050

@TheCakeIsNaOH TheCakeIsNaOH marked this as a duplicate of #2050 Sep 9, 2023
@TheCakeIsNaOH TheCakeIsNaOH closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2023
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

2 participants