Closed Bug 1649356 Opened 5 years ago Closed 5 years ago

Cleanup inconsistencies in taskgraph schemas.

Categories

(Firefox Build System :: Task Configuration, defect)

defect

Tracking

(firefox80 fixed)

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: tomprince, Assigned: tomprince)

Details

Attachments

(5 files)

No description provided.

We don't ever set depname in any of the kinds that use these transforms.
Since we don't apply default values in schemas, Required(..., default=...)
behaves equivalently to Optional(...), so we can just remove these options.

Assignee: nobody → mozilla
Status: NEW → ASSIGNED

This is the only place where we override the default of required=False.
Change it to match the rest of the schemas, so as not to confuse people who
don't happen to notice the final line of the scehma.

Attachment #9160288 - Attachment description: Bug 1649356: [taskgraph] Don't use `Schmea(..., required=True)`; r?ahal → Bug 1649356: [taskgraph] Don't use `Schema(..., required=True)`; r?ahal
Pushed by mozilla@hocat.ca: https://hg.mozilla.org/integration/autoland/rev/3661d7d61d04 [taskgraph] Don't have unused `depname` key in release transforms; r=Callek https://hg.mozilla.org/integration/autoland/rev/7bb059510517 [taskgraph] We do not honour voluptuous `default` values, so don't specify them; r=Callek https://hg.mozilla.org/integration/autoland/rev/0b0cded20064 [taskgraph] `optionally_keyed_by` takes multiple fields to key by; r=Callek https://hg.mozilla.org/integration/autoland/rev/4ffb1ac48cea [taskgraph] Don't use `Schema(..., required=True)`; r=ahal https://hg.mozilla.org/integration/autoland/rev/e6d6bbdb8334 [taskgraph] Enforce schema identifier restrictions for source_test schema; r=ahal
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: