Closed Bug 1466848 Opened 6 years ago Closed 6 years ago

Expose moz-landing-system field in json-changeset

Categories

(Developer Services :: Mercurial: hg.mozilla.org, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mars, Assigned: mars)

Details

Attachments

(2 files)

We decided to add a new field to changeset extra data so we can track adoption of Mozilla's automated landing systems (see bugs 1465266, 1465266).  The new field needs to be exposed by hg.m.o so our changeset metrics system can capture it.

The new extra data field only needs to be exposed for JSON-formatted query responses (https://hg.mozilla.org/mozilla-central/(json-changeset|json-rev)).
Expose the new changeset extra data field 'moz-landing-system' in JSON
changeset responses.  The field is labelled as 'landingsystem' in the responses
to keep the naming consistent with the other JSON response fields.
Attachment #8983418 - Attachment description: WIP hgmo: add moz-landing-system to changeset JSON → hgmo: add moz-landing-system to changeset JSON
Comment on attachment 8983418 [details]
hgmo: add moz-landing-system to changeset JSON

Gregory Szorc [:gps] has approved the revision.

https://phabricator.services.mozilla.com/D1555
Attachment #8983418 - Flags: review+
Pushed by gszorc@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/c31d7c0f0bd3
hgmo: add moz-landing-system to changeset JSON r=gps
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
This was overlooked as the test is in a different directory than the hgmo extension.
Comment on attachment 8985419 [details]
hgserver: add landingsystem key to test JSON output (Bug 1466848) r?gps

Gregory Szorc [:gps] has approved the revision.

https://phabricator.services.mozilla.com/D1660
Attachment #8985419 - Flags: review+
Pushed by gszorc@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/030b9123dbf1
hgserver: add landingsystem key to test JSON output r=gps
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: