Move VMR component list into Components.md (#18023)

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
This commit is contained in:
Přemek Vysoký 2023-12-22 11:39:07 +01:00 committed by GitHub
parent 2d1e8610ba
commit ef6e3ed282
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 33 additions and 22 deletions

View file

@ -3,7 +3,7 @@
"isRoot": true, "isRoot": true,
"tools": { "tools": {
"microsoft.dotnet.darc": { "microsoft.dotnet.darc": {
"version": "1.1.0-beta.23619.2", "version": "1.1.0-beta.23621.3",
"commands": [ "commands": [
"darc" "darc"
] ]

View file

@ -224,13 +224,13 @@
<Uri>https://github.com/dotnet/arcade</Uri> <Uri>https://github.com/dotnet/arcade</Uri>
<Sha>c0c425d9b85b125bbaf59581639355f1d2b99149</Sha> <Sha>c0c425d9b85b125bbaf59581639355f1d2b99149</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.DotNet.Darc" Version="1.1.0-beta.23619.2"> <Dependency Name="Microsoft.DotNet.Darc" Version="1.1.0-beta.23621.3">
<Uri>https://github.com/dotnet/arcade-services</Uri> <Uri>https://github.com/dotnet/arcade-services</Uri>
<Sha>57c61af10606819426d205193aa0e9f2f1672050</Sha> <Sha>702f946f89ace6197fdca2ac309d32187c4bc1bd</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.DotNet.DarcLib" Version="1.1.0-beta.23619.2"> <Dependency Name="Microsoft.DotNet.DarcLib" Version="1.1.0-beta.23621.3">
<Uri>https://github.com/dotnet/arcade-services</Uri> <Uri>https://github.com/dotnet/arcade-services</Uri>
<Sha>57c61af10606819426d205193aa0e9f2f1672050</Sha> <Sha>702f946f89ace6197fdca2ac309d32187c4bc1bd</Sha>
</Dependency> </Dependency>
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="9.0.0-beta.23620.7"> <Dependency Name="Microsoft.DotNet.XliffTasks" Version="9.0.0-beta.23620.7">
<Uri>https://github.com/dotnet/arcade</Uri> <Uri>https://github.com/dotnet/arcade</Uri>

View file

@ -44,7 +44,7 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<!-- Dependency from https://github.com/dotnet/arcade-services --> <!-- Dependency from https://github.com/dotnet/arcade-services -->
<MicrosoftDotNetDarcLibVersion>1.1.0-beta.23619.2</MicrosoftDotNetDarcLibVersion> <MicrosoftDotNetDarcLibVersion>1.1.0-beta.23621.3</MicrosoftDotNetDarcLibVersion>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<!-- Dependency from https://github.com/dotnet/winforms --> <!-- Dependency from https://github.com/dotnet/winforms -->

View file

@ -58,7 +58,7 @@ steps:
--repository "installer:${{ parameters.targetRef }}" --repository "installer:${{ parameters.targetRef }}"
--recursive --recursive
--remote "installer:$(pwd)" --remote "installer:$(pwd)"
--readme-template $(Agent.BuildDirectory)/installer/src/VirtualMonoRepo/README.template.md --component-template $(Agent.BuildDirectory)/installer/src/VirtualMonoRepo/Component.template.md
--tpn-template $(Agent.BuildDirectory)/installer/src/VirtualMonoRepo/THIRD-PARTY-NOTICES.template.txt --tpn-template $(Agent.BuildDirectory)/installer/src/VirtualMonoRepo/THIRD-PARTY-NOTICES.template.txt
--debug --debug
|| ||

View file

@ -33,10 +33,10 @@
### --debug ### --debug
### Optional. Turns on the most verbose logging for the VMR tooling ### Optional. Turns on the most verbose logging for the VMR tooling
### ###
### --readme-template ### --component-template
### Optional. Template for VMRs README.md used for regenerating the file to list the newest versions of ### Optional. Template for VMRs Component.md used for regenerating the file to list the newest versions of
### components. ### components.
### Defaults to src/VirtualMonoRepo/README.template.md ### Defaults to src/VirtualMonoRepo/Component.template.md
### ###
### --recursive ### --recursive
### Optional. Recursively synchronize all the source build dependencies (declared in Version.Details.xml) ### Optional. Recursively synchronize all the source build dependencies (declared in Version.Details.xml)
@ -104,7 +104,7 @@ repository=''
additional_remotes='' additional_remotes=''
recursive=false recursive=false
verbosity=verbose verbosity=verbose
readme_template="$installer_dir/src/VirtualMonoRepo/README.template.md" readme_template="$installer_dir/src/VirtualMonoRepo/Component.template.md"
tpn_template="$installer_dir/src/VirtualMonoRepo/THIRD-PARTY-NOTICES.template.txt" tpn_template="$installer_dir/src/VirtualMonoRepo/THIRD-PARTY-NOTICES.template.txt"
azdev_pat='' azdev_pat=''
@ -139,8 +139,8 @@ while [[ $# -gt 0 ]]; do
additional_remotes="$additional_remotes $2" additional_remotes="$additional_remotes $2"
shift shift
;; ;;
--readme-template) --component-template)
readme_template=$2 component_template=$2
shift shift
;; ;;
--tpn-template) --tpn-template)
@ -268,7 +268,7 @@ fi
--$verbosity \ --$verbosity \
$recursive_arg \ $recursive_arg \
$additional_remotes \ $additional_remotes \
--readme-template "$readme_template" \ --component-template "$component_template" \
--tpn-template "$tpn_template" \ --tpn-template "$tpn_template" \
--discard-patches \ --discard-patches \
"$repository" "$repository"

View file

@ -160,11 +160,7 @@ To enable full offline source-building of the VMR, we have no other choice than
### Detailed list ### Detailed list
<!-- component list beginning --> The full list of components synchronized into the VMR is [here (Components.md)](./Components.md).
> Auto-generated list of components will go here
<!-- component list end -->
The repository also contains a [JSON manifest](https://github.com/dotnet/dotnet/blob/main/src/source-manifest.json) listing all components in a machine-readable format. The repository also contains a [JSON manifest](https://github.com/dotnet/dotnet/blob/main/src/source-manifest.json) listing all components in a machine-readable format.

View file

@ -0,0 +1,15 @@
# List of components
To enable full offline source-building of the VMR, we have no other choice than to synchronize all the necessary code into the VMR. This also includes any code referenced via git submodules. More details on why and how this is done can be found here:
- [Strategy for managing external source dependencies](src/arcade/Documentation/UnifiedBuild/VMR-Strategy-For-External-Source.md)
- [Source Synchronization Process](src/arcade/Documentation/UnifiedBuild/VMR-Design-And-Operation.md#source-synchronization-process)
## Detailed list
<!-- component list beginning -->
> Auto-generated list of components will go here
<!-- component list end -->
The repository also contains a [JSON manifest](https://github.com/dotnet/dotnet/blob/main/src/source-manifest.json) listing all components in a machine-readable format.

View file

@ -58,7 +58,7 @@
VmrPath="$(VmrDir)" VmrPath="$(VmrDir)"
TmpPath="$(TmpDir)" TmpPath="$(TmpDir)"
InstallerPath="$(RepoRoot)" InstallerPath="$(RepoRoot)"
ReadmeTemplatePath="$(MSBuildThisFileDirectory)/README.template.md" ComponentTemplatePath="$(MSBuildThisFileDirectory)/Component.template.md"
TpnTemplatePath="$(MSBuildThisFileDirectory)/THIRD-PARTY-NOTICES.template.txt" TpnTemplatePath="$(MSBuildThisFileDirectory)/THIRD-PARTY-NOTICES.template.txt"
SourceMappingsPath="$(MSBuildThisFileDirectory)/source-mappings.json" /> SourceMappingsPath="$(MSBuildThisFileDirectory)/source-mappings.json" />

View file

@ -42,7 +42,7 @@ public class VirtualMonoRepo_Initialize : Build.Utilities.Task, ICancelableTask
public string InstallerPath { get; set; } public string InstallerPath { get; set; }
public string ReadmeTemplatePath { get; set; } public string ComponentTemplatePath { get; set; }
public string TpnTemplatePath { get; set; } public string TpnTemplatePath { get; set; }
@ -72,7 +72,7 @@ public class VirtualMonoRepo_Initialize : Build.Utilities.Task, ICancelableTask
Recursive, Recursive,
new NativePath(SourceMappingsPath), new NativePath(SourceMappingsPath),
additionalRemotes, additionalRemotes,
ReadmeTemplatePath, ComponentTemplatePath,
TpnTemplatePath, TpnTemplatePath,
generateCodeowners: false, generateCodeowners: false,
discardPatches: true, discardPatches: true,