Skip to content

chore: migrate to proto-tap org - #37

Merged
mickamy merged 4 commits into
mainfrom
chore/migrate-to-proto-tap
Oct 26, 2026
Merged

mickamy merged 4 commits into
mainfrom
chore/migrate-to-proto-tap

Conversation

@mickamy

@mickamy mickamy commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

sql-tap has been transferred from mickamy to the proto-tap org. This PR updates the module path, the release pipeline, and the docs to match, and switches Homebrew distribution from a formula in mickamy/tap to a cask in proto-tap/tap.

Changes

Module path (refactor: change module path to github.com/proto-tap/sql-tap)

  • go.mod, all imports, buf.gen.yaml (go_package_prefix), .golangci.yaml (local-prefixes) now use github.com/proto-tap/sql-tap
  • gen/ regenerated; the only diff is the embedded go_package (plugin versions kept as-is)

Release pipeline (build: publish homebrew cask to proto-tap/tap)

  • Add homebrew_casks publishing Casks/sql-tap.rb to proto-tap/homebrew-tap with TAP_GITHUB_TOKEN (org secret)
    • Installs both sql-tap and sql-tapd
    • Removes the macOS quarantine attribute via hooks.post.install_steps (postflight_steps, requires GoReleaser v2.19+)
  • Keep brews for this release only, still publishing Formula/sql-tap.rb to mickamy/homebrew-tap, now with MICKAMY_GITHUB_TOKEN
    • disable! date: "2027-04-27", replacement_cask: "proto-tap/tap/sql-tap": existing users get a deprecation warning until the date, then the formula is disabled and points to the cask
    • caveats explain how to switch (brew uninstall sql-tap → brew install --cask proto-tap/tap/sql-tap)
  • Remove nix: (the target mickamy/nur-packages never existed, so it was a no-op)
  • Pass MICKAMY_GITHUB_TOKEN to GoReleaser in release.yml

Docs (docs: update install instructions for proto-tap)

  • README: brew install --cask proto-tap/tap/sql-tap with a migration note for mickamy/tap users, and new paths for go install, git clone, Nix, Docker, and the grpc-tap link
  • flake.nix: update homepage

Funding (chore: remove FUNDING.yaml in favor of org-level config)

  • Same content as proto-tap/.github/FUNDING.yml, which applies to all org repos

Verification

  • go build ./..., go vet ./..., go test -race ./... pass
  • goreleaser release --snapshot --clean --skip=publish (v2.19.0) generates the expected cask and formula
  • goreleaser check exits non-zero because brews is deprecated; this is expected and CI doesn't run it. The release itself only warns.

After merge

  • Tag a release and confirm the cask lands in proto-tap/homebrew-tap and the formula in mickamy/homebrew-tap has disable!
  • Before the next release, remove brews and MICKAMY_GITHUB_TOKEN
  • Note: go install github.com/proto-tap/sql-tap@latest only works once a tag with the new module path is published

Related

Copilot AI balanced review requested due to automatic review settings October 26, 2026 22:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The migration changes are consistent across code, release configuration, and documentation, with no unresolved blocking findings.

No open issues 🎉

1 file not reviewed
  • gen/tap/v1/tap.pb.go: Generated file
What changed in this PR

Migrates sql-tap to the proto-tap organization, aligning Go package paths, release publishing, and installation documentation with the repository transfer.

Changes:

  • Updates the module path, internal imports, generated protobuf metadata, and tooling configuration.
  • Adds Homebrew cask publishing under proto-tap, retaining a temporary migration formula in the old tap and removing unused Nix publishing.
  • Refreshes installation instructions and project links, and removes repository-level funding configuration in favor of organization defaults.
File Description
web/​web.go Updates web server imports.
web/​web_test.go Updates web test imports.
tui/​timeline.go Updates timeline imports.
tui/​model.go Updates TUI model imports.
tui/​list.go Updates query list imports.
tui/​inspector.go Updates inspector imports.
tui/​format.go Updates formatting imports.
tui/​filter.go Updates filter imports.
tui/​filter_test.go Updates filter test imports.
tui/​export.go Updates export imports.
tui/​export_test.go Updates export test imports.
tui/​explain.go Updates EXPLAIN view imports.
tui/​editor.go Updates editor imports.
tui/​analytics.go Updates analytics imports.
server/​server.go Updates gRPC server imports.
server/​server_test.go Updates server test imports.
README.md Updates installation paths and documents Homebrew migration.
query/​normalize_test.go Updates normalization test imports.
query/​bind_test.go Updates parameter binding test imports.
proxy/​postgres/​proxy.go Updates PostgreSQL proxy imports.
proxy/​postgres/​proxy_test.go Updates PostgreSQL integration test imports.
proxy/​postgres/​export_test.go Updates test helper imports.
proxy/​postgres/​conn.go Updates PostgreSQL connection imports.
proxy/​postgres/​conn_test.go Updates PostgreSQL connection test imports.
proxy/​mysql/​proxy.go Updates MySQL proxy imports.
proxy/​mysql/​proxy_test.go Updates MySQL integration test imports.
proxy/​mysql/​conn.go Updates MySQL connection imports.
main.go Updates CLI entry-point imports.
go.mod Changes the Go module identity.
gen/​tap/​v1/​tap.pb.go Updates embedded protobuf Go package metadata.
flake.nix Updates the package homepage.
explain/​explain_test.go Updates EXPLAIN test imports.
explain/​build_args_test.go Updates argument-building test imports.
dsn/​dsn_test.go Updates DSN test imports.
detect/​detect_test.go Updates detection test imports.
config/​config_test.go Updates configuration test imports.
cmd/​sql-tapd/​main.go Updates daemon entry-point imports.
cmd/​sql-tapd/​main_test.go Updates daemon test imports.
clipboard/​clipboard_test.go Updates clipboard test imports.
ci/​ci.go Updates the generated API import.
ci/​ci_test.go Updates CI client test imports.
buf.gen.yaml Changes the generated Go package prefix.
broker/​broker.go Updates broker imports.
broker/​broker_test.go Updates broker test imports.
.goreleaser.yaml Adds cask publishing, retains a migration formula, and removes Nix publishing.
.golangci.yaml Updates the local import prefix.
.github/​workflows/​release.yml Supplies the legacy tap publishing token.
.github/​FUNDING.yaml Removes the repository funding override.

Review effort: Balanced

@mickamy
mickamy merged commit fe1edd0 into main Oct 26, 2026
3 of 5 checks passed
@mickamy
mickamy deleted the chore/migrate-to-proto-tap branch October 26, 2026 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants