Use PackageLicenseExpression (MIT) in the NuGet package metadata
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 84/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- csharp
- 领域
- build-system
调研方向
从 src/Microsoft.Graph/Microsoft.Graph.csproj 开始,检查 PackageLicenseFile 周围的 NuGet 许可证元数据。将包声明更改为 issue 中所述的 MIT SPDX 表达式,然后构建或打包项目,并确认生成的 NuGet 元数据报告 MIT。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
Hi,
you declare license as a file inside the package:
This comes from LICENSE.txt in src/Microsoft.Graph/Microsoft.Graph.csproj. The README states that the library is licensed under the MIT license, but tools that read NuGet metadata, such as license scanners and dependency update bots, only see the file reference. They report the license as unknown, and we have to check it by hand each time we update the package.
Would you consider declaring the license as an SPDX expression instead?
Thank you for considering this! 😊
Expected behavior
Expected: the NuGet Gallery and tooling show the license as MIT without opening the file.
How to reproduce
SDK Version
No response
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
- 主要语言
- C#
- 星标
- 791
- 派生
- 263
- 平均合并
- 58 分钟
- 30 天内合并 PR
- 3
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoftgraph/msgraph-sdk-dotnet 的其他 Issue
-
status:waiting-for-triage type:bug
难度 2/5 1-3 小时 新手友好度 68/100
microsoftgraph/msgraph-sdk-dotnet#3170 ·
维护者通常 1 天内回复
-
status:waiting-for-triage type:bug
难度 2/5 1-3 小时 新手友好度 72/100
microsoftgraph/msgraph-sdk-dotnet#3165 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
microsoftgraph/msgraph-sdk-dotnet#3159 ·
维护者通常 1 天内回复
-
Bug: metadata
难度 2/5 1-3 小时 新手友好度 68/100
microsoftgraph/msgraph-sdk-dotnet#3004 · 1 条评论 ·
维护者通常 1 天内回复
-
Status: Needs investigation type:bug
难度 2/5 1-3 小时 新手友好度 64/100
microsoftgraph/msgraph-sdk-dotnet#2858 · 2 条评论 ·
维护者通常 1 天内回复
查看 microsoftgraph/msgraph-sdk-dotnet 的全部 Issue
相似的 Issue
-
Bug Platform: Android
难度 2/5 1-3 小时 新手友好度 78/100
getsentry/sentry-dotnet#5764 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
microsoft/SimpleL7Proxy#287 ·
维护者通常 1 天内回复
-
bug priority: P2
难度 1/5 1 小时以内 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
IridiumIO/CompactGUI#699 ·
维护者通常 3 天内回复