Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare tooling for VMR initialization following the tarball generation #10268

Closed
8 tasks done
Tracked by #9359
premun opened this issue Aug 3, 2022 · 0 comments
Closed
8 tasks done
Tracked by #9359
Assignees

Comments

@premun
Copy link
Member

premun commented Aug 3, 2022

Context

When we want to create the source build tarball, we start off in dotnet/installer and using some MSBuild targets we pull the sources of other repos and assemble the tarball that is then given to RedHat for consumption into their packaging system.

During this process, we generate some additional files, move files around and even remove some. Since the VMR will eventually replace the tarball, we need to bake this process into how we assemble the VMR.

Goal

For every step of the tarball generation process, we need to find a counterpart in the VMR. We also need to decide in which stage it will happen (be happening):

  • Cloaking - Some will be part of the VMR configuration (e.g. removed files that we just won't sync)
  • Initialization - Some steps will only happen once, when we initialize the VMR for the first time and will be part of the VMR (e.g. tarball/content copy)
  • Every sync - Some will have to happen after every sync (e.g. git-info file creation)

Furthermore, we need to figure who will drive this process (Maestro, pipeline, ...?), where will the source code for this live. Lastly, we need to split what's outside of the VMR and what's inside (e.g. git synchronization will work the same across servicing branches as opposed to things dependent on local files inside the VMR).

Tarball generation steps

Step Stage
Copy the tarball content Initialization
Generate version files Every sync
Create git-info files Every sync
Remove unnecessary/forbidden files Cloaking
Restore / copy text-only packages Every sync
Handle source build patches Initialization + Every sync

Breakdown of work

@premun premun self-assigned this Aug 4, 2022
@premun premun changed the title Prepare a process for VMR assembly similar to the tarball generation process Prepare a process for VMR initialization following the tarball generation process Aug 22, 2022
@premun premun changed the title Prepare a process for VMR initialization following the tarball generation process Prepare a process for VMR initialization following the tarball generation Aug 22, 2022
@premun premun changed the title Prepare a process for VMR initialization following the tarball generation Prepare tooling for VMR initialization following the tarball generation Oct 12, 2022
@premun premun closed this as completed Oct 12, 2022
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

No branches or pull requests

1 participant