You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Publish a formula to a microsoft/homebrew-tap so users can run brew install microsoft/tap/tgrep. Homebrew works on Linux as well, so a single bottle-less formula pointing at the existing release tarballs covers both platforms. Moving to homebrew-core later is possible once the project meets its notability requirements.
Linux — native packages
.deb via cargo-deb and .rpm via cargo-generate-rpm, attached to each GitHub release
optionally a Nix derivation and an AUR PKGBUILD (both are typically community-maintained)
Windows — WinGet and/or Scoop
Submit a WinGet manifest and/or a Scoop bucket entry built from the existing Windows zip.
Cross-platform — crates.io
Publishing tgrep-cli to crates.io makes cargo install tgrep work without cloning the repo. This is the cheapest win and benefits every platform at once.
Release automation
Whatever we adopt needs a bump step in the release workflow so formulas/manifests are updated with the new version and checksums automatically. Otherwise these go stale within a release or two.
Umbrella issue for making tgrep installable through native package managers.
Follows on from #107, which asks specifically for a Homebrew formula. The same gap applies to Linux and Windows users.
Current state
The only documented install paths are:
cargo install --path tgrep-cli --lockedafter cloning the repoPATHThere is no package manager story on any platform, and nothing published to crates.io.
The good news is that
.github/workflows/release.ymlalready produces the artifacts packaging needs:x86_64-unknown-linux-muslaarch64-unknown-linux-muslx86_64-apple-darwinaarch64-apple-darwinSo most of this is packaging and release automation rather than new build work.
Proposed scope
macOS + Linux — Homebrew (covers #107)
Publish a formula to a
microsoft/homebrew-tapso users can runbrew install microsoft/tap/tgrep. Homebrew works on Linux as well, so a single bottle-less formula pointing at the existing release tarballs covers both platforms. Moving to homebrew-core later is possible once the project meets its notability requirements.Linux — native packages
.debviacargo-deband.rpmviacargo-generate-rpm, attached to each GitHub releasePKGBUILD(both are typically community-maintained)Windows — WinGet and/or Scoop
Submit a WinGet manifest and/or a Scoop bucket entry built from the existing Windows zip.
Cross-platform — crates.io
Publishing
tgrep-clito crates.io makescargo install tgrepwork without cloning the repo. This is the cheapest win and benefits every platform at once.Release automation
Whatever we adopt needs a bump step in the release workflow so formulas/manifests are updated with the new version and checksums automatically. Otherwise these go stale within a release or two.
Suggested order
.deb/.rpmartifacts on releasesrelease.ymlDocs
Update the Installation section of
README.mdas each channel lands.