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

csmock: make kfp work for pkgs without the -release suffix #136

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

kdudka
Copy link
Member

@kdudka kdudka commented Nov 3, 2023

The code that extracts package name from the name-version-release string did not work as expected if the -release part was missing. Consequently, it did not find the corresponding exclude-paths.txt file in the known-false-positives while scanning a source code tarball named: RedHatInsights-compliance-backend-bd2b8accb3d4aae88a8c1a71563ec3f5ead7b1fa.tar.gz

Resolves: https://issues.redhat.com/browse/OSH-392

@kdudka kdudka requested a review from hanchuntao November 3, 2023 15:01
@kdudka kdudka self-assigned this Nov 3, 2023
kdudka added a commit to kdudka/csmock that referenced this pull request Nov 3, 2023
The code that extracts package name from the `name-version-release`
string did not work as expected if the `-release` part was missing.
Consequently, it did not find the corresponding `exclude-paths.txt`
file in the known-false-positives while scanning a source code tarball
named: `RedHatInsights-compliance-backend-bd2b8accb3d4aae88a8c1a71563ec3f5ead7b1fa.tar.gz`

Resolves: https://issues.redhat.com/browse/OSH-392
Closes: csutils#136
py/csmock Outdated Show resolved Hide resolved
The code that extracts package name from the `name-version-release`
string did not work as expected if the `-release` part was missing.
Consequently, it did not find the corresponding `exclude-paths.txt`
file in the known-false-positives while scanning a source code tarball
named: `RedHatInsights-compliance-backend-bd2b8accb3d4aae88a8c1a71563ec3f5ead7b1fa.tar.gz`

Resolves: https://issues.redhat.com/browse/OSH-392
Closes: csutils#136
@kdudka
Copy link
Member Author

kdudka commented Nov 10, 2023

@hanchuntao Thanks for review!

@kdudka kdudka closed this in 012cde3 Nov 10, 2023
@kdudka kdudka merged commit 012cde3 into csutils:main Nov 10, 2023
jperezdealgaba pushed a commit to jperezdealgaba/csmock that referenced this pull request Nov 22, 2023
The code that extracts package name from the `name-version-release`
string did not work as expected if the `-release` part was missing.
Consequently, it did not find the corresponding `exclude-paths.txt`
file in the known-false-positives while scanning a source code tarball
named: `RedHatInsights-compliance-backend-bd2b8accb3d4aae88a8c1a71563ec3f5ead7b1fa.tar.gz`

Resolves: https://issues.redhat.com/browse/OSH-392
Closes: csutils#136
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.

2 participants