chocolatey / chocolatey/choco

Rewrite the `chocolateysetup.psm1` module

Open
#3,255 0 comments 0 reactions 1 assignee Claimed by @vexx32 View on GitHub
3 - Review Enhancement
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.

The `chocolateysetup.psm1` module that the `chocolatey` nupkg loads to install Chocolatey CLI itself was first written a very long time ago, and it uses code style that is not maintainable. As a result, we tend to avoid touching it as much as possible.

### Describe The Solution. Why is it needed?

Rewrite the module using more modern PowerShell patterns and make it much easier to maintain and make any necessary changes to going forward.

### Additional Context

_No response_

### Related Issues

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.