Skip to content

claircore: change Package.Kind type and add new values#1781

Open
hdonnay wants to merge 1 commit intoquay:mainfrom
hdonnay:feature/not-affected/package-kind
Open

claircore: change Package.Kind type and add new values#1781
hdonnay wants to merge 1 commit intoquay:mainfrom
hdonnay:feature/not-affected/package-kind

Conversation

@hdonnay
Copy link
Member

@hdonnay hdonnay commented Mar 19, 2026

This was largely an automated rewrite, but does touch a lot of files.

See-also: https://issues.redhat.com/browse/CLAIRDEV-85
Change-Id: I6ed030878dcccb1a5d0c437f2b480e9f0bea80fd
Signed-off-by: Hank Donnay hdonnay@redhat.com

@hdonnay hdonnay requested review from BradLugo and crozzy March 19, 2026 21:36
@hdonnay hdonnay requested a review from a team as a code owner March 19, 2026 21:36
@hdonnay hdonnay added this to the Not Affected milestone Mar 19, 2026
@hdonnay hdonnay force-pushed the feature/not-affected/package-kind branch 2 times, most recently from fe5217b to e8b5727 Compare March 26, 2026 15:37
Comment on lines +80 to +85
// An "ancestry" package is used to refer to a container layer and all
// previous layers in an image.
//
// Conceptually, an "ancestry" package is a higher type that describes the
// container image rather than the contents.
PackageAncestry // ancestry
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why, but this seems a bit unclear to me. Did you have some other ideas about this name? Or maybe we should explain why this value is important.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// An "ancestry" package is used to refer to a container layer and all
// previous layers in an image.
//
// Conceptually, an "ancestry" package is a higher type that describes the
// container image rather than the contents.
PackageAncestry // ancestry
// An "ancestry" package is used to refer to a container layer and all
// previous layers (a layer and its ancestors) in an image.
//
// Conceptually, an "ancestry" package is a higher type that describes the
// container image rather than the contents.
PackageAncestry // ancestry

This was largely an automated rewrite, but does touch a lot of files.

See-also: https://issues.redhat.com/browse/CLAIRDEV-85
Change-Id: I6ed030878dcccb1a5d0c437f2b480e9f0bea80fd
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
@hdonnay hdonnay force-pushed the feature/not-affected/package-kind branch from e8b5727 to 853067b Compare March 27, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants