Check-in [f9e21a1d69]
Overview
Comment: | lsplugins: export {png} to help/img/ |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
f9e21a1d698ef2dceba9df7ca0cbff82 |
User & Date: | mario on 2016-12-03 21:24:43 |
Other Links: | manifest | tags |
Context
2016-12-03
| ||
21:26 | minor updates check-in: ed3c221a07 user: mario tags: trunk | |
21:24 | lsplugins: export {png} to help/img/ check-in: f9e21a1d69 user: mario tags: trunk | |
21:24 | Fix regex groups for find_player_win path quoting check-in: a03f6235f0 user: mario tags: trunk | |
Changes
Modified dev/lsplug.py from [36b9b7d23c] to [6ef61b0997].
1 2 3 4 5 6 7 8 9 10 11 12 13 | # description: list available plugins for wiki from config import * import pluginconf pluginconf.module_base = "config" pluginconf.plugin_base = ["channels", "contrib"]#, conf.share+"/channels", conf.dir+"/plugins"] for name,e in pluginconf.all_plugin_meta().items(): if "title" in e: try: print "| [{title}]({url}) | **{version}** | {type} | {category} | *{priority}* | {description} |".format(**e) except Exception, e: print "ERROR*** ", name, e | > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # description: list available plugins for wiki from config import * from base64 import b64decode import pluginconf pluginconf.module_base = "config" pluginconf.plugin_base = ["channels", "contrib"]#, conf.share+"/channels", conf.dir+"/plugins"] for name,e in pluginconf.all_plugin_meta().items(): # print table if "title" in e: try: print "| [{title}]({url}) | **{version}** | {type} | {category} | *{priority}* | {description} |".format(**e) except Exception, e: print "ERROR*** ", name, e # extract icon if False and "png" in e: with open("help/img/%s_%s.png" % (e["type"], name), "wb") as f: f.write(b64decode(e["png"])) |