Skip to content

Improve watch_repo with newer_only option#1775

Open
LucienLassalle wants to merge 1 commit into
crazy-max:masterfrom
LucienLassalle:lle_improve_watch_repo
Open

Improve watch_repo with newer_only option#1775
LucienLassalle wants to merge 1 commit into
crazy-max:masterfrom
LucienLassalle:lle_improve_watch_repo

Conversation

@LucienLassalle

Copy link
Copy Markdown

When you have a fixed version, you have no way of detecting the appearance of a new version.
This option aims to notify you when a new image appears and is more recent, thus limiting notifications.

When watch_repo is enabled, watch_newer_only restricts notifications to tags whose semantic version is strictly greater than the current image tag. Non-semver tags (latest, edge, date-based) are silently ignored. include_prereleases controls whether pre-release tags (-rc.1, -alpha, -beta) that are newer than the current version are included.

Both options are available as labels on all providers (diun.watch_newer_only, diun.include_prereleases), as Defaults config fields (watchNewerOnly, includePrereleases), and in the file provider YAML configuration (watch_newer_only, include_prereleases).

Note: I received help from Claude Sonnet 4.6 for the pull request. And this is my first pull request on this repository, so any feedback is welcome :)

When you have a fixed version, you have no way of
detecting the appearance of a new version.
This option aims to notify you when a new image appears and is more recent,
thus limiting notifications.

When watch_repo is enabled, watch_newer_only restricts notifications to
tags whose semantic version is strictly greater than the current image
tag. Non-semver tags (latest, edge, date-based) are silently ignored.
include_prereleases controls whether pre-release tags (-rc.1, -alpha,
-beta) that are newer than the current version are included.

Both options are available as labels on all providers
(diun.watch_newer_only, diun.include_prereleases), as Defaults config
fields (watchNewerOnly, includePrereleases), and in the file provider
YAML configuration (watch_newer_only, include_prereleases).

Signed-off-by: Lucas RAVAGNIER <ravagnierlucas@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant