Fix package validation errors

未关闭
#96 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
csharp

调研方向

检查 Flagsmith.Engine.dll 和 Flagsmith.FlagsmithClient.dll 的发布工作流及包项目配置。首先,在本地构建的 Flagsmith.5.3.0.nupkg 上复现验证,然后追踪 XML 文档、符号文件、仓库元数据、README 和作者元数据是如何被打包的。当验证器不再报告这些错误中的任何一个,并且相应的规则 ID 已从工作流的 excluded-rule-ids 参数中移除时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

The following errors are seen when validating a locally built package:

{
  "Packages": {
    "/Users/kgustyr/dev/flagsmith/flagsmith-dotnet-client/Flagsmith.FlagsmithClient/bin/Release/Flagsmith.5.3.0.nupkg": {
      "Errors": [
        {
          "ErrorCode": 101,
          "Message": "XML documentation not found",
          "HelpText": "lib/netstandard2.0/Flagsmith.Engine.dll"
        },
        {
          "ErrorCode": 101,
          "Message": "XML documentation not found",
          "HelpText": "lib/netstandard2.0/Flagsmith.FlagsmithClient.dll"
        },
        {
          "ErrorCode": 111,
          "Message": "Symbol file not found",
          "FileName": "lib/netstandard2.0/Flagsmith.FlagsmithClient.dll"
        },
        {
          "ErrorCode": 111,
          "Message": "Symbol file not found",
          "FileName": "lib/netstandard2.0/Flagsmith.Engine.dll"
        },
        {
          "ErrorCode": 74,
          "Message": "Repository commit is not set"
        },
        {
          "ErrorCode": 72,
          "Message": "Repository type is not set"
        },
        {
          "ErrorCode": 61,
          "Message": "Readme is not set"
        },
        {
          "ErrorCode": 12,
          "Message": "\u003Cauthors\u003E element is not set explicitly (same as \u003Cid\u003E)"
        }
      ]
    }
  }
}

These need to be resolved and removed from the --excluded-rule-ids validator argument in the release workflow.

主要语言
C#
星标
20
派生
17
平均合并
21 小时 47 分钟
30 天内合并 PR
8

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Flagsmith/flagsmith-dotnet-client 的其他 Issue

查看 Flagsmith/flagsmith-dotnet-client 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。