author Andrew Halberstadt <ahalberstadt@mozilla.com>
Tue, 07 Nov 2017 10:18:56 -0500
changeset 390833 b38e8ccf12193bdd0372ec8bf1c73581c346557a
parent 371847 453457533c95bf69b499607c050c8349c1d62fe8
child 398872 6d539e4a02bd5a819c798c16ffc2fdbe9fb5fab2
permissions -rw-r--r--
Bug 1414919 - [taskgraph] Allow morph templates to also modify task attributes, r=dustin The motivation for this change is to create a 'rebuild' template that sets 'attributes.task_duplicates'. A nice side effect is that if any of 'task' or 'attributes' aren't explicitly set, we can ignore the result which means we don't need to have a whole bunch of 'else' clauses in the templates. MozReview-Commit-ID: DX3UyFGb4ff

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

with Files('**'):
    BUG_COMPONENT = ('Taskcluster', 'General')

with Files('ci/**'):
    BUG_COMPONENT = ('Taskcluster', 'Task Configuration')

with Files('docker/**'):
    BUG_COMPONENT = ('Taskcluster', 'Docker Images')

with Files('docs/**'):
    BUG_COMPONENT = ('Taskcluster', 'Documentation')

#NOTE: scripts/* files included in docker images
with Files('scripts/**'):
    BUG_COMPONENT = ('Taskcluster', 'Docker Images')

with Files('taskgraph/**'):
    BUG_COMPONENT = ('Taskcluster', 'Task Configuration')

SPHINX_TREES['taskcluster'] = 'docs'