Skip to content

Conversation

@AArnott
Copy link
Member

@AArnott AArnott commented Sep 25, 2016

Fixes #1854

@bryanmacfarlane
Copy link
Contributor

Is there a mechanism to point to a published schema via http url? The reason I ask is this repo is our in the box tasks. Other task authors want to do the same and this will lead to this being the source of truth and everyone copying everywhere.

https://github.com/Microsoft/vsts-task-lib is probably the proper home for the definitive source of truth on the schema. It's our repo for all task authors.

@AArnott
Copy link
Member Author

AArnott commented Sep 25, 2016

@bryanmacfarlane: yes, a URL works fine for a $schema field in a json file. And GitHub offers raw content over HTTP so I've done this many times. I'll send a PR to vsts-task-lib as you suggest.

@AArnott
Copy link
Member Author

AArnott commented Sep 25, 2016

PR filed: microsoft/azure-pipelines-task-lib#146

When that's approved, I will revise this PR to consume that json file from the task.json files here.

@AArnott AArnott closed this Sep 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants