Support for unofficial projects and add savanna
Change-Id: I9eaa72c7c66d672c18f26ec9248fb9ef261bf6ea
This commit is contained in:
parent
980627fb64
commit
6c84a3548d
14
projects/savanna.json
Normal file
14
projects/savanna.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"name": "savanna",
|
||||||
|
"subprojects": [
|
||||||
|
"stackforge/savanna",
|
||||||
|
"stackforge/savanna-pythonclient",
|
||||||
|
"stackforge/savanna-dashboard",
|
||||||
|
"stackforge/savanna-extra"
|
||||||
|
],
|
||||||
|
"unofficial": true,
|
||||||
|
"core-team": [
|
||||||
|
"slukjanov",
|
||||||
|
"aignatov"
|
||||||
|
]
|
||||||
|
}
|
3
utils.py
3
utils.py
@ -38,7 +38,8 @@ def get_projects_info(project=None, all_projects=False):
|
|||||||
if os.path.isfile(fn):
|
if os.path.isfile(fn):
|
||||||
with open(fn, 'r') as f:
|
with open(fn, 'r') as f:
|
||||||
project = json.loads(f.read())
|
project = json.loads(f.read())
|
||||||
projects.append(project)
|
if not (all_projects and project.get('unofficial')):
|
||||||
|
projects.append(project)
|
||||||
|
|
||||||
return projects
|
return projects
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user