Skip to content
This repository was archived by the owner on Jan 5, 2019. It is now read-only.

Minor tweaks!#31

Merged
petemoore merged 2 commits intotaskcluster:masterfrom
petemoore:master
Apr 23, 2015
Merged

Minor tweaks!#31
petemoore merged 2 commits intotaskcluster:masterfrom
petemoore:master

Conversation

@petemoore
Copy link
Member

Hey Jonas,
I believe these commits fix some very minor issues.

  1. For consistency I wanted to add the "object" type to list-artifacts-response.yml where it was not explicitly stated, as this was the only place where it wasn't (I only noticed when I hit a problem parsing).

  2. The other tweak is adding the # character to the end of some of the Input and Output url json schema references. I haven't tested the code change, but I am hoping that will fix e.g. lines 267-268 in http://references.taskcluster.net/queue/v1/api.json:

267       "input": "http://schemas.taskcluster.net/queue/v1/post-artifact-request.json",
268       "output": "http://schemas.taskcluster.net/queue/v1/post-artifact-response.json"

to be consistent with the other references, e.g.:

 22       "input": "http://schemas.taskcluster.net/queue/v1/create-task-request.json#",
 23       "output": "http://schemas.taskcluster.net/queue/v1/task-status-response.json#"

 55       "input": "http://schemas.taskcluster.net/queue/v1/create-task-request.json#",
 56       "output": "http://schemas.taskcluster.net/queue/v1/task-status-response.json#"

125       "input": "http://schemas.taskcluster.net/queue/v1/task-claim-request.json#",
126       "output": "http://schemas.taskcluster.net/queue/v1/task-claim-response.json#"

etc...

Some of the other repos also have the missing # in places but I'll only raise PRs for those once I know if you are happy in principle with the change!
Thanks,
Pete

@jonasfj
Copy link
Contributor

jonasfj commented Feb 3, 2015

Thanks... this looks okay, I'll try to merge it in... and see if tests pass locally (travis not reliable at all).

FYI, I'm currently rewriting the queue in the rewrite-on-azure-storage-services branch. But there aren't going to be many changes to the JSON schema, so this will easily merge.

@jonasfj
Copy link
Contributor

jonasfj commented Feb 3, 2015

Okay, fyi, I'm merging this into my rewrite branch and merging it in that way...

If it's something you would like to see deployed soon, just say the word and I'll land it.

@jonasfj
Copy link
Contributor

jonasfj commented Feb 20, 2015

This will land with #32

@jonasfj jonasfj closed this Feb 20, 2015
@petemoore
Copy link
Member Author

I see #32 landed yesterday; should I redeploy all schemas to get http://schemas.taskcluster.net/queue/v1/list-artifacts-response.json updated? Or are there schema updates that we want to hold off deploying at the moment?
Thanks!

@jonasfj
Copy link
Contributor

jonasfj commented Mar 25, 2015

@petemoore reploy what... new queue is deployed it also uploaded new schemas...
Feel free to update the go client though :)

@petemoore
Copy link
Member Author

@jonasfj For some reason http://schemas.taskcluster.net/queue/v1/list-artifacts-response.json is still on the old version. It has not picked up the changes from commit afb497c - there is still a trailing " in the $schema, and the type has not been set to "object" as per this commit.

@petemoore petemoore reopened this Apr 22, 2015
@petemoore petemoore closed this Apr 22, 2015
@jonasfj
Copy link
Contributor

jonasfj commented Apr 23, 2015

@petemoore My bad, we two branches for a while, feel free to make the change and land it... :)

@petemoore petemoore reopened this Apr 23, 2015
@petemoore petemoore merged commit 5ff59b6 into taskcluster:master Apr 23, 2015
petemoore added a commit to taskcluster/taskcluster-client-go that referenced this pull request Jul 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants