Cannot remove a hold package
Open
Nobody has claimed this yet.
bug
severity-medium
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
Previously, I had a state pkg.installed which had hold: True to mark it as hold.
Now I want to create a state pkg.removed to remove this installed package, but there is no option to override the hold mark.
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 Salt's pkg.installed and pkg.removed states and the hold flag, but no files or tests. Start by locating the package-state implementation and its hold handling; done means a held package can be removed through pkg.removed with an explicit way to override the hold, covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100