Skip to content

Add NOTICE.txt, LICENSE, and license metadata to nuspec#1435

Open
benhillis wants to merge 1 commit intomainfrom
user/benhill/nuspec-oss-compliance
Open

Add NOTICE.txt, LICENSE, and license metadata to nuspec#1435
benhillis wants to merge 1 commit intomainfrom
user/benhill/nuspec-oss-compliance

Conversation

@benhillis
Copy link
Copy Markdown
Member

Summary

Add OSS compliance artifacts to the NuGet package:

  • *<license type="expression">MIT* — adds license metadata to nuspec
  • *\package/NOTICE.txt* — includes the third-party notice file generated by the
    otice@0\ pipeline task
  • *\LICENSE* — includes the repo LICENSE file in the package

Why

The \Microsoft.WSLg.nupkg\ currently ships without any OSS license or third-party notice files. The build pipeline already generates \NOTICE.txt\ via Component Governance + the
otice@0\ task, but the nuspec didn't reference it, so it was never included in the package.

Related

Companion PR in \wslg-build\ hardens the NOTICE.txt verification step to fail the build if the notice file is missing from artifacts.

Include NOTICE.txt (generated by notice@0 task during build) and
LICENSE file in the NuGet package for OSS compliance. Add MIT license
expression to package metadata.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant