Repository navigation
Research: point the updater's GitHub fallback at the canonical repository - #1663
Merged
Merged
Conversation
…tory The updater asks updates.trymaple.ai first and falls back to the latest GitHub release. The fallback still named the repository's former owner and worked only through GitHub's rename redirect. Use the canonical name from repo.meta.json, and add a test that keeps the two in step. Installed clients keep the URL they were built with. Co-Authored-By: Claude <[email protected]>
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.
Summary
Research's desktop updater asks
updates.trymaple.ai/latest.jsonfirst and falls back to the latest GitHub release. The fallback URL still named the repository's former owner, so it worked only through GitHub's rename redirect. That redirect stops if a repository with the old name is ever created again.tauri.conf.json: the fallback is nowhttps://github.com/MaplePrivacyLabs/Maple/releases/latest/download/latest.json.scripts/ci/test_research_updater_endpoints.py(new): the endpoint list is the hosted feed, then the release manifest of the repository named inrepo.meta.json. It fails on the old URL.Effect
Checks
302to the current release'slatest.json; the old one answers301to the new URL first.Not run: an update through the fallback in a packaged build. The app reaches the fallback only when the hosted feed fails.
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.