Handle upgrade order of Chocolatey products when running upgrade all
- Dominant language
- C#
- Stars
- 11.5k
- Forks
- 960
- PR merge metrics
- No merged PRs in 30d
Description
### Checklist
- [x] I have verified this is the correct repository for opening this issue.
- [x] I have verified no other issues exist related to my request.
### Is Your Feature Request Related To A Problem? Please describe.
When running choco upgrade all the Chocolatey packages in the lib directory are upgraded in alphanumeric order. Chocolatey packages require a specific upgrade order that is not currently handled by this command.
### Describe The Solution. Why is it needed?
Upgrading Chocolatey component packages outside the required upgrade order can break a Chocolatey installation.
### Additional Context
_No response_
### Related Issues
[Original issue](https://gitlab.com/chocolatey/solutions/support-issues/-/issues/149)
Contributor guide
Research direction
Start with the `choco upgrade all` command and the Chocolatey packages in the `lib` directory. Review the required component order from the linked original issue, then determine how the command should apply that order and verify that upgrades no longer break the installation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100