-
Notifications
You must be signed in to change notification settings - Fork 305
Add repository location to NuGet package information #276
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
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: tomkerkhove If they are not already assigned, you can assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/assign @brendandburns |
Test failed with:
Don't think this is something I can fix given I didn't change anything? |
@tomkerkhove The Repository Type and URL should already be populated through SourceLink. The advantage of doing it through it through SourceLink is that the URL will automatically be updated if you publish from a fork. Now, that said, it looks like the repository type is being set by SourceLink but not the repository URL itself; that's probably something worth looking into. |
Hm that's a good point @qmfrederik, based on the docs the repo should be loaded. If I have a look at the generated package it's not added by SourceLink: While for others it's included: So I'm not sure if it's actually working. |
There's actually an error in the build log which explains why the info is not populated:
|
Looks like that failure is caused by a .NET bug - see dotnet/coreclr#21606 and dotnet/sourcelink#236 |
In that case I think I can close this PR and wait for the fix. What do you think? |
No harm in leaving it open imho... |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
The issue above should be fixed, is there a way to release a preview package to see if it's resolved so we can abandon this PR? |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Nuget provides elements to specify where the source code repository is for a nuget package, by specifying repository information.
It would be great if we had this information straight into the .nuspec, which would allow tooling such as renovate to fetch detailed information about releases (what specifically has been fixed sample).
This adds the repository location to the nuspec.