Skip to content

Commit 1c84709

Browse files
authored
Disable VMR synchronization (#48479)
1 parent 282b182 commit 1c84709

File tree

3 files changed

+53
-172
lines changed

3 files changed

+53
-172
lines changed

eng/pipelines/vmr-sync-internal.yml

Lines changed: 0 additions & 65 deletions
This file was deleted.

eng/pipelines/vmr-sync.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

src/VirtualMonoRepo/source-mappings.json

Lines changed: 53 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,7 @@
1818

1919
// Some files are copied outside of the src/ directory into other locations
2020
// When files in the source paths are changed, they are automatically synchronized too
21-
"additionalMappings": [
22-
{
23-
"source": "src/sdk/src/SourceBuild/content",
24-
"destination": ""
25-
},
26-
{
27-
"source": "src/sdk/eng/common",
28-
"destination": "eng/common"
29-
},
30-
{
31-
"source": "src/sdk/src/VirtualMonoRepo/source-mappings.json",
32-
"destination": "src"
33-
}
34-
],
21+
"additionalMappings": [ /* These are not supported with the flat flow anymore */],
3522

3623
// These defaults are added to all mappings unless `ignoreDefaults: true` is specified
3724
// When no "include" filter is specified, "**/*" is used
@@ -42,10 +29,13 @@
4229
},
4330

