Closed Bug 1248468 Opened 8 years ago Closed 8 years ago

Add a User Agent to requests that mozilla-taskcluster makes to Treeherder

Categories

(Taskcluster :: Services, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

In bug 1230222 we're wanting to have consumers of Treeherder's API set a User Agent, to make issues (or eg deprecation of a particular endpoint) easier to track.

In addition to using treeherder-node (whose equivalent UA changes are being made in bug 1191403), mozilla-taskcluster makes direct requests to the API:
https://github.com/mozilla/mozilla-taskcluster/blob/197f81355558a346784d104f47c98a18a4716194/src/bin/import_repositories.js#L14
Comment on attachment 8719569 [details] [review]
mozilla-taskcluster: Add a User Agent to Treeherder requests

LGTM, merged
Attachment #8719569 - Flags: review?(garndt) → review+
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Component: Integration → Services
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: