-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_dependencies.py
125 lines (125 loc) · 7.6 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
#!/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-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'],
'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.WorkQueue',
'WMCore.Services.WMBS',
'WMCore.Services.WMAgent'],
'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/OpsClipboard+',
'src/couchapps/WorkloadSummary+'],
},
'workqueue':{
'packages': ['WMCore.WorkQueue+', 'WMCore.Wrappers+',
'WMCore.Services', 'WMCore.Services.DBS+', 'WMCore.Services.PhEDEx+',
'WMCore.Services.RequestManager+', 'WMCore.Services.SiteDB+',
'WMCore.Services.JSONParser+',
'WMCore.WMSpec', 'WMCore.WMSpec.Steps',
'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.Storage', 'WMCore.Credential',
'WMCore.JobSplitting', 'WMCore.ProcessPool',
'WMCore.Services+', 'WMCore.WMSpec+'],
'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+',
'WMCore.Credential', 'WMCore.WorkerThreads',
'WMCore.Services.PhEDEx+', 'WMCore.ACDC', 'WMCore.Alerts+'],
'modules': ['WMQuality.TestInitCouchApp'],
'systems': ['wmc-database'],
'statics': ['src/couchapps/Agent+'],
},
'crabserver':{
'packages': ['WMCore.WMSpec', 'WMCore.ACDC',
'WMCore.Storage+', 'WMCore.HTTPFrontEnd.RequestManager+',
'WMCore.RequestManager+', 'WMComponent.DBSUpload',
'WMCore.ProcessPool'],
'systems': ['wmc-web'],
},
'crabclient':{
'packages': ['WMCore.Wrappers+', 'WMCore.Credential', 'PSetTweaks',
'WMCore.Services.UserFileCache'],
'systems': ['wmc-base'],
'modules': ['WMCore.FwkJobReport.FileInfo', 'WMCore.Services.Requests',
'WMCore.Services.Service', 'WMCore.Services.pycurl_manager'],
},
'wmclient':{
'systems': ['wmc-runtime', 'wmc-database']
},
'reqmon':{
'packages': ['WMCore.HTTPFrontEnd',
'WMCore.HTTPFrontEnd.GlobalMonitor+',
'WMCore.Services',
'WMCore.Services.RequestManager+',
'WMCore.Services.WorkQueue+',
'WMCore.Services.WMBS+',
'WMCore.Services.WMAgent+'],
'modules': ['WMCore.Database.CMSCouch'],
'systems':['wmc-web'],
'statics': ['src/html/GlobalMonitor',
'src/javascript/WMCore/WebTools/GlobalMonitor+']
},
}