Skip to content

Publish repository information to NuGet page#1475

Merged
Aniruddh25 merged 3 commits intomainfrom
dev/shyamsundarj/publish-repo-info-to-nuget
May 8, 2023
Merged

Publish repository information to NuGet page#1475
Aniruddh25 merged 3 commits intomainfrom
dev/shyamsundarj/publish-repo-info-to-nuget

Conversation

@severussundar
Copy link
Contributor

@severussundar severussundar commented May 7, 2023

Why make this change?

  • Closes Publish repository information to NuGet.org page  #1476
  • SourceLink embeds the source control information such as the commit id to the assembly metadata to facilitate the fetching of the exact source code by the debugger.
  • However, NuGet package explorer does not display the Github URL and the commit ID. So, developers would have to look at the github release page to get the commit ID that produced the NuGet
  • By, publishing the Repository details to the NuGet page, this experience is made easier for developers

NuGet Explorer page - Microsoft.DataApiBuilder version 0.6.14

Nuget.org link

image

After publishing the Repository Url

Snip of NuGet generated in the build pipeline

image

What is this change?

  • Sets PublishRepositoryUrl property to true in the csproj file.

How was this tested?

  • By opening the NuGet generated through the build pipeline using NuGet package explorer tool

Sample Request(s)

  • N/A

Copy link
Collaborator

@Aniruddh25 Aniruddh25 left a comment

Choose a reason for hiding this comment

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

LGTM, Thank you for this change!

@Aniruddh25 Aniruddh25 merged commit 86b5917 into main May 8, 2023
@Aniruddh25 Aniruddh25 deleted the dev/shyamsundarj/publish-repo-info-to-nuget branch May 8, 2023 16:19
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.

Publish repository information to NuGet.org page

3 participants