1# this is a dict of branch specific keys/values. As this fills up and more
2# fx build factories are ported, we might deal with this differently
3
4# we should be able to port this in-tree and have the respective repos and
5# revisions handle what goes on in here. Tracking: bug 978510
6
7# example config and explanation of how it works:
8# config = {
9#     # if a branch matches a key below, override items in self.config with
10#     # items in the key's value.
11#     # this override can be done for every platform or at a platform level
12#     '<branch-name>': {
13#         # global config items (applies to all platforms and build types)
14#         'repo_path': "projects/<branch-name>",
15#
16#         # platform config items (applies to specific platforms)
17#         'platform_overrides': {
18#             # if a platform matches a key below, override items in
19#             # self.config with items in the key's value
20#             'linux64-debug': {
21#                 'upload_symbols': False,
22#             },
23#             'win64': {
24#                 'enable_checktests': False,
25#             },
26#         }
27#     },
28# }
29
30config = {
31    ### release branches
32    "mozilla-central": {
33        "repo_path": 'mozilla-central',
34    },
35    'mozilla-release': {
36        'enable_release_promotion': True,
37        'repo_path': 'releases/mozilla-release',
38        'branch_uses_per_checkin_strategy': True,
39    },
40    'mozilla-esr60': {
41        'enable_release_promotion': True,
42        'repo_path': 'releases/mozilla-esr60',
43        'branch_uses_per_checkin_strategy': True,
44    },
45    'mozilla-beta': {
46        'enable_release_promotion': 1,
47        'repo_path': 'releases/mozilla-beta',
48        'branch_uses_per_checkin_strategy': True,
49    },
50    'try': {
51        'repo_path': 'try',
52        'branch_supports_uploadsymbols': False,
53    },
54
55    ### project branches
56    #'fx-team': {},   #Bug 1296396
57    'gum': {
58        'branch_uses_per_checkin_strategy': True,
59    },
60    'mozilla-inbound': {
61        'repo_path': 'integration/mozilla-inbound',
62    },
63    'autoland': {
64        'repo_path': 'integration/autoland',
65    },
66    'ux': {},
67    'cypress': {
68        # bug 1164935
69        'branch_uses_per_checkin_strategy': True,
70    },
71
72    ### other branches that do not require anything special:
73    'alder': {},
74    'ash': {},
75    'birch': {},
76    # 'build-system': {}
77    'cedar': {},
78    'elm': {},
79    'fig': {},
80    'graphics': {},
81    # 'holly': {},
82    'jamun': {
83        'enable_release_promotion': 1,
84    },
85    'larch': {},
86    # 'maple': {},
87    'oak': {},
88    'pine': {},
89}
90