microsoft / microsoft/winget-pkgs
[New Feature]: Wingetbot should cache hashes in each run
Nobody has claimed this yet.
- 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 -
- https://github.com/microsoft/winget-pkgs/pull/126100
- https://github.com/microsoft/winget-pkgs/pull/126104
Proposed technical implementation details (optional)
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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