microsoft / microsoft/winget-pkgs

[New Feature]: Wingetbot should cache hashes in each run

Open
#126,360 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Bots Area-Validation-Pipeline Issue-Feature
Dominant language
No language data
Stars
11.1k
Forks
9.7k
Avg merge
1h 32m
Merged PRs (30d)
376

Description

Description of the new feature/enhancement

When wingetbot runs its update, there may be multiple old versions of a package. This means that the bot will make multiple PRs to add the same package. Instead, it should keep a cache of all the file hashes which it has raised a new PR for and avoid creating multiple PRs for the same file hash within the same run

See -

Proposed technical implementation details (optional)

No response

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 wingetbot update flow and compare the duplicate-package behavior described in pull requests 126100 and 126104. Done means one run tracks file hashes for which it raised a PR and does not create multiple PRs for the same hash.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.