microsoft / microsoft/winget-create

Link PR to issue with an option

Open
#700 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Feature Needs-Triage
Dominant language
C#
Stars
651
Forks
114
Avg merge
7h 52m
Merged PRs (30d)
3

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the command-line option parsing and the flow that opens a pull request, using the existing -n behavior as a reference. Add the -i/--issues option with comma-separated issue numbers and optional spaces, limited to cases where -n is false; done means the created PR links the specified issues.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, github
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.