Kittyfisto / Tailviewer

Open source log file viewer
https://kittyfisto.github.io/Tailviewer/
MIT License
202 stars 37 forks source link

Introduce auto update mechanism for plugins #90

Open Kittyfisto opened 7 years ago

Kittyfisto commented 7 years ago

Decide how plugins could be auto updated. Implement first draft of this mechanism.

Questions to answer:

Kittyfisto commented 5 years ago

This very first draft for this requirement works as follows:

An interested customer can run the "Tailviewer.PluginRepository" CLI application on a server which is reachable by all interested parties. For example:
> Tailviewer.PluginRepository.exe run

Initially, the repository will be empty (duh). New plugins can be installed on the fly (even while the app is running) by calling the CLI app with the add parameter:
> Tailviewer.PluginRepository.exe add C:\bla\MyPlugin.0.1.tvp

Finally, tailviewer must be configured to work with this particular repository. This can be done via the settings by adding a plugin repository url such as:
tvpr://hostname:1234 It is important that a user specifies both the protocol (tvpr) as well as the port (1234). This will allow (in the far future) tailviewer to support different protocols / repositories to fetch plugins.

Once configured, a user needs to manually force an update by clicking the update button in the plugins page (it's on the upper-left, next to the open folder button).

In the future, the update process will be automated (opt-in) and the server's port will be configurable.

Kittyfisto commented 5 years ago

TODO