Skip to content

Update ripgrep GNU moniker to rg#347905

Merged
stephengillie merged 2 commits intomicrosoft:masterfrom
danmoseley:ripgrep-rg-moniker
Mar 18, 2026
Merged

Update ripgrep GNU moniker to rg#347905
stephengillie merged 2 commits intomicrosoft:masterfrom
danmoseley:ripgrep-rg-moniker

Conversation

@danmoseley
Copy link
Member

@danmoseley danmoseley commented Mar 11, 2026

winget install rg currently resolves to ChemTable's Reg Organizer instead of ripgrep, because neither ripgrep package claims rg as its moniker.

This PR changes the Moniker field from ripgrep to rg (the binary name) for BurntSushi.ripgrep.GNU. The corresponding change for BurntSushi.ripgrep.MSVC is in #348127. winget install ripgrep continues to work via PackageName and Tags matching.

Reg Organizer is unaffected by this change — it never declared rg as its moniker and was only matching via fuzzy search on "Reg". Users who want it can still install it with winget install "Reg Organizer" or winget install ChemTableSoftware.RegOrganizer.

Fixes #347904

The ripgrep binary is named rg.exe, and 'rg' is the most common term
users type when installing it. Without this moniker, 'winget install rg'
resolves to ChemTable's Reg Organizer instead of ripgrep.

Fixes microsoft#347904

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@hackean-msft
Copy link
Contributor

@wingetbot run

@mdanish-kh
Copy link
Contributor

Unless @hackean-msft changed something in the recent deployment, WinGet pipelines can only handle a change to a single manifest per PR. This would probably need to be split into two PRs for each manifest

@mdanish-kh
Copy link
Contributor

@wingetbot run

@wingetbot
Copy link
Collaborator

Validation Pipeline Run WinGetSvc-Validation-134-347905-20260312-1

@wingetbot wingetbot added the PullRequest-Error PR is Invalid label Mar 12, 2026
@wingetbot
Copy link
Collaborator

PullRequest-Error The pull request contains more than one application. Multiple manifests changes must be under the same application.

The MSVC moniker change is now in its own PR so each PR
modifies only one package manifest.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@danmoseley danmoseley changed the title Update ripgrep moniker to rg Update ripgrep GNU moniker to rg Mar 12, 2026
@microsoft-github-policy-service microsoft-github-policy-service bot removed Needs-Author-Feedback This needs a response from the author. PullRequest-Error PR is Invalid labels Mar 12, 2026
@microsoft-github-policy-service microsoft-github-policy-service bot added the Moderator-Approved One of the Moderators has reviewed and approved this PR label Mar 12, 2026
@danmoseley
Copy link
Member Author

reduced to one manifest, broke the other into #348127

@ItzLevvie
Copy link
Contributor

@wingetbot run

@danmoseley
Copy link
Member Author

can we merge @ItzLevvie?

@mdanish-kh
Copy link
Contributor

@wingetbot run

@wingetbot
Copy link
Collaborator

Validation Pipeline Run WinGetSvc-Validation-136-347905-20260318-1

@mdanish-kh
Copy link
Contributor

mdanish-kh commented Mar 18, 2026

@danmoseley PR hasn't passed the validation pipelines, which didn't kick off automatically on the last commit. I've just kicked off a run

@wingetbot wingetbot added Azure-Pipeline-Passed Validation pipeline passed. There may still be manual validation requirements. Validation-Completed Validation passed labels Mar 18, 2026
@danmoseley
Copy link
Member Author

aside, given this gives the same moniker 'rg' as in #348127, which do I get when I do winget install rg -- I guess it makes me pick? which is fine I guess

@stephengillie stephengillie merged commit 229de9f into microsoft:master Mar 18, 2026
1 check passed
@wingetbot
Copy link
Collaborator

Publish pipeline succeeded for this Pull Request. Once you refresh your index, this change should be present.

@mdanish-kh
Copy link
Contributor

mdanish-kh commented Mar 18, 2026

@danmoseley Yep, that's correct
image

@danmoseley
Copy link
Member Author

danmoseley commented Mar 19, 2026

Ah. Given that both will work the same for most users i think I should maybe have only added the short moniker for one of them..

@mdanish-kh
Copy link
Contributor

@danmoseley That would be better, but it may still collide with the package coming from msstore. A user may need to provide -s winget to explicitly specify the winget community repository source (winget install rg -s winget) or do winget install --moniker rg, but we can test the behavior once you do that

@danmoseley danmoseley deleted the ripgrep-rg-moniker branch March 19, 2026 15:16
@danmoseley
Copy link
Member Author

Moniker makes it worse!

C:\git>winget install --moniker rg
Multiple packages found matching input criteria. Please refine the input.
Name          Id                      Source
---------------------------------------------
Reg Organizer XP891WHFXMJXK2          msstore
RGB bulb      9P51HRRCN88K            msstore
RipGrep GNU   BurntSushi.ripgrep.GNU  winget
RipGrep MSVC  BurntSushi.ripgrep.MSVC winget

I don't think I follow the community source part. Anyway I commented on the linked issue. Not a blocker. I'll leave as is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Azure-Pipeline-Passed Validation pipeline passed. There may still be manual validation requirements. Moderator-Approved One of the Moderators has reviewed and approved this PR Publish-Pipeline-Succeeded Validation-Completed Validation passed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

winget install rg installs Reg Organizer (ChemTable) instead of ripgrep

6 participants