Skip to content
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

app: upgrade native application without restarting system #145

Open
yorkie opened this issue Dec 22, 2018 · 1 comment
Open

app: upgrade native application without restarting system #145

yorkie opened this issue Dec 22, 2018 · 1 comment
Assignees

Comments

@yorkie
Copy link
Member

yorkie commented Dec 22, 2018

Currently all the native applications are required to be at rootfs which could be upgraded with the system OTA, that is quite huge a bit than the third-party products.

Thus the new component to upgrade application requires the following to be done:

  • Progress to install the application: download, checksum and install.
  • Consider the case the application is working, when to install.
  • Define the package format.

Package registry must support the below features:

  • Get package by the following versions: Node.js, YodaOS and runtime API level.
  • Server pushing updates via MQTT/Wormhole.
  • Include the following files: JavaScript, JSON, libraries and executables.
@qile222
Copy link
Contributor

qile222 commented Dec 22, 2018

todo list:

  • provide platform tools for app packaging
  • app only need to provide API level to confirm whether it works properly, the version of the distribution channel is limited by the cloud
  • move third party app to /data, since every app directory should includes data directory and executable directory, only update the executable directory while update
  • support batch publish via MQTT
  • interaction while updating

- in this phase, we publish the app manually, automated publishing needs to be supported later

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

No branches or pull requests

3 participants