GeezerVison is showing github.com — Feature Request: Support Dependency Cooldown for source plugin · Issue #7866 · updatecli/updatecli
Feature Request: Support Dependency Cooldown for source plugin #7866Open 5 / 75 of 7 issues completedOpen 5 / 75 of 7 issues completed DescriptionIs your feature request related to a problem?
As explained very well here. We don't always want to use the very latest version of an application.
Solution you'd like
I would like to support the parameter cooldown for each source plugin where we can retrieve date information. This optional new parameter should be using "days" as a time measure.
Something like:
sources:
latestVersion:
name: Get latest Venom release
kind: githubrelease
spec:
cooldown: 7
owner: ovh
repository: venom
versionfilter:
kind: semver
Alternatives you've considered
Some ecosystem are more expensive than others, for example oci artifacts are O(N) complexity which make me wonder if we should support it
Anything else?
This issue more than probably an EPIC
Reacted by Guilherme Macedo and Marcello Teodori Sub-issuesCollapse Sub-issuesSub-issues5 of 75 of 7 Issues completedLoading 7 sub-issues Activityloispostula commented on Mar 31, 2026 Reacted by Jérôme Poskin and Sherif Abdel-Naby loispostula commented on Mar 31, 2026 I see two approaches:
A) Like Changelog: add it to the Resource interface, every plugin implements it (no-ops for those without timestamps). Consistent but touches all 30+ plugins.
B) Optional interface: source runner checks if the plugin supports cooldown, calls it if yes, warns if not. Smaller diff, less consistent.
Either way, cooldown would live at the source level (next to kind, name, transformers) rather than inside each plugin's spec, so it works uniformly without duplicating the field everywhere. olblak commented on Mar 31, 2026 Thanks for the feedback, I was thinking about having cooldown parameters within versionfilter something like an interface there should be implemented by each source plugin that contains date informations loispostula commented on Mar 31, 2026 That makes a lot of sense — something like a Cooldown field on Filter with a SearchWithTimestamps(versions, timestamps) method that filters by age before delegating to Search(). Plugins with date data pass a map[string]time.Time, others just pass nil and it falls back to regular Search. Keeps it contained in versionFilter, no interface changes needed. olblak commented on Apr 1, 2026 Exactly that's what I had in mind lemeurherveCB commented on Apr 24, 2026 olblak commented on Sep 21, 2026 I am removing this issue from the 1.0.0 milestone as it can be implemented later on gionn commented on Nov 19, 2026 @olblak I opened #11391 for Docker image cooldown, implemented in #11369. Could you add it as a sub-issue here? I don't have permission to link it. Reacted by Olivier Vernin
MetadataMetadataStatusShow more project fields
DevelopmentNo branches or pull requestsIssue actions
|