Skip to content

[KANGAROO] Auto-updates across breaking semver #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
matthme opened this issue Feb 19, 2025 · 0 comments
Open

[KANGAROO] Auto-updates across breaking semver #36

matthme opened this issue Feb 19, 2025 · 0 comments

Comments

@matthme
Copy link
Collaborator

matthme commented Feb 19, 2025

Problem:
Currently, there is no way to have a kangaroo app auto-update across breaking semver versions. This is with the intent to prevent users to land in different DHTs in case that a breaking semver version indicates a change in dna hash(es).

Proposed Solution:
Offer an auto-update mode that allows to update across breaking semver versions and will follow the following logic:

  1. Check whether it's a breaking change, if no everything fine
  2. If it's a breaking change, check the holochain version of that the new app version depends on
  3. a) If the holochain version is still the same, install the new happ that comes with the new app version into the conductor side-by-side to the existing happ (or uninstall the old happ) and have the UI point to the InstalledAppId of that new happ
  4. b) If the holochain version is a different one, use create a new conductor and have the app use this new conductor
@github-project-automation github-project-automation bot moved this to Backlog in Holochain Feb 19, 2025
@matthme matthme removed the status in Holochain Feb 19, 2025
@matthme matthme moved this to Backlog in Holochain Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant