Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Link PR to issue with an option

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

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
68/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
csharp, github
领域
cli

调研方向

首先跟踪命令行选项解析以及打开 pull request 的流程,并以现有的 -n 行为作为参考。添加 -i/--issues 选项,支持使用逗号分隔的 issue 编号和可选空格,但仅限于 -n 为 false 的情况;完成标准是创建的 PR 链接到指定的 issue。

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

描述

Issue-Feature Needs-Triage
Description of the new feature / enhancement

Provide an option to link the PR to issue(s) when a PR is to open.

Proposed technical implementation details

Provide an option -i, --issues accepting numbers of issues to be resolved by the PR to be opened, as multiple integers, each additional separated by a comma with optional spaces, only in effect when -n is false.

主要语言
C#
星标
658
派生
117
平均合并
6 小时 31 分钟
30 天内合并 PR
2

环境准备

从这里开始

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

microsoft/winget-create 的其他 Issue

查看 microsoft/winget-create 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

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