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

Move data stream component references #12557

Merged
merged 3 commits into from
Nov 4, 2024
Merged

Conversation

jan-cerny
Copy link
Collaborator

SCE checks are checks, they aren't checklists. Therefore, component-ref elements pointing to components containing SCE checks shouldn't be children of checklists element but they should be children of checks element.

This change fixes this error message that is produced when running the oscap info command on the built data stream: OpenSCAP Error: Internal error: Could not acquire handle to 'scap_org.open-scap_cref_rhel9-checks-sce-timer_dnf-automatic_enabled.sh' source. [/builddir/build/BUILD/openscap-1.4.0/src/DS/ds_sds_session.c:233]

@jan-cerny jan-cerny added the Infrastructure Our content build system label Oct 31, 2024
Copy link

Start a new ephemeral environment with changes proposed in this pull request:

Fedora Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

@Mab879 Mab879 self-assigned this Oct 31, 2024
@Mab879
Copy link
Member

Mab879 commented Oct 31, 2024

/packit build

@Mab879
Copy link
Member

Mab879 commented Nov 1, 2024

/packit build

@Mab879 Mab879 added this to the 0.1.75 milestone Nov 4, 2024
@Mab879
Copy link
Member

Mab879 commented Nov 4, 2024

Can you please rebase so the prow CI can run?

Copy link
Member

@Mab879 Mab879 left a comment

Choose a reason for hiding this comment

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

Please rebase so that prow ci can run.

SCE checks are checks, they aren't checklists. Therefore,
`component-ref` elements pointing to components containing SCE
checks shouldn't be children of `checklists` element but they
should be children of `checks` element.

This change fixes this error message that is produced when
running the `oscap info` command on the built data stream:
OpenSCAP Error: Internal error: Could not acquire handle to 'scap_org.open-scap_cref_rhel9-checks-sce-timer_dnf-automatic_enabled.sh' source. [/builddir/build/BUILD/openscap-1.4.0/src/DS/ds_sds_session.c:233]
The SCE checks should be listed in `checks` element, not in
`checklists` element, because SCE checks are checks, not checklists.
@jan-cerny
Copy link
Collaborator Author

I have rebased this PR on the top of the latest upstream master branch.

Copy link

codeclimate bot commented Nov 4, 2024

Code Climate has analyzed commit 678adf7 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 60.9% (0.0% change).

View more on Code Climate.

@Mab879 Mab879 merged commit 40c2426 into ComplianceAsCode:master Nov 4, 2024
104 of 105 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Our content build system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants