Skip to content

cross-reference meta for a lightweight way to automatically notify image maintainers on base image deprecations ("naughty from") #20364

@tianon

Description

@tianon

When an image/tag is removed, we can cross-reference docker-library/meta's sources.json for a really cheap way to get a list of "affected" images so we can automatically ping their maintainers and inform them (instead of the very manual comments we currently try to remember to make because before now the calculation was an expensive one).

jq '.[] | select(del(.arches[].parents.scratch) | any(.arches[].parents[]; .sourceId == null and .pin == null)) | first(.arches[].tags[])' sources.json
.[]
| select(
	del(.arches[].parents.scratch)
	| any(.arches[].parents[]; .sourceId == null and .pin == null)
)
| first(.arches[].tags[])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions