Skip to content

Commit 057f4f0

Browse files
committed
Create suite repositories with repository_suite_definition type by default
1 parent 9fdf490 commit 057f4f0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

planemo/shed/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,10 +573,11 @@ def _build_suite_repo(config, repos, suite_config):
573573

574574
name = suite_config.get("name", None)
575575
if name is None:
576-
raise Exception("suite_configitories required name key.")
576+
raise Exception("suite_config requires name key.")
577577
description = suite_config.get("description", "")
578578
long_description = suite_config.get("long_description", None)
579579
owner = config["owner"]
580+
repo_type = suite_config.get('type', REPO_TYPE_SUITE)
580581

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

0 commit comments

Comments
 (0)