microsoft / microsoft/winget-create

add option to add extra comments to the pull request description for `update` command

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

Nobody has claimed this yet.

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

Description

Description of the new feature / enhancement

I wonder if wingetcreate.exe update option to add extra comments to the pull request description for update command.

In my workflow, pull request targeting other repository is created by my machine account (@anatawa12-bot) but I should watch the pull request so I want to mention me on the pull request.
however, wingetcreate command doesn't have any way to know pull request number programmatically so I want some option to append some custom string to the pull request message.

Proposed technical implementation details

appending text from command line option here.
https://github.com/microsoft/winget-create/blob/c8044491bebc8fcc76afa4e126e31556a380327b/src/WingetCreateCore/Common/GitHub.cs#L370

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 with the update command and the pull-request creation logic in src/WingetCreateCore/Common/GitHub.cs around the linked line. Trace how command-line options reach the PR description, then verify that the supplied custom text is appended when an update creates a pull request and that the existing description remains unchanged when it is omitted.

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
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.