fix(packaging): omit Homebrew sample config - #1413
Open
corylanou wants to merge 1 commit into
Open
Conversation
PR Build Metrics✅ All clear — no issues detected
Binary Size
Dependency ChangesNo dependency changes. govulncheck OutputBuild Info
History (1 previous)
🤖 Updated on each push. |
corylanou
force-pushed
the
issue-1412-packaging-homebrew-installs-sample-config-where-the-binary-n
branch
from
August 18, 2026 15:57
628ab0b to
23c6489
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Stop the Homebrew formula from installing the sample configuration into Homebrew's prefix. Homebrew installations now install only the Litestream binary, while release archives and Debian/RPM packages retain their existing configuration behavior.
Motivation and Context
Homebrew installs configuration files under its own prefix, such as
/opt/homebrew/etc, while Litestream defaults to/etc/litestream.yml. The installed sample was therefore never discovered automatically, leaving users with an unused file while the CLI referenced a different location.Fixes #1412
How Has This Been Tested?
pre-commit run --all-filesgo test -race -v ./...git diff --check origin/main...HEADTypes of changes
Checklist
go fmt,go vet)go test ./...)