ComplianceAsCode / ComplianceAsCode/content
Platforms `uefi` and `non-uefi` have duplicate code, that could be refactored with the help of platform expressions
Open
CPE-AL
enhancement
Infrastructure
triaged
- Dominant language
- Shell
- Stars
- 2.8k
- Forks
- 828
- Avg merge
- 3d 8m
- Merged PRs (30d)
- 80
Description
#### Description of problem:
The `non-uefi` platform is redundant. The `uefi` platform condition can be inverted in the platform expression: `not uefi`.
#### Proposed change:
Remove `non-uefi` platform and replace all occurrences with `not uefi`.
#### References:
1. https://github.com/ComplianceAsCode/content/blob/master/shared/applicability/non-uefi.yml
2. https://github.com/ComplianceAsCode/content/blob/master/shared/applicability/uefi.yml
3. #10500
Contributor guide
Assessment
This issue has not been assessed yet.