chocolatey / chocolatey/choco

A way to remove sources without knowing their names

Open
#1,493 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0 - Backlog Enhancement Up For Grabs
Dominant language
C#
Stars
11.5k
Forks
961
PR merge metrics
No merged PRs in 30d

Description

It would be nice if there was a direct way to remove sources we don't know the name of (something like, `choco source remove all`).

Example use case: You need to use a script to move a machine from one environment to the other, and you need to disable package sources associated with the old environment, without your script necessarily knowing what the original environment was. Simply removing all configured sources before adding the new ones is the ideal way to go.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing source-removal command and its handling of configured package sources; the issue does not name an implementation file or test. Verify the behavior against the environment-migration example: a script should be able to remove all configured sources without knowing their names, then add replacement sources.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.