Linux support: Add an installer, plus some copy changes - #14
Merged
Conversation
install.sh fetches the static Linux binary for the host arch, verifies it against the release SHA256SUMS (an unfetchable SHA256SUMS asks for confirmation and aborts after 30s without input), installs it into the first writable of /usr/local/bin, ~/.local/bin, ~/bin and starts it from there. release.yml cross-builds amd64 and arm64 on a v* tag and publishes both binaries plus SHA256SUMS. Autostart onboarding no longer cares where the binary lives: the first daemon start records the wish and enables the unit from any location, and a unit pointing at a binary other than the running one is rewritten on start. uninstall stays the one command that forgets everything. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
settle becomes debounce, 'local only' is cut, the autostart help drops to two lines, doctor stops naming a key file and matches mac on the unset SSH_AUTH_SOCK line, and two autostart/start messages lose their tails. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
CI's TestDaemonEndToEnd timeout discards the daemon log, which is the one thing that says how far the daemon got. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
On a host with a live user bus (the CI runner; not this devbox), the systemd calls in reconcile take long enough that repo and config changes made during daemon startup landed before any inotify watch existed, and with no catch-up commit on start they were missed for good. Watch first, then reconcile. Co-Authored-By: Claude Fable 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.
Adds a universal installer, modelled after deno and others, that identifies the platform it is on and pulls a suitable binary from github releases.
This also folds in some copy changes to remove slop