-
Notifications
You must be signed in to change notification settings - Fork 353
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
Regression in SourceLink Url generation when metadata is missing #7850
Comments
I set up a quick repro, and thanks to some quick help from the Rainer on the MSBuild team was able to get this PR created: |
MSBuild is so hard! Sorry about the mess up. Matt, can you also port this to release/6.0 once it goes into main? |
Address dotnet#7850 - handle the lack of a ScmRepositoryUrl when batch updating (dotnet#7852)
Created #7854 |
No worries, I've hit this exact same bug before. |
This fix worked locally in my "artificial" setup but not in practice. back to WIP, will handle it as fast as I can. |
:( |
Sorry I just only fixed one location, the new one fixes both and definitely works on the arcade-validation build. |
I have shepherded the complete fix through on both main and release/6.0 and things look good through publishing on main. Release/6.0 doesn't seem to be set up to automatically trigger post-merge so I manually kicked it and mentioned that to @epananth |
@adiaaida FYI if you want to handle it, otherwise I think Eric's suggestion will work (setting up a thing to test that)
#7844 introduced the change, but it's evidently possible for https://github.com/dotnet/arcade/blob/main/src/Microsoft.DotNet.Arcade.Sdk/tools/RepositoryInfo.targets#L76 a missing ScmRepositoryUrl metadata item on SourceRoot.
The text was updated successfully, but these errors were encountered: