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

YIO app plugin update script #50

Merged
merged 3 commits into from
Jun 18, 2020
Merged

YIO app plugin update script #50

merged 3 commits into from
Jun 18, 2020

Conversation

zehnm
Copy link
Member

@zehnm zehnm commented Jun 18, 2020

Initial YIO app plugin update script to install GitHub binary releases.

Update is functional but it needs a few more tweaks in a future update:

  • Backup individual plugins instead of whole plugins folder.
    As soon as a second plugin is updated, the backup of the previous update is gone.
  • YIO app restart needs to be handled by systemctl.
    The manual restart redirects console output to /dev/null. I.e. log output is no longer in journald.

Script retrieves a YIO app plugin GitHub release and extracts it into the YIO
app-plugin folder.
Version information from the installed plugins are read with the newly added
qtplugininfo tool. The JSON metadata is parsed with the new jq tool.

Closes  #48
  +                              +          +
  |  Component                   |  GitHub  |
  +                              +          +
  |  remote-software             |  v0.5.2  |
  |  web-configurator            |  v0.2.0  |
  |  integration.dock            |  v0.6.0  |
  |  integration.homey           |  v0.5.0  |
  |  integration.home-assistant  |  v0.5.0  |
  |  integration.openhab         |  v0.5.0  |
  |  integration.spotify         |  v0.5.0  |
  |  integration.bangolufsen     |  v0.2.0  |
  |  integration.roon            |  v0.4.0  |
  |  integration.openweather     |  v0.5.0  |
  +                              +          +
The web-configurator is built from source and the hash files were of the
packaged releases.
@zehnm zehnm added the enhancement New feature or request label Jun 18, 2020
@zehnm zehnm requested a review from martonborzak June 18, 2020 15:50
@zehnm zehnm linked an issue Jun 18, 2020 that may be closed by this pull request
@zehnm zehnm merged commit 2ed2a32 into master Jun 18, 2020
@zehnm zehnm deleted the feature/app-plugin-update branch June 18, 2020 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remote App plugin Update script
2 participants