diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-30 18:56:55 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-30 18:56:55 +0900 |
| commit | 8b87e0eb7628dbdc32f966c1b3fb9a51e76e2a48 (patch) | |
| tree | 7a961771ef5ff219df82c28f99f254046d73d22a /internal/rosa | |
| parent | f4215ddda5e91a330e1f49abd7a55e03091bf908 (diff) | |
internal/rosa: annotate blocked updates
These situations, while unfortunate, are inevitable at a larger scale. This change enables annotation and optional hiding of blocked updates.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa')
| -rw-r--r-- | internal/rosa/package/openssl.az | 2 | ||||
| -rw-r--r-- | internal/rosa/state.go | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/internal/rosa/package/openssl.az b/internal/rosa/package/openssl.az index 86e438bc..90dc616a 100644 --- a/internal/rosa/package/openssl.az +++ b/internal/rosa/package/openssl.az @@ -5,6 +5,8 @@ package openssl { // strange malformed tags treated as pre-releases in Anitya latest = anityaFallback; + block = "python"; + version# = "3.6.2"; source = remoteGitHubRelease { suffix = "openssl/openssl"; diff --git a/internal/rosa/state.go b/internal/rosa/state.go index 1aa37ea9..a53a0ffa 100644 --- a/internal/rosa/state.go +++ b/internal/rosa/state.go @@ -96,6 +96,8 @@ type Metadata struct { // // [Anitya]: https://release-monitoring.org/ ID int `json:"-"` + // Maintainer-facing reason of blocked update. + Blocked string `json:"block,omitempty"` // Whether to exclude from exported functions. Exclude bool `json:"exclude,omitempty"` @@ -944,6 +946,7 @@ func (ctx *evalContext) pf( k("version"): &meta.Version, k("exclude"): &meta.Exclude, k("anitya"): &anitya, + k("block"): &meta.Blocked, k("latest"): &meta.latest, k("writable"): &attr.Writable, |
