source: lliurex-store/trunk/fuentes/README.md @ 7721

Last change on this file since 7721 was 7475, checked in by Juanma, 18 months ago

update readme.md

File size: 1.1 KB
Line 
1#Lliurex Store
2<p>Software store for Lliurex.</p>
3<p>
4Offers support for Lliurex's zomandos, snaps, appimage and software repositories.<br>
5It can be also be installed on a non-Lliurex system and it shall enable or disable plugins if any of them isn't supported on the base system</p>
6##Lliurex Store plugin system
7<p>
8Plugins must provide one register method and return a dictionary with "data" and "status" keys.<br>
9The basic structure of a plugin is provided at the "example.py" plugin.
10</p>
11###Available public methods
12<ul>
13<li>
14<b>execute_action(str(action_name))</b>
15<p>
16Executes "action" in a thread. When action is finished it will publish the result through the get_results method.
17</p>
18</li>
19<li>
20<b>get_progress(str(action_name) or None)</b>
21<p>
22Gets the current progress of a running action or of all actions launched
23</p>
24</li>
25<li>
26<b>get_result(str(action_name))</b>
27<p>
28Gets the result of action. This function will join the action till it's finished
29</p>
30</li>
31<li>
32<b>get_status(str(action_name) or None)</b>
33<p>
34Gets the return status of an action
35</p>
36</li>
37<li>
38<b>set_debug(bool(debug))</b>
39<p>
40Enables or disables debug
41</p>
42</li>
43</ul>
Note: See TracBrowser for help on using the repository browser.