Closed Bug 1428422 Opened 6 years ago Closed 5 years ago

Update go client for r14y

Categories

(Taskcluster :: Services, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bstack, Assigned: pmoore)

References

Details

Attachments

(6 files, 1 obsolete file)

Explained in bug 1428417.
Assignee: nobody → pmoore
Working on this now.
Hey Brian,

Previously we had fully qualified URLs in $ref properties - this PR adds support for relative URLs, relative to $id property.

Note, this needs to land before taskcluster/taskcluster-client-go#33.

Thanks!
Attachment #8998814 - Flags: review?(bstack)
Note, this PR depends on the previous jsonschema2go PR so the CI for this will fail until the other one lands.

There are 3 commits as follows:

   * The first adds support for relative URLs for schema references
   * The second disables services that seem to have invalid references/schemas - this commit can be reverted when those issues are solved
   * The third commit is for the updated generated code - this does not need to be reviewed in detail, and is the majority of the diff in this PR

Since the majority of the code change is the regenerated code, it is probably best and easiest to simply review the first two commits.

Note, this first PR also does not deal with all redeployability concerns, it is mostly about getting the client generation working again after we needed to introduce backwardly incompatible changes in the service definitions.

The other redeployability changes will follow afterwards when I'm back from PTO.

Many thanks!
Attachment #8998815 - Flags: review?(bstack)
Attachment #8998814 - Flags: review?(bstack) → review+
Attachment #8998815 - Flags: review?(bstack) → review+
Commits pushed to master at https://github.com/taskcluster/jsonschema2go

https://github.com/taskcluster/jsonschema2go/commit/20ed11f8128378f71175e747dfc9cb8456a9a750
Bug 1428422 - support relative paths in , relative to  property

https://github.com/taskcluster/jsonschema2go/commit/6ebde322b82c260d467bb7f280a6740c58d3e271
Merge pull request #16 from taskcluster/bug1428422

Bug 1428422 - support relative paths in $ref, relative to property $id
Commit pushed to master at https://github.com/taskcluster/taskcluster-client-go

https://github.com/taskcluster/taskcluster-client-go/commit/9deeaf16c714fadcf15f3af8e31d1bcff11f8fa1
Merge pull request #33 from taskcluster/bug1428422_2

Bug 1428422 - Support relative urls for exchange schemas / http input/output schemas and disable failing services
Depends on: 1462769
No longer depends on: 1462769
Depends on: 1459075
Depends on: 1484923
Blocks: 1469614
This patch reenables treeherder events code generation after bug 1462769 landed.
This reenables treeherder events code generation for taskcluster-client-java library.
Started work on the next phase, adding RootURL to Credentials struct and associated changes to tests, generated code, creation of http requests etc...
Depends on: 1505404
I see this linked from https://docs.google.com/document/d/155L2JS5l4Hu5yDLEWHiYNS9ujnBt7-jfXayOrHOaIt8/edit under "Build client generation tool".  Should the subject be changed, perhaps?
Depends on: 1519867

This is something of a rework of previous patches, and can be landed independently. This adds full support for downloading manifests/references/schemas as per taskcluster RFC 0128.

There have been several moving pieces in the last months, which is why there were multiple PRs created - I will review the open PRs with earlier attempts at adding this support, to ensure that the concerns they handled are also covered in this new PR, and that any feedback I received is also taken onboard, if it had not yet been addressed.

Attachment #9038816 - Flags: review?(jhford)
Attachment #9038816 - Flags: review?(jhford) → review+
Attached file GitHub Pull Request for generic-worker (obsolete) —
Attachment #9038877 - Flags: review?(jhford)
Comment on attachment 9038877 [details] [review]
GitHub Pull Request for generic-worker

This should be done in bug 1469614 instead.
Attachment #9038877 - Attachment is obsolete: true
Attachment #9038877 - Flags: review?(jhford)
Commits pushed to master at https://github.com/taskcluster/generic-worker

https://github.com/taskcluster/generic-worker/commit/9cd6dd824ccfa1c4816930fa55f34b7d09c96494
Bug 1428422 - use updated taskcluster-client-go in generic-worker

https://github.com/taskcluster/generic-worker/commit/cd0c355df6e2787bbf7bd1e8d4d0a2ffc1bb0ad7
Merge pull request #139 from taskcluster/bug1428422

Bug 1469614 - use updated taskcluster-client-go in generic-worker

Pete, is this done now?

Flags: needinfo?(pmoore)
Component: Redeployability → Services

(In reply to Dustin J. Mitchell [:dustin] pronoun: he from comment #17)

Pete, is this done now?

Indeed, thanks for checking!

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(pmoore)
Resolution: --- → FIXED

Released in generic-worker 11.1.1.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: