Skip to content

feat!: rename the crates, binaries and CLI command to Twigpine - #606

Merged
kevincodex1 merged 3 commits into
mainfrom
chore/rename-to-twigpine
Nov 17, 2026
Merged

kevincodex1 merged 3 commits into
mainfrom
chore/rename-to-twigpine

Conversation

@kevincodex1

Copy link
Copy Markdown
Member

Summary

Renames the crates, the binaries and the CLI command from the Gitlawb names to Twigpine. Nothing that crosses the wire, is signed, or is stored on disk changes.

Motivation & context

First of five PRs that move the node repo off the old name. This one covers only names that are free to change; settings, the key folder, headers, the URL scheme and the protocol names follow in later PRs with both names accepted.

Kind of change

  • Bug fix
  • Feature
  • Security fix
  • Docs
  • Tests / CI
  • Refactor (no behavior change)
  • Breaking or protocol change (issue required first)

What changed

  • Crates: gitlawb-core, gitlawb-node, gitlawb-attest, gl and git-remote-gitlawb become twigpine-core, twigpine-node, twigpine-attest, twigpine-cli and git-remote-twigpine. icaptcha-client is unchanged.
  • Binaries: the daemon is twigpine-node and the CLI command is twigpine.
  • Old names keep working:
    • The helper crate also builds git-remote-gitlawb, the same program under the name git looks for. Git picks a remote helper by URL scheme, so today's gitlawb:// remotes run that name. Cargo prints one "present in multiple build targets" warning for this; it goes away when the scheme changes.
    • install.sh, install.ps1, the Homebrew formula and the Docker image also provide twig and gl for the CLI and the old helper name. install.sh, install.ps1 and the image also provide the old daemon name.
    • The npm package gains twigpine and twig commands beside gl. Its name and layout are unchanged here.
  • Release archives are named twigpine-node-<version>-<target>.
  • macOS app: the target is TwigpineNode and the disk image is TwigpineNode-macOS.dmg. The data folder and bundle id are unchanged.
  • twigpine doctor:
    • The shell-alias warning is removed. It existed because oh-my-zsh aliases gl, which the new command name does not collide with.
    • The helper check now probes the name git actually runs.
  • Security: the README and the npm package README told users to brew install gitlawb/tap/gl. That resolves to a GitHub org this project no longer owns. Both now name twigpine/tap. Remaining links to the old org, including the changelog's, point at Twigpine/node.
  • CI: scripts/ci-surfaces.sh and its test follow the new package names. The release workflow builds by package and its pinned copy in scripts/test-resolve-release-tag.sh matches.

Visible to operators and users:

  • Log targets follow the crate names (twigpine_node, twigpine). A RUST_LOG=gitlawb_node=... filter stops matching.
  • --version and --help print the new names.
  • Hints in CLI output and in node error bodies name the twigpine command.

Unchanged on purpose: URL scheme, GITLAWB_* settings, ~/.gitlawb, X-Gitlawb-* headers, signed-data tags, network ids, the name the node reports, user agents, the bootstrap peer list, infra files, and the release-please package name.

How a reviewer can verify

cargo fmt --all -- --check
cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace
bash scripts/test-ci-surfaces.sh
bash scripts/test-resolve-release-tag.sh
ls target/debug/git-remote-twigpine target/debug/git-remote-gitlawb

Before you request review

  • Scope is one logical change; no unrelated churn
  • cargo test --workspace passes locally
  • New behavior is covered by tests (required for fixes)
  • cargo fmt --all and cargo clippy --workspace --all-targets -- -D warnings are clean
  • Commit titles use Conventional Commits (feat(...), fix(...), docs(...))
  • Docs / .env.example updated if behavior or config changed (or N/A)
  • Checked existing PRs so this isn't a duplicate

On the unchecked box: on macOS the suite fails the same 59 tests on this branch and on main (the temp folder sits behind a symlink the node refuses, plus a few timing and non-UTF-8 path tests). The failing set is identical on both. The two bash script tests need bash 4 and were not run locally; CI is their first run.

Protocol & signing impact

  • Touches DID / did:key, Ed25519 / RFC 9421 signatures, UCAN, ref certs, or P2P wire formats
  • Discussed in an issue before implementation
  • Backward-compatible with existing nodes and previously signed history

The canonical-vector tests in twigpine-attest pin the signing tag and pass unchanged.

Notes for reviewers

A rename with no protocol change.

