PluginPublishing » History » Version 5

Andreas Smas, 01/06/2019 08:33 PM

1 1 Andreas Smas
h1. How to publish plugins
2 1 Andreas Smas
3 3 Andreas Smas
Starting with Movian 6.0 supports multiple feed of plugins. For more information how to add new feeds to Movian see [[PluginFeeds|this article.]]
4 2 Andreas Smas
5 1 Andreas Smas
Note: There is no longer a central plugin repository hosted at this site. See [[PluginRepoRemoval|this article for more info]]
6 1 Andreas Smas
7 2 Andreas Smas
The easiest way to publish plugins is to commit each of them to a public repo at github. 
8 1 Andreas Smas
9 2 Andreas Smas
See https://github.com/andoma/movian-plugin-modarchive for an example how this should look.
10 1 Andreas Smas
11 2 Andreas Smas
Then you can use the movian-repo tool found at https://github.com/czz/movian-repo to generate plugin feeds.
12 2 Andreas Smas
13 2 Andreas Smas
Currently this tool only work with github hosted plugins.
14 2 Andreas Smas
15 5 Andreas Smas
h2. Create a feed
16 2 Andreas Smas
17 4 Andreas Smas
Edit a text file called @[email protected] and fill it with one github repo name per line, for example:
18 2 Andreas Smas
19 2 Andreas Smas
<pre>
20 2 Andreas Smas
/andoma/movian-plugin-sidplayer
21 2 Andreas Smas
/andoma/movian-plugin-xmpplayer
22 2 Andreas Smas
/andoma/movian-plugin-gmeplayer
23 2 Andreas Smas
/andoma/movian-plugin-modarchive
24 2 Andreas Smas
</pre>
25 2 Andreas Smas
26 2 Andreas Smas
Run it like this:
27 2 Andreas Smas
<pre>
28 2 Andreas Smas
python build.py -i repos.txt -o repo.json
29 2 Andreas Smas
</pre>
30 2 Andreas Smas
31 2 Andreas Smas
Then you can upload this file on github pages or host it in any way you like. Then give the URL to your users.
32 5 Andreas Smas
33 5 Andreas Smas
h2. Aggergate Feeds
34 5 Andreas Smas
35 5 Andreas Smas
If the same plugin (referred to by its @[email protected] in the feed) is found in multiple feeds it will still be considered a single plugin.
36 5 Andreas Smas
37 5 Andreas Smas
Therefore it should be possible for people to create aggregate feeds which contain all listings from other feeds, etc.
38 5 Andreas Smas
39 5 Andreas Smas
There is currently no automated tooling for this.