Open Kittyfisto opened 7 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.
TODO
Decide how plugins could be auto updated. Implement first draft of this mechanism.
Questions to answer: