Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Interactive installs using output flags skip the unpaired-access choice on Linux and Windows, while the CI assertion can pass without confirming contradictory flags were rejected.
3 open issues
What changed in this PR
Adds a default-yes unpaired-access choice to the Linux systemd and Windows get-started installers, while leaving the binary’s default unchanged and preserving existing settings.
Changes:
- Adds mutually exclusive access flags, an interactive prompt, and a fresh-install default for unattended setup.
- Updates installer guidance and pairing documentation.
- Extends Debian installer CI to check configuration defaults, preservation, and conflicting flags.
| File | Description |
|---|---|
scripts/get_started_windows.ps1 |
Adds access switches, prompting, config writing, and completion guidance. |
scripts/get_started_linux.sh |
Adds equivalent access options for systemd setup. |
packaging/sendspin-cli.conf.example |
Explains binary and installer defaults. |
docs/wiki/Pairing-a-Player.md |
Notes the installers’ unpaired-access default. |
docs/wiki/Getting-Started-on-Windows.md |
Documents the prompt, switches, and unattended behavior. |
docs/wiki/Getting-Started-on-Linux.md |
Documents the prompt, flags, and unattended behavior. |
docs/wiki/Advanced-Usage.md |
Explains the installer default and how to require pairing again. |
.github/workflows/build.yml |
Adds systemd stand-ins and installer configuration assertions. |
Review effort: Max (adaptive)
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.

With Sendspin/spec#361 every dynamic pairing needs a gesture on the player's host, so the get-started installers now ask whether to let any server play without pairing, defaulting to yes. The binary's own default (
allow-unpaired = false) is unchanged.What changes
get_started_linux.sh: new--allow-unpaired/--no-allow-unpaired(passing both fails). A fresh interactive install asksLet any server on your network play here without pairing first? [Y/n]after the name and output questions and writesallow-unpaired = true|falsein place of the example's commented line.--yeson a host with no config writestrue.get_started_windows.ps1: the same, with-AllowUnpaired/-NoAllowUnpaired/-Yes.allow-unpairedis never asked about or changed (a passed flag prints anote:), and upgrading a configured host asks nothing. The non-systemd Linux path and the macOS pkg are untouched.--yesdefault and how to turn it off. The Linux installer is documented in Getting-Started-on-Linux, not Installation, so that page got the change.systemctl/systemd-sysusersso the systemd path runs, then asserts--yeswritestrue, a flag against a config that sets the key is ignored,--no-allow-unpairedwritesfalse, and contradicting flags fail.Compatibility
Nothing breaks for CLI users: no flag, config key, protocol or default of the binary changes. Visible behaviour change: new installs through the get-started scripts now allow unpaired servers to play unless the user answers no or passes
--no-allow-unpaired/-NoAllowUnpaired. That includes unattended--yes/-Yesinstalls on a host with no config. Existing configs are left as they are.Testing
nmeans false, a configured host is left alone) were run in a Debian trixie container against a stub payload.