-
Notifications
You must be signed in to change notification settings - Fork 930
Description
Checklist
- I have verified this is the correct repository for opening this issue.
- I have verified no other issues exist related to my request.
Is Your Feature Request Related To A Problem? Please describe.
I use an organizational GitHub repository to distribute packages to machines in an organization. GitHub actions build, package, and deploy applications to the repository. In a fast-moving environment, if I tell users a new package is out, I need to know that it's going to update for them. Developer testing of the package deployment is also complicated by the fact that choco does not request the latest package feed from the repository. This can only be worked around by getting in the habit of running choco cache
remove before each choco update
.
Describe The Solution. Why is it needed?
- Support disabling of feed caching on a per-source basis. I haven't found detailed documentation on the caching strategy, so maybe a more granular setting would be appropriate here.
- Implement a flag (
--no-cache
?) on all relevant commands, e.g.update
andinstall
. This would be an easy-to-explain instruction for users.
I can see why this might not be desirable for a public feed like community.chocolatey.org
, but presumably only a small minority of users would ever change this default, especially for that feed.
Additional Context
No response
Related Issues
No response