forked from dmwm/WMCore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_dependencies.py
162 lines (161 loc) · 9.89 KB
/
setup_dependencies.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
#!/usr/bin/env python
"""
Manage dependancies by declaring systems here.
A system can depend on packages or other systems.
If a package ends with a + include all subpackages.
"""
dependencies = {'wmc-rest':{
'bin': ['wmc-dist-patch', 'wmc-dist-unpatch','wmc-httpd'],
'packages' : ['WMCore.REST'],
'modules': ['WMCore.Configuration'],
'systems':['wmc-base']
},
'wmc-base':{
'bin': ['wmc-dist-patch', 'wmc-dist-unpatch'],
'packages' : ['WMCore.DataStructs'],
'modules': ['WMCore.WMFactory', 'WMCore.WMException', 'WMCore.Configuration',
'WMCore.WMExceptions', 'WMCore.WMFactory', 'WMCore.Lexicon',
'WMCore.WMBase', 'WMCore.WMLogging', 'WMCore.Algorithms.Permissions'],
},
'wmc-component':{
'packages': ['WMCore.MsgService', 'WMCore.WorkerThreads', 'WMCore.Alerts+', 'WMCore.ThreadPool'],
'modules': ['WMComponent.__init__'],
'systems': ['wmc-base']
},
'wmc-database':{
'packages': ['WMCore.Wrappers+', 'WMCore.GroupUser', 'WMCore.DataStructs', 'WMCore.Database',
'WMCore.Algorithms', 'WMCore.Services', 'WMCore.Cache'],
'modules': ['WMCore.Action', 'WMCore.WMConnectionBase', 'WMCore.DAOFactory', 'WMCore.WMInit'],
'systems':['wmc-base']
},
'wmc-runtime':{
'packages': ['WMCore.WMRuntime+', 'WMCore.WMSpec+', 'PSetTweaks', 'WMCore.FwkJobReport', 'WMCore.Storage+'],
'modules' : ['WMCore.Algorithms.ParseXMLFile'],
'systems':['wmc-base']
},
'wmc-web':{
'packages': ['WMCore.WebTools', 'WMCore.Agent+', 'WMCore.WorkerThreads', 'WMCore.Alerts+'],
'systems':['wmc-database', 'wmc-base'],
'statics': ['src/javascript/WMCore/WebTools',
'src/javascript/external/yui',
'src/css/WMCore/WebTools',
'src/css/WMCore/WebTools/Masthead',
'src/css/external/yui',
'src/templates/WMCore/WebTools',
'src/templates/WMCore/WebTools/Masthead',]
},
'reqmgr':{
'packages': ['WMCore.RequestManager+',
'WMCore.HTTPFrontEnd',
'WMCore.HTTPFrontEnd.RequestManager+',
'WMCore.HTTPFrontEnd.GlobalMonitor+',
'WMCore.Services.RequestManager',
'WMCore.Services+',
'WMCore.ACDC'],
'systems':['wmc-web', 'wmc-runtime'],
'statics': ['src/templates/WMCore/WebTools/RequestManager',
'src/html/GlobalMonitor',
'src/javascript/WMCore/WebTools/GlobalMonitor+',
'src/html/RequestManager',
'src/couchapps/ReqMgr+',
'src/couchapps/ConfigCache+',
'src/couchapps/WMStats+'],
},
'reqmgr2':{
'packages': ['WMCore.ReqMgr+',
'WMCore.WMDataMining+',
'WMCore.Services+',
'WMCore.ACDC'
],
'systems': ['wmc-rest', 'wmc-runtime', 'wmc-database'],
'statics': ['src/couchapps/ReqMgr+',
'src/couchapps/ReqMgrAux+',
'src/couchapps/ConfigCache+',
'src/couchapps/WMStats+',
'src/couchapps/WMDataMining+',
'src/html/ReqMgr+'
],
},
'workqueue':{
'packages': ['WMCore.WorkQueue+', 'WMCore.Wrappers+',
'WMCore.Services+',
'WMCore.WMSpec', 'WMCore.WMSpec.Steps', 'WMCore.WMSpec.Steps.Templates',
'WMCore.ACDC', 'WMCore.GroupUser', 'WMCore.Alerts'],
'modules' : ['WMCore.Algorithms.__init__', 'WMCore.Algorithms.Permissions',
'WMCore.Algorithms.MiscAlgos', 'WMCore.Algorithms.ParseXMLFile',
'WMCore.Database.__init__', 'WMCore.Database.CMSCouch',
'WMCore.Database.CouchUtils'],
'systems': ['wmc-base'],
'statics': ['src/couchapps/WorkQueue+'],
},
'wmagent':{
'packages': ['WMCore.Agent+', 'WMCore.Algorithms+',
'WMCore.JobStateMachine', 'WMComponent+',
'WMCore.HTTPFrontEnd+', 'WMCore.ThreadPool',
'WMCore.BossAir+', 'WMCore.Credential',
'WMCore.JobSplitting+', 'WMCore.ProcessPool',
'WMCore.Services+', 'WMCore.WMSpec+',
'WMCore.WMBS+', 'WMCore.ResourceControl+'],
'systems':['wmc-web', 'wmc-database', 'workqueue', 'wmc-runtime'],
'statics': ['src/javascript/WMCore/WebTools/Agent',
'src/javascript/WMCore/WebTools/WMBS',
'src/javascript/external/graphael',
'src/templates/WMCore/WebTools/WMBS'],
},
'asyncstageout':{
'packages': ['WMCore.Agent+', 'WMCore.Storage+', 'WMComponent.DBSUpload',
'WMCore.Credential', 'WMCore.WorkerThreads', 'WMCore.Services.SiteDB+',
'WMCore.Services.PhEDEx+', 'WMCore.ACDC', 'WMCore.Alerts+',
'WMCore.Services.UserFileCache'],
'modules': ['WMQuality.TestInitCouchApp', 'WMCore.Services.Service',
'WMCore.Services.pycurl_manager', 'WMComponent.__init__'],
'systems': ['wmc-database'],
'statics': ['src/couchapps/Agent+'],
},
'crabcache':{
'systems': ['wmc-rest'],
},
'crabserver':{
'packages': ['WMCore.Credential', 'WMCore.Services+', 'WMCore.RequestManager+',
'WMCore.WMSpec+', 'WMCore.HTTPFrontEnd+', 'WMCore.ACDC'],
'modules' : ['WMCore.DataStructs.LumiList'],
'systems' : ['wmc-rest', 'wmc-database'],
},
'crabclient':{
'packages': ['WMCore.Wrappers+', 'WMCore.Credential', 'PSetTweaks', 'WMCore.Services.UserFileCache+', 'WMCore.Services.SiteDB+', 'WMCore.Services.PhEDEx+'],
'systems': ['wmc-base'],
'modules': ['WMCore.FwkJobReport.FileInfo', 'WMCore.Services.Requests', 'WMCore.DataStructs.LumiList',
'WMCore.Services.Service', 'WMCore.Services.pycurl_manager', 'WMCore.Services.EmulatorSwitch'],
},
'crabtaskworker':{
'packages':['WMCore.WorkQueue', 'WMCore.Credential', 'WMCore.Algorithms+', 'WMCore.WMSpec+',
'WMCore.JobSplitting', 'WMCore.Services.SiteDB+', 'WMCore.Services.DBS+',
'WMCore.Services.UserFileCache+', 'WMCore.Services.PhEDEx+'],
'modules': ['WMCore.WMBS.File', 'WMCore.WMBS.WMBSBase', 'WMCore.WMBS.__init__'],
'systems': ['wmc-database', 'wmc-runtime'],
},
'wmclient':{
'systems': ['wmc-runtime', 'wmc-database']
},
'reqmon':{
'statics': ['src/couchapps/WMStats+',
'src/couchapps/WMStatsErl+',
'src/couchapps/WorkloadSummary+',
'src/couchapps/T0Request+',
'src/couchapps/LogDB+'],
},
'alertscollector':
{
'statics': ['src/couchapps/AlertsCollector+'],
},
'acdcserver': {
'packages': ['WMCore.ACDC', 'WMCore.GroupUser', 'WMCore.DataStructs',
'WMCore.Wrappers+', 'WMCore.Database'],
'modules' : ['WMCore.Configuration',
'WMCore.Algorithms.ParseXMLFile', 'WMCore.Algorithms.Permissions',
'WMCore.Lexicon', 'WMCore.WMException', 'WMCore.Services.Requests',
'WMCore.Services.pycurl_manager'],
'statics' : ['src/couchapps/ACDC+',
'src/couchapps/GroupUser+']
}
}