Skip to content

Add COSMOS release notes update flow#117

Open
shawn-makes-stuff wants to merge 1 commit into
OpenCentauri:mainfrom
shawn-makes-stuff:release-notes
Open

Add COSMOS release notes update flow#117
shawn-makes-stuff wants to merge 1 commit into
OpenCentauri:mainfrom
shawn-makes-stuff:release-notes

Conversation

@shawn-makes-stuff
Copy link
Copy Markdown
Contributor

image

Adds new online update user journey:

  1. Checks for updates (new loading icon and message)
  2. Presents user with update option, including release notes and install confirmation
  3. Active install update (loading icon, changes status from downloading to installing)
  4. On completion user is prompted to restart

It automatically pulls the latest update via github api - ignores updates tagged 0.0.0 and draft or prerelease.


Current coverage is:

  • Checking for the latest COSMOS release
  • offline / GitHub failure screen
  • Already up to date!
    • Downloading update
    • Installing update
  • success screen
    • Update installed
    • Restart now
  • failure screens
    • Download failed
    • Installation failed

-Stalled/failed downloads now time out and surface a proper failure instead of hanging indefinitely on Downloading update
-GrumpyScreen integration now depends on a COSMOS-side patch plus a new command hook: cosmos_update_check_cmd
-Release notes are sourced from GitHub release body and normalized for display, not rendered as full Markdown
-This introduces a new helper script: meta-opencentauri/recipes-data/update-scripts/files/cosmos-update-check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant