-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Copy pathsource-mappings.json
211 lines (206 loc) · 8.01 KB
/
source-mappings.json
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
// This file configures where the VMR synchronizes the sources from.
// Each development repository has a mapping record which says where the remote repo is,
// what files are in/excluded from the sync, etc.
//
// This file does not contain information about what version of sources is synchronized.
// Please check the source-manifest.json file for that purpose.
//
// More details on this file's mechanics:
// https://github.com/dotnet/arcade/blob/main/Documentation/UnifiedBuild/VMR-Design-And-Operation.md#repository-source-mappings
{
// Location within the VMR where the source-build patches are stored
// These patches are applied on top of the code synchronized into the VMR
"patchesPath": "src/sdk/src/SourceBuild/patches",
"sourceMappingsPath": "src/sdk/src/VirtualMonoRepo/source-mappings.json",
"thirdPartyNoticesTemplatePath": "src/sdk/src/VirtualMonoRepo/THIRD-PARTY-NOTICES.template.txt",
// Some files are copied outside of the src/ directory into other locations
// When files in the source paths are changed, they are automatically synchronized too
"additionalMappings": [ /* These are not supported with the flat flow anymore */],
// These defaults are added to all mappings unless `ignoreDefaults: true` is specified
// When no "include" filter is specified, "**/*" is used
// The default filters do not apply to submodules
// Only filters which start with submodule's path are applied when syncing submodules
"defaults": {
"defaultRef": "main"
},
// Each of these mappings has a corresponding folder in the src/ directory
// We set disableSynchronization to true for all of them to be sure the old one-way synchronization does not happen
// This setting does not affect the code flow subscriptions
"mappings": [
{
"name": "arcade",
"defaultRemote": "https://github.com/dotnet/arcade",
"disableSynchronization": true
},
{
"name": "aspire",
"defaultRemote": "https://github.com/dotnet/aspire",
"exclude": [
"src/Aspire.Dashboard/**/*",
"samples/**/*"
],
"disableSynchronization": true
},
{
"name": "aspnetcore",
"defaultRemote": "https://github.com/dotnet/aspnetcore",
"disableSynchronization": true
},
{
"name": "cecil",
"defaultRemote": "https://github.com/dotnet/cecil",
"disableSynchronization": true
},
{
"name": "command-line-api",
"defaultRemote": "https://github.com/dotnet/command-line-api",
"disableSynchronization": true
},
{
"name": "deployment-tools",
"defaultRemote": "https://github.com/dotnet/deployment-tools",
"disableSynchronization": true
},
{
"name": "diagnostics",
"defaultRemote": "https://github.com/dotnet/diagnostics",
"disableSynchronization": true
},
{
"name": "efcore",
"defaultRemote": "https://github.com/dotnet/efcore",
"disableSynchronization": true
},
{
"name": "emsdk",
"defaultRemote": "https://github.com/dotnet/emsdk",
"disableSynchronization": true
},
{
"name": "fsharp",
"defaultRemote": "https://github.com/dotnet/fsharp",
"disableSynchronization": true
},
{
"name": "msbuild",
"defaultRemote": "https://github.com/dotnet/msbuild",
"disableSynchronization": true
},
{
"name": "nuget-client",
"defaultRemote": "https://github.com/NuGet/NuGet.Client",
"defaultRef": "dev",
"disableSynchronization": true
},
{
"name": "razor",
"defaultRemote": "https://github.com/dotnet/razor",
"disableSynchronization": true
},
{
"name": "roslyn",
"defaultRemote": "https://github.com/dotnet/roslyn",
"disableSynchronization": true
},
{
"name": "roslyn-analyzers",
"defaultRemote": "https://github.com/dotnet/roslyn-analyzers",
"disableSynchronization": true
},
{
"name": "runtime",
"defaultRemote": "https://github.com/dotnet/runtime",
"disableSynchronization": true
},
{
"name": "scenario-tests",
"defaultRemote": "https://github.com/dotnet/scenario-tests",
// Migrated onto the flat flow
"disableSynchronization": true
},
{
"name": "sdk",
"defaultRemote": "https://github.com/dotnet/sdk",
"exclude": [
// Exclude the VMR content as this is copied to the root of VMR via the synchronization process.
"src/SourceBuild/content/**/*"
],
"disableSynchronization": true
},
{
"name": "source-build-externals",
"defaultRemote": "https://github.com/dotnet/source-build-externals",
"exclude": [
"src/application-insights/**/*.exe",
"src/application-insights/**/*.dll",
"src/application-insights/**/*.zip",
"src/application-insights/**/NuGet.config",
"src/humanizer/samples/**/*.js",
"src/newtonsoft-json/**/NuGet.Config",
"src/spectre-console/docs/**",
"src/spectre-console/NuGet.Config",
"src/spectre-console/examples/Console/Canvas/Mandelbrot.cs",
"src/xunit/NuGet.Config"
],
"disableSynchronization": true
},
{
"name": "source-build-reference-packages",
"defaultRemote": "https://github.com/dotnet/source-build-reference-packages",
"disableSynchronization": true
},
{
"name": "sourcelink",
"defaultRemote": "https://github.com/dotnet/sourcelink",
"disableSynchronization": true
},
{
"name": "symreader",
"defaultRemote": "https://github.com/dotnet/symreader",
"disableSynchronization": true
},
{
"name": "templating",
"defaultRemote": "https://github.com/dotnet/templating",
"disableSynchronization": true
},
{
"name": "vstest",
"defaultRemote": "https://github.com/microsoft/vstest",
"exclude": [
// Non-OSS license used in VS specific build configurations.
// Non-OSS license - https://github.com/dotnet/source-build/issues/4255
"src/package/licenses/LICENSE_VS.txt",
"test/Microsoft.TestPlatform.CoreUtilities.UnitTests/TestAssets/dotnetWinX86.exe"
],
"disableSynchronization": true
},
{
"name": "xdt",
"defaultRemote": "https://github.com/dotnet/xdt",
"disableSynchronization": true
},
{
"name": "winforms",
"defaultRemote": "https://github.com/dotnet/winforms",
"exclude": [
// Non-OSS license - https://github.com/dotnet/source-build/issues/3772
"src/test/integration/DesignSurface/**/*.cs",
"src/test/integration/DesignSurface/**/*.ico",
"src/test/integration/DesignSurface/**/*.resx",
"src/test/integration/DesignSurface/THIRD-PARTY-NOTICE.txt"
],
"disableSynchronization": true
},
{
"name": "wpf",
"defaultRemote": "https://github.com/dotnet/wpf",
"disableSynchronization": true
},
{
"name": "windowsdesktop",
"defaultRemote": "https://github.com/dotnet/windowsdesktop",
"disableSynchronization": true
}
]
}