- Crates: twigpine-core, twigpine-node, twigpine-attest, twigpine-cli,
  git-remote-twigpine. The daemon binary is twigpine-node and the CLI
  command is twigpine.
- The helper crate also builds git-remote-gitlawb, the same program
  under the name git looks for: git picks a remote helper by URL
  scheme, so today's remotes run that name. Source builds, cargo
  install and the tests get it without a link step.
- Every install path (install.sh, install.ps1, Homebrew formula, Docker
  image) also provides twig and gl for the CLI and the old helper name;
  install.sh and the image also link the old daemon name. The npm
  package gains twigpine and twig commands beside gl.
- Release archives are named twigpine-node-<version>-<target>.
- The macOS app target is TwigpineNode; its data folder is unchanged.
- The shell-alias warning is gone: it existed because oh-my-zsh aliases
  gl, which the new command name does not collide with.
- Install docs pointed Homebrew at the old GitHub org's tap; they now
  name twigpine/tap. Remaining links to the old org are rewritten.

Visible to operators and users: log targets follow the crate names
(twigpine_node, twigpine), --version and --help print the new names,
and hints in CLI output and node error bodies name the twigpine
command.

Unchanged on purpose: URL scheme, settings names, key folder, headers,
signed-data tags, network ids, the name the node reports, user agents,
the bootstrap peer list, and the release-please package name.
- test-ci-surfaces: expect the mapper's sorted package order now that
  the CLI crate sorts after icaptcha-client.
- install.sh: link an older name only when this archive shipped the
  binary it stands for.
- install.ps1: keep the old daemon name current when the daemon ships,
  and remove a leftover copy when it does not.
- SECURITY.md: name the helper git runs for today's remotes.
- tigris probe doc: the test lives in the library target.
@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 194 files, which is 44 over the limit of 150.

To get a review, reduce the PR to 150 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to Team to raise the limit.

Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: c9ee306e-ad28-4662-8a01-49ef341abcec
Commits

Reviewing files that changed from the base of the PR and between c963f79 and 82d97cf.

Files ignored due to path filters: 3

  • Cargo.lock is excluded by !**/*.lock
  • macos-app/Sources/TwigpineNode/Resources/MenuBarIcon.png is excluded by !**/*.png
  • macos-app/Sources/TwigpineNode/Resources/MenuBarIcon@2x.png is excluded by !**/*.png
Files selected for processing: 194

  • .cargo/audit.toml
  • .env.example
  • .github/ISSUE_TEMPLATE/bug_report.yml
  • .github/pull_request_template.md
  • .github/workflows/pr-checks.yml
  • .github/workflows/release.yml
  • AGENTS.md
  • CHANGELOG.md
  • CONTRIBUTING.md
  • Cargo.toml
  • Dockerfile
  • Dockerfile.bins
  • README.md
  • SECURITY.md
  • ci/twigpine-core-allowed-deps.txt
  • crates/git-remote-twigpine/Cargo.toml
  • crates/git-remote-twigpine/src/main.rs
  • crates/git-remote-twigpine/tests/real_git_fetch.rs
  • crates/icaptcha-client/Cargo.toml
  • crates/icaptcha-client/src/lib.rs
  • crates/twigpine-attest/Cargo.toml
  • crates/twigpine-attest/src/attestation.rs
  • crates/twigpine-attest/src/cert.rs
  • crates/twigpine-attest/src/error.rs
  • crates/twigpine-attest/src/lib.rs
  • crates/twigpine-attest/src/verifier.rs
  • crates/twigpine-attest/tests/canonical_vectors.rs
  • crates/twigpine-attest/tests/with_twigpine_core.rs
  • crates/twigpine-cli/Cargo.toml
  • crates/twigpine-cli/src/agent.rs
  • crates/twigpine-cli/src/bounty.rs
  • crates/twigpine-cli/src/cert.rs
  • crates/twigpine-cli/src/changelog.rs
  • crates/twigpine-cli/src/clone.rs
  • crates/twigpine-cli/src/doctor.rs
  • crates/twigpine-cli/src/http.rs
  • crates/twigpine-cli/src/identity.rs
  • crates/twigpine-cli/src/init.rs
  • crates/twigpine-cli/src/ipfs_cmd.rs
  • crates/twigpine-cli/src/issue.rs
  • crates/twigpine-cli/src/main.rs
  • crates/twigpine-cli/src/mcp.rs
  • crates/twigpine-cli/src/mirror.rs
  • crates/twigpine-cli/src/name.rs
  • crates/twigpine-cli/src/node.rs
  • crates/twigpine-cli/src/node_stake.rs
  • crates/twigpine-cli/src/peer.rs
  • crates/twigpine-cli/src/pr.rs
  • crates/twigpine-cli/src/profile.rs
  • crates/twigpine-cli/src/protect.rs
  • crates/twigpine-cli/src/quickstart.rs
  • crates/twigpine-cli/src/register.rs
  • crates/twigpine-cli/src/repo.rs
  • crates/twigpine-cli/src/secret_file.rs
  • crates/twigpine-cli/src/star.rs
  • crates/twigpine-cli/src/status.rs
  • crates/twigpine-cli/src/sync.rs
  • crates/twigpine-cli/src/task.rs
  • crates/twigpine-cli/src/text.rs
  • crates/twigpine-cli/src/ucan_cmd.rs
  • crates/twigpine-cli/src/visibility.rs
  • crates/twigpine-cli/src/webhook.rs
  • crates/twigpine-cli/src/whoami.rs
  • crates/twigpine-cli/tests/cmd_create_view_url.rs
  • crates/twigpine-cli/tests/doctor_exit.rs
  • crates/twigpine-cli/tests/doctor_transport_node.rs
  • crates/twigpine-cli/tests/no_parse_before_status.rs
  • crates/twigpine-core/Cargo.toml
  • crates/twigpine-core/src/cert.rs
  • crates/twigpine-core/src/cid.rs
  • crates/twigpine-core/src/did.rs
  • crates/twigpine-core/src/encrypt.rs
  • crates/twigpine-core/src/error.rs
  • crates/twigpine-core/src/http_sig.rs
  • crates/twigpine-core/src/identity.rs
  • crates/twigpine-core/src/identity_path.rs
  • crates/twigpine-core/src/lib.rs
  • crates/twigpine-core/src/node_denial.rs
  • crates/twigpine-core/src/redirect.rs
  • crates/twigpine-core/src/sanitize.rs
  • crates/twigpine-core/src/scan_token.rs
  • crates/twigpine-core/src/transport_policy.rs
  • crates/twigpine-core/src/ucan.rs
  • crates/twigpine-node/Cargo.toml
  • crates/twigpine-node/src/admin.rs
  • crates/twigpine-node/src/ans104.rs
  • crates/twigpine-node/src/api/agents.rs
  • crates/twigpine-node/src/api/arweave.rs
  • crates/twigpine-node/src/api/bounties.rs
  • crates/twigpine-node/src/api/certs.rs
  • crates/twigpine-node/src/api/changelog.rs
  • crates/twigpine-node/src/api/encrypted.rs
  • crates/twigpine-node/src/api/events.rs
  • crates/twigpine-node/src/api/ipfs.rs
  • crates/twigpine-node/src/api/issues.rs
  • crates/twigpine-node/src/api/labels.rs
  • crates/twigpine-node/src/api/mod.rs
  • crates/twigpine-node/src/api/peers.rs
  • crates/twigpine-node/src/api/profiles.rs
  • crates/twigpine-node/src/api/protect.rs
  • crates/twigpine-node/src/api/pulls.rs
  • crates/twigpine-node/src/api/register.rs
  • crates/twigpine-node/src/api/replicas.rs
  • crates/twigpine-node/src/api/repos.rs
  • crates/twigpine-node/src/api/resolve.rs
  • crates/twigpine-node/src/api/stars.rs
  • crates/twigpine-node/src/api/status/mod.rs
  • crates/twigpine-node/src/api/status/tests.rs
  • crates/twigpine-node/src/api/task_cursor.rs
  • crates/twigpine-node/src/api/tasks.rs
  • crates/twigpine-node/src/api/visibility.rs
  • crates/twigpine-node/src/api/webhooks.rs
  • crates/twigpine-node/src/arweave.rs
  • crates/twigpine-node/src/arweave_v2.rs
  • crates/twigpine-node/src/auth/mod.rs
  • crates/twigpine-node/src/bootstrap.rs
  • crates/twigpine-node/src/cert.rs
  • crates/twigpine-node/src/config.rs
  • crates/twigpine-node/src/db/mod.rs
  • crates/twigpine-node/src/durable_outbox.rs
  • crates/twigpine-node/src/encrypted_pin.rs
  • crates/twigpine-node/src/error.rs
  • crates/twigpine-node/src/git/issues.rs
  • crates/twigpine-node/src/git/mod.rs
  • crates/twigpine-node/src/git/publish.rs
  • crates/twigpine-node/src/git/push_delta.rs
  • crates/twigpine-node/src/git/repo_store.rs
  • crates/twigpine-node/src/git/smart_http.rs
  • crates/twigpine-node/src/git/store.rs
  • crates/twigpine-node/src/git/tigris.rs
  • crates/twigpine-node/src/git/visibility_pack.rs
  • crates/twigpine-node/src/graphql/mod.rs
  • crates/twigpine-node/src/graphql/mutation.rs
  • crates/twigpine-node/src/graphql/query.rs
  • crates/twigpine-node/src/graphql/subscription.rs
  • crates/twigpine-node/src/graphql/types.rs
  • crates/twigpine-node/src/icaptcha.rs
  • crates/twigpine-node/src/ipfs_pin.rs
  • crates/twigpine-node/src/lib.rs
  • crates/twigpine-node/src/main.rs
  • crates/twigpine-node/src/metrics.rs
  • crates/twigpine-node/src/operator.rs
  • crates/twigpine-node/src/p2p/mod.rs
  • crates/twigpine-node/src/pinata.rs
  • crates/twigpine-node/src/rate_limit.rs
  • crates/twigpine-node/src/reconciliation.rs
  • crates/twigpine-node/src/server.rs
  • crates/twigpine-node/src/state.rs
  • crates/twigpine-node/src/sync.rs
  • crates/twigpine-node/src/test_git_shim.rs
  • crates/twigpine-node/src/test_harness.rs
  • crates/twigpine-node/src/test_support.rs
  • crates/twigpine-node/src/upstream_mirror.rs
  • crates/twigpine-node/src/visibility.rs
  • crates/twigpine-node/src/webhook_secret.rs
  • crates/twigpine-node/src/webhooks.rs
  • crates/twigpine-node/tests/deny_harness.rs
  • crates/twigpine-node/tests/fixtures/git_shim.rs
  • crates/twigpine-node/tests/inv22_gates.rs
  • crates/twigpine-node/tests/owner_push_default_docs.rs
  • crates/twigpine-node/tests/p2p_key_startup_policy.rs
  • crates/twigpine-node/tests/support/assert.rs
  • crates/twigpine-node/tests/support/mod.rs
  • crates/twigpine-node/tests/support/probe.rs
  • crates/twigpine-node/tests/support/routes.rs
  • crates/twigpine-node/tests/support/signing.rs
  • docs/MAINTAINER-ROADMAP.md
  • docs/RUN-A-NODE.md
  • docs/STORAGE-AND-PINNING.md
  • docs/graphql-pagination.md
  • install.ps1
  • install.sh
  • macos-app/Package.swift
  • macos-app/Sources/TwigpineNode/AppDelegate.swift
  • macos-app/Sources/TwigpineNode/Config.swift
  • macos-app/Sources/TwigpineNode/DockerCompose.swift
  • macos-app/Sources/TwigpineNode/DockerDetector.swift
  • macos-app/Sources/TwigpineNode/Info.plist
  • macos-app/Sources/TwigpineNode/Resources/AppIcon.icns
  • macos-app/Sources/TwigpineNode/Resources/docker-compose.yml
  • macos-app/Sources/TwigpineNode/SettingsWindow.swift
  • macos-app/Sources/TwigpineNode/StatusBarController.swift
  • macos-app/Sources/TwigpineNode/main.swift
  • npm/packages/gl/README.md
  • npm/packages/gl/package.json
  • release-please-config.json
  • scripts/build-bins.sh
  • scripts/build-macos-app.sh
  • scripts/check-release-versioning.sh
  • scripts/check-twigpine-core-deps.sh
  • scripts/ci-surfaces.sh
  • scripts/test-ci-surfaces.sh
  • scripts/test-pr-triage-detect.mjs
  • scripts/test-resolve-release-tag.sh

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

- Name the CLI crate twigpine-cli in the README crate table and the issue
  and PR templates; twigpine is the binary, not the crate.
- Document the twig and gl command names in the README.
- SECURITY.md no longer claims every install method ships
  git-remote-twigpine; npm ships only the name git runs.
- Restore the wording of one changelog entry; only its links change.
- The not_an_agent hint also names gl for CLI versions before the rename.
- install.sh links old names with ln -sfn, so an existing directory or
  link to one is replaced rather than linked into.
- The alias helper binary no longer re-runs the unit tests, and cargo run
  defaults to git-remote-twigpine.
- Note in release.yml that npm backfill only covers releases cut after
  the rename.
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.

1 participant