forked from cms-sw/cms-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcategories.py
74 lines (69 loc) · 2.52 KB
/
categories.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# A ridicously long mapping for categories. Good enough for now.
import re
from cms_static import GH_CMSSW_ORGANIZATION as gh_user
from cms_static import GH_CMSSW_REPO as gh_cmssw
from cms_static import GH_CMSDIST_REPO as gh_cmsdist
from categories_map import CMSSW_CATEGORIES
from repo_config import CMSBUILD_USER
authors = {}
GITHUB_BLACKLIST_AUTHORS = []
CMSSW_L1 = ["davidlange6", "fabiocos"]
APPROVE_BUILD_RELEASE = list(set([ "smuzaffar", "slava77" ] + CMSSW_L1))
REQUEST_BUILD_RELEASE = APPROVE_BUILD_RELEASE
TRIGGER_PR_TESTS = list(set([ "lgray", "bsunanda", "VinInn", "kpedro88", "makortel", "davidlt", "wddgit", "mtosi", "gpetruc"] + REQUEST_BUILD_RELEASE + [ a for a in authors if authors[a]>10 and not a in GITHUB_BLACKLIST_AUTHORS ]))
PR_HOLD_MANAGERS = [ "kpedro88" ]
COMMON_CATEGORIES = [ "orp", "tests", "code-checks" ]
EXTERNAL_CATEGORIES = [ "externals" ]
EXTERNAL_REPOS = [ "cms-data", "cms-externals", gh_user]
CMSSW_REPOS = [ gh_user+"/"+gh_cmssw ]
CMSDIST_REPOS = [ gh_user+"/"+gh_cmsdist ]
CMSSW_ISSUES_TRACKERS = list(set(CMSSW_L1 + [ "smuzaffar", "Dr15Jones" ]))
COMPARISON_MISSING_MAP = [ "slava77" ]
CMSSW_L2 = {
"Martin-Grunewald": ["hlt"],
"silviodonato": ["hlt"],
"perrotta": ["reconstruction"],
"fwyzard": ["hlt"],
"slava77": ["reconstruction"],
"civanch": ["simulation", "geometry", "fastsim"],
"mdhildreth": ["simulation", "geometry", "fastsim"],
"Dr15Jones": ["core", "visualization", "geometry"],
"smuzaffar": ["core", "externals"],
"alja": ["visualization"],
"ianna": ["geometry"],
"dmitrijus": ["dqm"],
"ggovi": ["db"],
"cerminar": ["alca"],
"franzoni": ["operations","alca"],
"cmsdoxy": ["docs"],
"mommsen": ["daq"],
"emeschi": ["daq"],
"rekovic": ["l1"],
"thomreis": ["l1"],
"nsmith-": ["l1"],
"lveldere": ["fastsim"],
"ssekmen": ["fastsim"],
"perrozzi": ["generators"],
"efeyazgan": ["generators"],
"davidlange6": ["operations"],
"fabiocos": ["operations"],
"vanbesien" : ["dqm"],
"kmaeshima" : ["dqm"],
"vazzolini" : ["dqm"],
"fabozzi" : ["pdmv"],
"GurpreetSinghChahal" : ["pdmv"],
"prebello" : ["pdmv"],
"ghellwig" : ["alca"],
"monttj" : ["analysis"],
"arunhep" : ["alca"],
"kpedro88" : ["upgrade"],
"mrodozov" : ["externals"],
"gudrutis" : ["externals"],
"lpernie" : ["alca"],
"jfernan2": ["dqm"],
"arizzi": ["analysis"],
"gpetruc": ["analysis"],
CMSBUILD_USER: ["tests", "code-checks" ],
}
USERS_TO_TRIGGER_HOOKS = set(TRIGGER_PR_TESTS + CMSSW_ISSUES_TRACKERS + CMSSW_L2.keys())
CMS_REPOS = set(CMSDIST_REPOS + CMSSW_REPOS + EXTERNAL_REPOS)