Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

label: remove deprecated stuff #228

Merged
merged 2 commits into from
Mar 19, 2025
Merged

Conversation

kolyshkin
Copy link
Collaborator

This was mostly deprecated in 2020 and I was not able to find any existing users (except for very old vendor directories in a dozen of unmaintained repos).

Time to move on.

@rhatdan
Copy link
Collaborator

rhatdan commented Mar 12, 2025

LGTM

Move 4 Linux tests that only test stuff from the selinux pkg
(TestDuplicateLabel, TestSELinuxNoLevel, TestSocketLabel, TestKeyLabel)
from label pkg to selinux, following commit 15c906f ("label: deprecate
selinux wrappers").

Remove some stub tests in label pkg (TestSocketLabel, TestKeyLabel,
TestProcessLabel, and parts of TestCheckLabelCompile) that already
have equivalents in selinux (TestSELinuxStubs).

Fix a few remaining issues in label to not use deprecated stuff
(ROMountLabel -> selinux.ROFileLabel, GenLabels -> InitLabels).

Signed-off-by: Kir Kolyshkin <[email protected]>
This was mostly deprecated in 2020 and I was not able to find any
existing users (except for very old vendor directories in a dozen of
unmaintained repos).

Time to move on.

Signed-off-by: Kir Kolyshkin <[email protected]>
@kolyshkin kolyshkin marked this pull request as ready for review March 12, 2025 18:36
@kolyshkin kolyshkin added this to the v1.12 milestone Mar 12, 2025
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@kolyshkin
Copy link
Collaborator Author

@rhatdan can we have a proper lgtm please?

@rhatdan rhatdan merged commit 03cde75 into opencontainers:main Mar 19, 2025
17 checks passed
@Luap99
Copy link

Luap99 commented Mar 24, 2025

This was mostly deprecated in 2020 and I was not able to find any existing users (except for very old vendor directories in a dozen of unmaintained repos).

There are still two callers in buildah, containers/buildah@a1715cc
Not a big deal of course as it was easy to fix but I thought I mention it here anyway as I didn't know which repos you checked.

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.

4 participants