Add option to disable loading of the Licensed Extension
- Dominant language
- C#
- Stars
- 11.5k
- Forks
- 960
- PR merge metrics
- No merged PRs in 30d
Description
## Is Your Feature Request Related To A Problem? Please describe.
There are a couple of cases where the licensed extension can cause problems while installed:
- If the installed version of Licensed Extension is incompatible with the currently installed version of Chocolatey CLI, in some cases it can prevent upgrading the required package (Chocolatey or the Extension) to bring them into compatibility.
- The licensed extension can be significantly slower in packing packages and listing/searching of packages than open source in some situations.
- The template created by the licensed `new` command creates packages that can be only used by licensed installations.
## Describe The Solution. Why is it needed?
A commandline switch to disable loading of the Licensed Extension `.dll` into Chocolatey, therefore dropping Chocolatey down to the open source feature set would solve these problems. As a part of not loading it into Chocolatey CLI, it should also not be loaded into the PowerShell runner.
It is possible to disable loading of the licensed extension via renaming the folder or file of the license or the extension `.dll`, but this requires filesystem manipulation, which is much more error-prone and slower than having a commandline switch.
## Additional Context.
N/A
## Related Issues
N/A
Contributor guide
Research direction
No files or tests are named. Start by locating command-line option handling and the Licensed Extension loading paths, including the PowerShell runner; done means the switch prevents both from loading while preserving the open-source feature set.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100