Closed Bug 1817112 Opened 3 years ago Closed 3 years ago

Sort task["attributes"]["release_artifacts"]

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(firefox112 fixed)

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: rjl, Assigned: rjl)

Details

Attachments

(1 file)

For the purposes of diffing taskgraphs, it would be helpful if task["attributes"]["release_artifacts"] was sorted to reduce noise in the diffs.

Note that when outputting a taskgraph to JSON, sort_keys is set True. Unfortunately, that doesn't sort lists like release_artifacts.

Minimize diff noise when comparing taskgraphs written as JSON files with -J.
json.dumps() has sort_keys=True, but that does not affect lists.

Pushed by thunderbird@calypsoblue.org: https://hg.mozilla.org/integration/autoland/rev/7cd29cc3dc2a Sort taskgraph's task["attributes"]["release_artifacts"]. r=taskgraph-reviewers,jlorenzo
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: