Rename BroLink to Latch, by Bardbro - #23
Merged
Merged
Conversation
The product is now Latch, made by Bardbro (bardbro.com), with the new logo. Crates, executables, bundle and service identifiers, environment variables, release assets, docs and deploy kits all carry the new name. An installed BroLink upgrades in place: crates/core/src/legacy.rs and crates/host/src/legacy.rs hold every old name, and the data folder, the launch agent and user unit, the Mac bundle, the Windows service, task, firewall rules and engine folder are all recognised and replaced. Peers on either name still find each other, and the update push sends both header sets. The release workflow also publishes the old asset names, which a 4.0 updater needs. Version 4.1.0. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Rust 1.99 renamed Atomic::fetch_update to try_update and deprecated the old name, which clippy -D warnings turns into an error on CI's stable toolchain. The connection slot is a compare-and-swap loop instead, which builds on both. Also names three tests for the Latch engine and service rather than "latchs". Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
On Linux the engine login file sits in ~/.config/sunshine, not under the data folder, so repairing only paths under the old data folder missed it. The conf's credentials_file is now repaired by file name as well, and the repair runs from main right after the data folder is taken over, ahead of the port check, so it happens even when another copy already serves. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…file Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ne's config Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
What
BroLink is now Latch, made by Bardbro (bardbro.com), with the new logo. Crates, executables, bundle and service identifiers, environment variables, release assets, docs and deploy kits all carry the new name. Version 4.1.0.
Upgrading installs
Nothing that is already deployed is left behind. Every old name lives in
crates/core/src/legacy.rsandcrates/host/src/legacy.rs:brolink-macos-arm64.tar.gzcontainingBroLink.app, because a 4.0 updater accepts nothing else. On first run it moves itself toLatch.app, writes the new launch agent, retiresdev.brolink.nodeand carries on.latch.servicereplacesbrolink.service; the engine's saved login path is repaired after the folder moves.install-host.ps1plus one elevated setup moves the folder, retires the old task, rules and service, and moves the engine with its pairing state.appfield, streamer kind), and the update push sends both header sets.Tested
cargo test --workspace,cargo fmt --checkandcargo clippy -D warningspass on macOS. The Windows-only code is checked by this PR's CI.🤖 Generated with Claude Code