Skip to content

Conversation

@tmat
Copy link
Member

@tmat tmat commented Apr 22, 2023

Source Link is now included in .NET SDK.

@tmat
Copy link
Member Author

tmat commented Apr 22, 2023

@mmitche

Copy link
Member

@ViktorHofer ViktorHofer left a comment

Choose a reason for hiding this comment

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

I'm excited to see sourcelink support added directly into the SDK.

We must wait until Arcade updates to an SDK that has the implicit sourcelink support though. Based on dotnet/sdk@dd2e7b5, that would be 8.0 Preview 4.

We should also communicate this change with the Arcade Engineering Partners alias as this is a breaking change. Before, you could set an explicit source link package version and Arcade would have respected that while now such an explicit version would just be ignored.

@mmitche
Copy link
Member

mmitche commented Apr 24, 2023

Yep, this should not be merged until p4 is released and arcade updates to P4.

Copy link
Member

@mmitche mmitche left a comment

Choose a reason for hiding this comment

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

Wait till p4 release

<Uri>https://github.com/dotnet/linker</Uri>
<Sha>3efd231da430baa0fd670e278f6b5c3e62834bde</Sha>
</Dependency>
<Dependency Name="Microsoft.SourceLink.GitHub" Version="8.0.0-beta.23218.3">
Copy link
Member

Choose a reason for hiding this comment

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

We should exclude these changes initially. Most repos have coherent parent dependency attributes on their sourcelink dependencies. This means that the arcade updates will fail. Instead, you should:

  1. Do the changes in eng/Versions.props and RepositoryInfo.targets
  2. Flow this to all repos
  3. Remove the sourcelink dependencies in all repos' Version.Details.xml
  4. Remove the sourcelink dependencies here.

@ViktorHofer
Copy link
Member

ViktorHofer commented May 23, 2023

@tmat the PR is now unblocked and it looks like a few repositories are currently broken because of the feed changes (dotnet-tools to dotnet8). Do you have time to react to the feedback or do you want me to help you?

@tmat
Copy link
Member Author

tmat commented Jun 12, 2023

@ViktorHofer Help would be appreciated. Thanks!

ViktorHofer
ViktorHofer previously approved these changes Jun 14, 2023
@ViktorHofer ViktorHofer enabled auto-merge (squash) June 14, 2023 17:26
@ViktorHofer ViktorHofer merged commit 728a7d3 into dotnet:main Jun 14, 2023
ViktorHofer added a commit that referenced this pull request Jun 16, 2023
ViktorHofer added a commit that referenced this pull request Jun 16, 2023
ViktorHofer added a commit that referenced this pull request Jul 12, 2023
ViktorHofer added a commit that referenced this pull request Jul 12, 2023
* Revert "Revert "Remove Source Link package references (#13260)" (#13825)"

This reverts commit 4bbdd77.

* Update Versions.props

* Update Versions.props
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.

3 participants