Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

implement app updates for the app index #73

@Septias

Description

@Septias
  • submitted apps should have an app_id and version fields in the manifest.toml file
  • the bot will detect if the imported app is an upgrade of an already existing app on the index
  • when the xdcstore frontend request the bot to send the updated index metadata, it also sends the app_id and version of downloaded apps
  • when the bot receives an update request from the xdcstore frontend, besides the app index metadata it also checks the app_ids and versions of downladed apps and if there is a newer version, sends them one by one in new status-updates to the xdcstore frontend.
  • use integer for app_id

hence update of downloaded apps happen automatically when the user use the app and a "update index" request is sent, because of this, a way to remove downloaded apps from cache/local-storage is needed, so user have a way to stop the updates of an app downloaded once to try but never wanted/used anymore, for that aspect see issue #123

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions