Skip to content

Add a VMR initialization (bootstrap) process#14343

Merged
premun merged 33 commits into
dotnet:mainfrom
premun:vmr
Aug 23, 2022
Merged

Add a VMR initialization (bootstrap) process#14343
premun merged 33 commits into
dotnet:mainfrom
premun:vmr

Conversation

@premun
Copy link
Copy Markdown
Member

@premun premun commented Aug 18, 2022

Related issue: dotnet/arcade#10285

This PR adds the possibility to initialize a fresh VMR off of the current dotnet/installer commit.
Similarly to the tarball generation, the process can be triggered by running:

./build.sh /p:InitializeVMR=true /p:VmrDir=[Path were VMR will be created]

The process is not yet 100% complete but it's a majority and a good start. Large portion is a re-use of the tarball generation process to follow how the tarball is put together.

Outstanding questions/work

  • Source build patch application (#10261)
    It is trivially easy to apply them at the beginning but we haven't decided yet how exactly to tackle this issue so it's not part of this PR yet.
  • DarcLib code flow (10492)
    We can discuss this in this PR probably - not sure how we want the arcade-services -> installer subscription to be made.

Resolves dotnet/arcade#10266
Resolves dotnet/arcade#10265
Related dotnet/arcade#10264
Related dotnet/arcade#10262

@premun premun requested a review from a team as a code owner August 18, 2022 10:36
Comment thread src/SourceBuild/Arcade/tools/SourceBuildArcadeTarball.targets
Comment thread src/SourceBuild/tarball/content/src/source-mappings.json
Comment thread src/SourceBuild/tarball/content/src/source-mappings.json Outdated
Comment thread src/SourceBuild/tarball/content/src/source-mappings.json Outdated
Comment thread src/SourceBuild/tarball/content/src/source-mappings.json Outdated
Comment thread src/VirtualMonoRepo/VirtualMonoRepo.Tasks.csproj Outdated
Comment thread src/VirtualMonoRepo/VirtualMonoRepo.Tasks.csproj
Comment thread src/VirtualMonoRepo/VirtualMonoRepo.Tasks.csproj Outdated
Comment thread src/VirtualMonoRepo/InitializeVMR.proj Outdated
Comment thread src/VirtualMonoRepo/InitializeVMR.proj Outdated
Comment thread eng/Versions.props Outdated
Copy link
Copy Markdown
Member

@MichaelSimons MichaelSimons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - One minor suggestion.

Copy link
Copy Markdown

@crummel crummel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple suggestions/questions but this is looking pretty good, cool.

Comment thread src/SourceBuild/Arcade/tools/SourceBuildArcadeTarball.targets
Comment thread src/VirtualMonoRepo/InitializeVMR.proj Outdated
Comment thread src/VirtualMonoRepo/InitializeVMR.proj Outdated
Comment thread src/SourceBuild/tarball/content/src/source-mappings.json
Comment thread src/VirtualMonoRepo/InitializeVMR.proj
Comment thread eng/Versions.props
@premun premun merged commit b963539 into dotnet:main Aug 23, 2022
@premun premun deleted the vmr branch August 23, 2022 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copy the tarball content Generate version files

5 participants