opentelemetry-dotnet icon indicating copy to clipboard operation
opentelemetry-dotnet copied to clipboard

Add release notes and change log to NuGet

Open reyang opened this issue 2 years ago • 6 comments

Feature Request

Is your feature request related to a problem?

The current NuGet packages published from this repo and opentelemetry-dotnet-contrib repo look like image

Describe the solution you'd like:

Provide reasonable docs and change history.

image

Additional Context

This is how .NET team has solved it https://github.com/dotnet/sdk/blob/c54cc3c8af8d8a7fb182efc080c00baf2765fc8d/src/Containers/packaging/package.csproj#L42-L47.

reyang avatar Sep 27 '23 15:09 reyang

In AutoInstrumentation we have had similar issue. You can check PRs linked to https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/issues/2717

Especially it is worth to execute nuget check (even locally). Commands can be found in https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/pull/2817/files

Kielek avatar Sep 27 '23 15:09 Kielek

I found some more resources:

  • https://learn.microsoft.com/en-us/nuget/create-packages/package-authoring-best-practices#readme
  • https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#packagereadmefile

TimothyMothra avatar Oct 05 '23 20:10 TimothyMothra

@reyang @cijothomas I would like to work on this issue if you would like to assign it to me. I'm trying to get more involved and this looked like a good place to get familiar with the project.

phillipsj avatar Mar 18 '24 03:03 phillipsj

@phillipsj Are you still working on this? I took a quick look this afternoon. Readme is straightforward. Release notes are more involved, but it could be done with an MSBuild task that parses the changelog in the same way as during the release process. I'd be happy to pick this up if you no longer have the capacity to do it.

stevejgordon avatar Jul 08 '24 16:07 stevejgordon

Some updates on recent changes...

  • We added a top-level RELEASENOTES.md which is curated and may be more appropriate for NuGet: https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/RELEASENOTES.md

  • We also have improved release process/automation to combine CHANGELOG.md entries for a given release/tag. Example: https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.9.0-rc.1.

Perhaps we could just link to curated announcements and release details for version/tag from NuGet?

CodeBlanch avatar Aug 16 '24 19:08 CodeBlanch

Perhaps we could just link to curated announcements and release details for version/tag from NuGet?

+1

cijothomas avatar Aug 16 '24 19:08 cijothomas