Fix contribute.json so it parses and is available at site root

RESOLVED FIXED

Status

Tree Management
Treeherder: Docs & Development
P3
normal
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: emorley, Assigned: emorley)

Tracking

(Blocks: 1 bug)

Details

Attachments

(1 attachment)

(Assignee)

Description

a year ago
The online observatory tool [1] looks for contribute.json in the site root. We should get the grunt build to put it there (but leave it in the repo root for other tooling to find).

It also isn't currently valid json.


[1] eg https://mozilla.github.io/http-observatory-website/analyze.html?host=treeherder.mozilla.org

Comment 1

a year ago
Created attachment 8774403 [details] [review]
[treeherder] mozilla:fix-contribute-json > mozilla:master
(Assignee)

Updated

a year ago
Attachment #8774403 - Flags: review?(wlachance)
Comment on attachment 8774403 [details] [review]
[treeherder] mozilla:fix-contribute-json > mozilla:master

tbh I'm pretty unconvinced this is useful, but I'm cool with it going in anyway.
Attachment #8774403 - Flags: review?(wlachance) → review+
(Assignee)

Comment 3

a year ago
(In reply to William Lachance (:wlach) from comment #2)
> tbh I'm pretty unconvinced this is useful, but I'm cool with it going in anyway.

Agreed, but seeing as the tool (which we're soon required to get a B or higher against) judges us for not having it, and it's already in the repo, let's fix it for now :-)

I'll gladly remove it in the future if it ends up being underused.

Comment 4

a year ago
Commits pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/0e5a57f98592faf1b34ff11af481e90b07c787e0
Bug 1289159 - Make contribute.json valid json

And some other cleanup.

https://github.com/mozilla/treeherder/commit/73f33801df0ad51a765d5e5cba54631fb0c0d516
Bug 1289159 - Make contribute.json available at site root

So web based tools can find it when eg automatically reporting bugs.

This boosts our HTTP Observatory score (with which all Mozilla sites are
about to be analysed).
(Assignee)

Updated

a year ago
Status: ASSIGNED → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.