Skip to content

Instantly share code, notes, and snippets.

@taaem
Last active July 30, 2016 09:02
Show Gist options
  • Save taaem/e4f43dbaa5b169ea6286144b26ec4fcb to your computer and use it in GitHub Desktop.
Save taaem/e4f43dbaa5b169ea6286144b26ec4fcb to your computer and use it in GitHub Desktop.

Communication design

  • server: images.devaamo.fi

  • folder $DEVICE/releases/

  • new file for each release:

    • $SAILFISHOS_VERSION-$RELEASE_NUMBER
    • content = yaml, json?
      • upgradable from which releases
      • release date
      • Human-Readable Version, eg. Alpha-1,...
      • changelog
  • client qt5

  • parsing https://images.devaamo.fi/sfa/$DEVICE/releases

    • searching for <a href=""></a>" tags
    • pick the file with the highest release
      • stop if latest = current
    • open the file and parse content
  • display results as an update

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