Skip to content

Conversation

@falbrechtskirchinger
Copy link

Add an optional check to scan for packages using stable keywords. This is useful for overlays like ::guru, which require that all packages be keyworded unstable.

The implementation is based on UnstableOnlyCheck, though strictly copying the restrictions mechanism results in O(N * M), where a simple set intersection could be O(N).
The severity was chosen based on the language in the regulations (rule 4): "Stable keywords must not be used." (emphasis mine)

Tests

  • Added a new repo, as this check conflicts with other test cases using stable keywords.
  • Added test ebuilds to exercise both positive and negative paths.
  • Added expected.json and fix.patch.

Add an optional check to scan for packages using stable keywords. This
is useful for overlays like ::guru, which require that all packages be
keyworded unstable.

Signed-off-by: Florian Albrechtskirchinger <[email protected]>
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