Repo generation: log and keep going on error

* Delete old report() functions, use logging instead
* Skip addons which have problems (but give a warning)
This commit is contained in:
2017-06-23 19:10:26 -07:00
parent d06af2fed0
commit 8d8c3b84fd
3 changed files with 30 additions and 117 deletions

View File

@@ -2,6 +2,7 @@
import unittest
import os.path
import json
import blenderpack
class test_blenderpack_make_repo(unittest.TestCase):

View File

@@ -1,70 +0,0 @@
{
"packages": [
{
"bl_info": {
"author": "Multiple Authors",
"blender": [
2,
76,
0
],
"category": "Add Curve",
"description": "Add extra curve object types",
"location": "View3D > Add > Curve > Extra Objects",
"name": "Extra Objects",
"version": [
0,
1,
2
],
"warning": "",
"wiki_url": "https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Curve/Curve_Objects"
},
"type": "addon"
},
{
"bl_info": {
"author": "testscreenings, PKHG, TrumanBlending",
"blender": [
2,
59,
0
],
"category": "Add Curve",
"description": "Adds generated ivy to a mesh object starting at the 3D cursor",
"location": "View3D > Add > Curve",
"name": "IvyGen",
"version": [
0,
1,
2
],
"warning": "",
"wiki_url": "https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Curve/Ivy_Gen"
},
"type": "addon"
},
{
"bl_info": {
"author": "Multiple Authors",
"blender": [
2,
76,
0
],
"category": "Add Curve",
"description": "Add extra curve object types",
"location": "View3D > Add > Curve > Extra Objects",
"name": "Extra Objects",
"version": [
0,
1,
2
],
"warning": "",
"wiki_url": "https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Curve/Curve_Objects"
},
"type": "addon"
}
]
}