Set up individual repository cloaking to match tarball (#14706)

This commit is contained in:
Přemek Vysoký 2022-10-12 15:17:59 +02:00 committed by GitHub
parent bb37795991
commit e2560aa778
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 20 deletions

View file

@ -206,11 +206,11 @@
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>d2d39276af2db3da7816ee2dc543e120d7e5781e</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.DarcLib" Version="1.1.0-beta.22462.2">
<Dependency Name="Microsoft.DotNet.DarcLib" Version="1.1.0-beta.22511.1">
<Uri>https://github.com/dotnet/arcade-services</Uri>
<Sha>1031000fad67fa8e3f8dc67ef73611b556eb33a5</Sha>
<Sha>3dd6072bffe13a128222ac91fce1737cd1d07993</Sha>
</Dependency>
<Dependency Name="Microsoft.Extensions.Logging.Console" Version="7.0.0-rc.1.22426.10.">
<Dependency Name="Microsoft.Extensions.Logging.Console" Version="7.0.0-rc.1.22426.10">
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>06aceb7015f3bd2ff019ef5920d2354eb2ea2c92</Sha>
</Dependency>

View file

@ -30,7 +30,7 @@
</PropertyGroup>
<PropertyGroup>
<!-- Dependency from https://github.com/dotnet/arcade-services -->
<MicrosoftDotNetDarcLibVersion>1.1.0-beta.22462.2</MicrosoftDotNetDarcLibVersion>
<MicrosoftDotNetDarcLibVersion>1.1.0-beta.22511.1</MicrosoftDotNetDarcLibVersion>
</PropertyGroup>
<PropertyGroup>
<!-- Dependency from https://github.com/dotnet/winforms -->
@ -186,7 +186,7 @@
<VersionToolsVersion>2.2.0-beta.19072.10</VersionToolsVersion>
<DotnetDebToolVersion>2.0.0</DotnetDebToolVersion>
<MicrosoftNETTestSdkVersion>17.5.0-preview-20221011-02</MicrosoftNETTestSdkVersion>
<MicrosoftExtensionsLoggingConsoleVersion>7.0.0-rc.1.22426.10.</MicrosoftExtensionsLoggingConsoleVersion>
<MicrosoftExtensionsLoggingConsoleVersion>7.0.0-rc.1.22426.10</MicrosoftExtensionsLoggingConsoleVersion>
</PropertyGroup>
<!-- dependencies for source-build tarball -->
<PropertyGroup>

View file

@ -1,7 +1,18 @@
// This file configures where the VMR synchronizes the sources from.
// Each individual repository has its own mapping which says where the remote repo is,
// what files are excluded from the sync, etc.
// More details can be found at: {{ TODO: https://github.com/dotnet/arcade/issues/11226 }}
{
// Location withing the VMR where the source-build patches are stored
// These patches are applied on top of the code synchronized into the VMR
"patchesPath": "src/installer/src/SourceBuild/tarball/patches",
// These defaults are added to all mappings unless `ignoreDefaults: true` is specified
// When no "include" filter is specified, "**/*" is used
"defaults": {
"defaultRef": "main",
// The default filters do not apply to submodules
// Only filters which start with submodule's path are applied when syncing submodules
"exclude": [
"**/*.dll",
"**/*.Dll",
@ -12,25 +23,21 @@
"**/*.nupkg"
]
},
// Each of these mappings has a corresponding folder in the src/ directory
"mappings": [
{
"name": "arcade",
"defaultRemote": "https://github.com/dotnet/arcade",
"include": [
"*.*",
".*",
"eng/**/*",
"src/**/*",
"scripts/**/*"
],
"exclude": [
"**/tests/**/*",
"**/*.Tests/**/*"
]
"defaultRemote": "https://github.com/dotnet/arcade"
},
{
"name": "aspnetcore",
"defaultRemote": "https://github.com/dotnet/aspnetcore"
"defaultRemote": "https://github.com/dotnet/aspnetcore",
"exclude": [
"src/submodules/MessagePack-CSharp/**/*.dll",
"**/samples/**/jquery-validation-unobtrusive/.bower.json",
"**/samples/**/jquery-validation-unobtrusive/*.js"
]
},
{
"name": "clicommandlineparser",
@ -60,12 +67,19 @@
"name": "installer",
"defaultRemote": "https://github.com/dotnet/installer",
"exclude": [
// We don't need the tarball content in the VMR again, it's already copied in the root
"src/SourceBuild/tarball/content/**/*"
]
},
{
"name": "linker",
"defaultRemote": "https://github.com/dotnet/linker"
"defaultRemote": "https://github.com/dotnet/linker",
"exclude": [
"external/cecil/**/*.dll",
"external/cecil/**/*.exe",
"external/cecil/**/*.pdb",
"external/cecil/**/*.mdb"
]
},
{
"name": "llvm-project",
@ -109,7 +123,10 @@
"name": "source-build-externals",
"defaultRemote": "https://github.com/dotnet/source-build-externals",
"exclude": [
"**/humanizer/samples/**/*.js"
"src/humanizer/samples/**/*.js",
"src/application-insights/**/*.exe",
"src/application-insights/**/*.dll",
"src/application-insights/**/*.zip"
]
},
{