Permalink
Browse files

Create suite repositories with repository_suite_definition type by de…

…fault
  • Loading branch information...
nsoranzo committed Aug 12, 2016
1 parent 9fdf490 commit 057f4f072fec252a1daa822890f19133c0a41201
Showing with 3 additions and 1 deletion.
  1. +3 −1 planemo/shed/__init__.py
@@ -573,10 +573,11 @@ def _build_suite_repo(config, repos, suite_config):

name = suite_config.get("name", None)
if name is None:
raise Exception("suite_configitories required name key.")
raise Exception("suite_config requires name key.")
description = suite_config.get("description", "")
long_description = suite_config.get("long_description", None)
owner = config["owner"]
repo_type = suite_config.get('type', REPO_TYPE_SUITE)

repo_pairs = map(lambda name: (owner, name), repos.keys())
extra_repos = suite_config.get("include_repositories", {})
@@ -593,6 +594,7 @@ def _build_suite_repo(config, repos, suite_config):
"include": [],
"name": name,
"description": description,
"type": repo_type,
}
if long_description:
repo["long_description"] = long_description

0 comments on commit 057f4f0

Please sign in to comment.