Amazon.Lambda.Core is not deterministic
- 主要言語
- C#
- スター
- 1.7k
- フォーク
- 503
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 19
説明
### Describe the bug
Viewing [Amazon.Lambda.Core 2.8.0 in NuGet Package Explorer](https://nuget.info/packages/Amazon.Lambda.Core/2.8.0) shows various warnings about the build of the package with respect to Source Link and determinism:
The NuGet packages should be built with `ContinuousIntegrationBuild=true` and `Deterministic=true` to resolve this.
.NET global tools such as `dotnet-validate` and `meziantou.framework.nugetpackagevalidation.tool` can be used to verify this.
For Amazon.Lambda.Core at least, this doesn't appear to be a regression and these have never been enabled.
### Regression Issue
- [ ] Select this option if this issue appears to be a regression.
### Expected Behavior
Packages should be deterministic, e.g. [OpenTelemetry.Instrumentation.AWSLambda@1.13.0](https://nuget.info/packages/OpenTelemetry.Instrumentation.AWSLambda/1.13.0):
### Current Behavior
NuGet package is not deterministic:
### Reproduction Steps
View the NuGet package in [NuGet Package Explorer](https://nuget.info/packages/Amazon.Lambda.Core/2.8.0).
### Possible Solution
Set `ContinuousIntegrationBuild=true` and `Deterministic=true` MSBuild properties when building the NuGet packages for publishing to NuGet.org.
### Additional Information/Context
_No response_
### AWS .NET SDK and/or Package version used
Amazon.Lambda.Core 2.8.0
### Targeted .NET Platform
All
### Operating System and version
All
コントリビューションガイド
調査の方向性
この issue にはソースファイルもテストも指定されていません。まず、Amazon.Lambda.Core 2.8.0 の公開に使用される build 構成を見つけてください。dotnet-validate または meziantou.framework.nugetpackagevalidation.tool を使用してビルド済みパッケージを検証し、パッケージが ContinuousIntegrationBuild と Deterministic への準拠を報告したら作業完了とみなしてください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 48/100