Skip to content

Move SB metadata to intermediates#53749

Merged
wtgodbe merged 9 commits intodotnet:mainfrom
ellahathaway:sb-metadata
Feb 9, 2024
Merged

Move SB metadata to intermediates#53749
wtgodbe merged 9 commits intodotnet:mainfrom
ellahathaway:sb-metadata

Conversation

@ellahathaway
Copy link
Member

@ellahathaway ellahathaway commented Feb 1, 2024

The changes in this pull request aim to improve the UX and guideance around the SourceBuild metadata by placing the metadata on explicit source-build intermediates.

The changes include:

  • Removing existing SourceBuild metadata from all non-intermediate dependencies.
  • Defining new explicit intermediate dependencies and adding SourceBuild metadata to those dependencies.

Related to dotnet/source-build#3373 and dotnet/source-build#4073

@ellahathaway ellahathaway requested review from a team and wtgodbe as code owners February 1, 2024 00:17
@ghost ghost added area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework labels Feb 1, 2024
@ellahathaway ellahathaway requested a review from a team February 1, 2024 00:18
@ghost
Copy link

ghost commented Feb 1, 2024

Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at.

<SourceBuild RepoName="roslyn" ManagedOnly="true" />
</Dependency>
<!-- Intermediate is necessary for source build. -->
<Dependency Name="Microsoft.SourceBuild.Intermediate.runtime.linux-x64" Version="9.0.0-preview.2.24080.11">
Copy link
Member

Choose a reason for hiding this comment

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

I personally find it more useful to group the dependencies by Repo. Do others have an opinion?

Copy link
Member Author

Choose a reason for hiding this comment

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

I agree with this. I've re-arranged the intermediates in 8de9914

@wtgodbe wtgodbe enabled auto-merge (squash) February 6, 2024 20:51
@wtgodbe wtgodbe merged commit 39df28b into dotnet:main Feb 9, 2024
@dotnet-policy-service dotnet-policy-service bot added this to the 9.0-preview2 milestone Feb 9, 2024
onurmicoogullari pushed a commit to onurmicoogullari/aspnetcore that referenced this pull request Feb 14, 2024
* Move SB metadata to intermediates

* arrange intermediates with deps from same repo

* nit

* Update Versions.props
@ellahathaway ellahathaway deleted the sb-metadata branch August 7, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants