Skip to content

Commit

Permalink
Split repository_url property into org name and repository name. Reso…
Browse files Browse the repository at this point in the history
…lves #67
  • Loading branch information
annakrystalli committed May 1, 2024
1 parent ef43d29 commit 8f9cee3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 12 deletions.
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# v3.0.0

* Breaking change: introduction of new `sample` output type id schema specification in `tasks.json`. The main breaking change is the removal of the `output_type_id` property in `sample`. Instead, the collection of samples is defined through a new `output_type_id_params` object.
* Breaking change: introduction of new `sample` output type id schema specification in `tasks.json`. The main breaking change is the removal of the `output_type_id` property in `sample`. Instead, the collection of samples is defined through a new `output_type_id_params` object (#70).
* Breaking change: The `repository_url` and `repository_host` properties in `admin.json` have been deprecated in favour of a sigle `repository` object with separate `host`, `owner` and `name` properties (#67).

# v2.0.1

Expand Down
32 changes: 21 additions & 11 deletions v3.0.0/admin-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,27 @@
}
}
},
"repository_host": {
"description": "The name of the web host for the hub repository",
"type": "string",
"enum": [
"GitHub"
]
},
"repository_url": {
"description": "The url for the hub repository.",
"type": "string",
"examples": ["https://github.com/reichlab/covid19-forecast-hub"]
"repository": {
"description": "Details of the hub repository.",
"examples": [{
"host": "github",
"owner": "Infectious-Disease-Modeling-Hubs",
"name": "example-simple-forecast-hub"
}],
"type": "object",
"properties": {
"host": {
"description": "The name of the web host for the hub repository",
"type": "string",
"enum": ["github"]
},
"owner": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"zoltar_project_id": {
"description": "The project id of the Hub in Zoltar",
Expand Down

0 comments on commit 8f9cee3

Please sign in to comment.