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

Implement a RepoOrigin attribute within the AssetManifest.xml file. #14718

Merged

Conversation

andriipatsula
Copy link
Member

@andriipatsula andriipatsula commented Apr 16, 2024

Ref Issue: dotnet/source-build#3898
Ref PRs: dotnet/runtime#101241

We aim to trace the origin of the artifacts we produce as part of SourceBuild. This proposal involves introducing a new attribute called RepoOrigin to the AssetManifest.xml file. This attribute will serve as an indicator of the artifact's source.

This is part of the solution that updates PushToBuildStorage.cs and Publish.proj. Next step is to pass the RepoName parameter as a build option in https://github.com/dotnet/installer/blob/main/src/SourceBuild/content/repo-projects/Directory.Build.props

Test: https://dev.azure.com/dnceng/internal/_build/results?buildId=2433413&view=results

To double check:

@andriipatsula andriipatsula changed the title Implement a RepoOrigin attribute within the MergedManifest.xml file. Implement a RepoOrigin attribute within the AssetManifest.xml file. Apr 16, 2024
premun
premun previously approved these changes Apr 18, 2024
Copy link
Member

@premun premun left a comment

Choose a reason for hiding this comment

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

LGTM but I don't know the SB infra that much.

cc @MichaelSimons @ViktorHofer @mthalman

ViktorHofer
ViktorHofer previously approved these changes Apr 18, 2024
…odel/BlobArtifactModel.cs

Co-authored-by: Přemek Vysoký <premek.vysoky@microsoft.com>
@andriipatsula andriipatsula dismissed stale reviews from ViktorHofer and premun via 5676a68 April 18, 2024 14:08
…odel/PackageArtifactModel.cs

Co-authored-by: Přemek Vysoký <premek.vysoky@microsoft.com>
@andriipatsula andriipatsula merged commit b4f4d40 into dotnet:main Apr 19, 2024
11 checks passed
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.

None yet

5 participants