microsoft / microsoft/winget-cli
History subcommand
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Description of the new feature / enhancement
Some other package managers keep track of history of operations. For example, see History Command in dnf manual. Having similar functionality available in Winget would be very useful. In particular, winget packages very often have upgrade path bugs, and writing an accurate bug report would require knowledge of how the package was installed, and when. winget history Troublesome.Package would help a lot there.
Proposed technical implementation details
I do not have very specific requirements for this. I think dnf's approach where every applied transaction is good. I think the following would be enough for the need I have:
- Transaction date
- Package IDs
- Version numbers from
- Version numbers to
- Operation type: install, upgrade or remove
(I am not sure if Winget does transactions, or just single package upgrades in sequence — if there are no transactions, then just logging individual operations in sequence would be enough.)
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
The issue names no files, tests, or entry points. Start by determining whether Winget records transactions or individual package operations and where that information could be retained; done means a history command can report dates, package IDs, previous and new versions, and install, upgrade, or remove operations.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100