Repository navigation
fix(pairing): warn when relay credentials sit at the pre-rename path - #51
Closed
simonvanlierde wants to merge 1 commit into
Closed
simonvanlierde wants to merge 1 commit into
simonvanlierde wants to merge 1 commit into
Conversation
A Pi installed without Docker keeps its file in ~/.config/relab, which this version no longer reads, so it silently drops back to pairing mode. The log now names the old file and where to move it. RELAB_CREDENTIALS_FILE is checked the same way. - INSTALL.md: Docker installs keep their pairing, native installs move the file, and the backend must be updated first - README: R9lab naming in the connection diagram, and the current docs URL
Contributor
Author
|
Not needed: no cameras are paired right now, so there is nothing to migrate from ~/.config/relab. The hard switch in #48 stands. |
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.
A Pi installed without Docker keeps its credentials in
~/.config/relab, which #48 stopped reading, so it silently falls back to pairing mode. The log now names the old file and where to move it.~/.config/relab/relay_credentials.json(orRELAB_CREDENTIALS_FILE) exists and the new file does notmv. The backend has to be updated first (fix(backend): accept the old camera token audience until 2027-01-31 r9lab#452)Tests:
tests/unit/pairingandtests/unit/corepass, including a new test for the warning. ruff and ty are clean.