4431
// Each of these mappings has a corresponding folder in the src/ directory
32+
// We set disableSynchronization to true for all of them to be sure the old one-way synchronization does not happen
33+
// This setting does not affect the code flow subscriptions
4534
"mappings": [
4635
{
4736
"name": "arcade",
48-
"defaultRemote": "https://github.com/dotnet/arcade"
37+
"defaultRemote": "https://github.com/dotnet/arcade",
38+
"disableSynchronization": true
4939
},
5040
{
5141
"name": "aspire",
@@ -54,65 +44,78 @@
5444
"src/Aspire.Dashboard/**/*",
5545
"samples/**/*"
5646
],
57-
// Aspire no longer flows/changes, we only keep it for the workload manifest generation
5847
"disableSynchronization": true
5948
},
6049
{
6150
"name": "aspnetcore",
62-
"defaultRemote": "https://github.com/dotnet/aspnetcore"
51+
"defaultRemote": "https://github.com/dotnet/aspnetcore",
52+
"disableSynchronization": true
6353
},
6454
{
6555
"name": "cecil",
66-
"defaultRemote": "https://github.com/dotnet/cecil"
56+
"defaultRemote": "https://github.com/dotnet/cecil",
57+
"disableSynchronization": true
6758
},
6859
{
6960
"name": "command-line-api",
70-
"defaultRemote": "https://github.com/dotnet/command-line-api"
61+
"defaultRemote": "https://github.com/dotnet/command-line-api",
62+
"disableSynchronization": true
7163
},
7264
{
7365
"name": "deployment-tools",
74-
"defaultRemote": "https://github.com/dotnet/deployment-tools"
66+
"defaultRemote": "https://github.com/dotnet/deployment-tools",
67+
"disableSynchronization": true
7568
},
7669
{
7770
"name": "diagnostics",
78-
"defaultRemote": "https://github.com/dotnet/diagnostics"
71+
"defaultRemote": "https://github.com/dotnet/diagnostics",
72+
"disableSynchronization": true
7973
},
8074
{
8175
"name": "efcore",
82-
"defaultRemote": "https://github.com/dotnet/efcore"
76+
"defaultRemote": "https://github.com/dotnet/efcore",
77+
"disableSynchronization": true
8378
},
8479
{
8580
"name": "emsdk",
86-
"defaultRemote": "https://github.com/dotnet/emsdk"
81+
"defaultRemote": "https://github.com/dotnet/emsdk",
82+
"disableSynchronization": true
8783
},
8884
{
8985
"name": "fsharp",
90-
"defaultRemote": "https://github.com/dotnet/fsharp"
86+
"defaultRemote": "https://github.com/dotnet/fsharp",
87+
"disableSynchronization": true
9188
},
9289
{
9390
"name": "msbuild",
94-
"defaultRemote": "https://github.com/dotnet/msbuild"
91+
"defaultRemote": "https://github.com/dotnet/msbuild",
92+
"disableSynchronization": true
9593
},
9694
{
9795
"name": "nuget-client",
9896
"defaultRemote": "https://github.com/NuGet/NuGet.Client",
99-
"defaultRef": "dev"
97+
"defaultRef": "dev",
98+
"disableSynchronization": true
10099
},
101100
{
102101
"name": "razor",
103-
"defaultRemote": "https://github.com/dotnet/razor"
102+
"defaultRemote": "https://github.com/dotnet/razor",
103+
"disableSynchronization": true
104104
},
105105
{
106106
"name": "roslyn",
107-
"defaultRemote": "https://github.com/dotnet/roslyn"
107+
"defaultRemote": "https://github.com/dotnet/roslyn",
108+
"disableSynchronization": true
108109
},
109110
{
110111
"name": "roslyn-analyzers",
111-
"defaultRemote": "https://github.com/dotnet/roslyn-analyzers"
112+
"defaultRemote": "https://github.com/dotnet/roslyn-analyzers",
113+
"disableSynchronization": true
112114
},
113115
{
114116
"name": "runtime",
115-
"defaultRemote": "https://github.com/dotnet/runtime"
117+
"defaultRemote": "https://github.com/dotnet/runtime",
118+
"disableSynchronization": true
116119
},
117120
{
118121
"name": "scenario-tests",
@@ -126,7 +129,8 @@
126129
"exclude": [
127130
// Exclude the VMR content as this is copied to the root of VMR via the synchronization process.
128131
"src/SourceBuild/content/**/*"
129-
]
132+
],
133+
"disableSynchronization": true
130134
},
131135
{
132136
"name": "source-build-externals",
@@ -142,25 +146,28 @@
142146
"src/spectre-console/NuGet.Config",
143147
"src/spectre-console/examples/Console/Canvas/Mandelbrot.cs",
144148
"src/xunit/NuGet.Config"
145-
]
149+
],
150+
"disableSynchronization": true
146151
},
147152
{
148153
"name": "source-build-reference-packages",
149-
"defaultRemote": "https://github.com/dotnet/source-build-reference-packages"
154+
"defaultRemote": "https://github.com/dotnet/source-build-reference-packages",
155+
"disableSynchronization": true
150156
},
151157
{
152158
"name": "sourcelink",
153159
"defaultRemote": "https://github.com/dotnet/sourcelink",
154-
// Migrated onto the flat flow
155160
"disableSynchronization": true
156161
},
157162
{
158163
"name": "symreader",
159-
"defaultRemote": "https://github.com/dotnet/symreader"
164+
"defaultRemote": "https://github.com/dotnet/symreader",
165+
"disableSynchronization": true
160166
},
161167
{
162168
"name": "templating",
163-
"defaultRemote": "https://github.com/dotnet/templating"
169+
"defaultRemote": "https://github.com/dotnet/templating",
170+
"disableSynchronization": true
164171
},
165172
{
166173
"name": "vstest",
@@ -170,11 +177,13 @@
170177
// Non-OSS license - https://github.com/dotnet/source-build/issues/4255
171178
"src/package/licenses/LICENSE_VS.txt",
172179
"test/Microsoft.TestPlatform.CoreUtilities.UnitTests/TestAssets/dotnetWinX86.exe"
173-
]
180+
],
181+
"disableSynchronization": true
174182
},
175183
{
176184
"name": "xdt",
177-
"defaultRemote": "https://github.com/dotnet/xdt"
185+
"defaultRemote": "https://github.com/dotnet/xdt",
186+
"disableSynchronization": true
178187
},
179188
{
180189
"name": "winforms",
@@ -185,15 +194,18 @@
185194
"src/test/integration/DesignSurface/**/*.ico",
186195
"src/test/integration/DesignSurface/**/*.resx",
187196
"src/test/integration/DesignSurface/THIRD-PARTY-NOTICE.txt"
188-
]
197+
],
198+
"disableSynchronization": true
189199
},
190200
{
191201
"name": "wpf",
192-
"defaultRemote": "https://github.com/dotnet/wpf"
202+
"defaultRemote": "https://github.com/dotnet/wpf",
203+
"disableSynchronization": true
193204
},
194205
{
195206
"name": "windowsdesktop",
196-
"defaultRemote": "https://github.com/dotnet/windowsdesktop"
207+
"defaultRemote": "https://github.com/dotnet/windowsdesktop",
208+
"disableSynchronization": true
197209
}
198210
]
199211
}

0 commit comments

Comments
 (0)