-
Notifications
You must be signed in to change notification settings - Fork 243
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
Fix rpminspect specname inspection failure #6241
Fix rpminspect specname inspection failure #6241
Conversation
✅ Deploy Preview for odo-docusaurus-preview canceled.
|
172f011
to
0a7ac68
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dharmit The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
To anticipate the sunsetting of rpmdiff (replaced by rpminspect), this makes sure that the odo RPM package passes rpminspect's inspections. The only error reported at this time was about an invalid spec filename. ``` specname: --------- 1) Spec filename does not exactly match the primary name odo; got 'openshift-odo.spec' Result: BAD Waiver Authorization: Not Waivable Suggested Remedy: The spec file name does not match the expected NAME.spec format. Rename the spec file to conform to this policy. ``` See https://docs.google.com/document/d/1PolwQHoZzf0oeOUN1IK7T_NDRAay-nurwL0xYj2JuOo/edit# for more details.
0a7ac68
to
95ecaa9
Compare
Rebased and force-pushed to get fixes for the tests. |
/test v4.11-integration-e2e |
Kudos, SonarCloud Quality Gate passed! |
Seeing infra error again /test v4.11-integration-e2e |
What type of PR is this:
/kind bug
/area release-eng
What does this PR do / why we need it:
To anticipate the sunsetting of
rpmdiff
(replaced byrpminspect
), thismakes sure that the odo RPM package passes rpminspect's inspections.
The only error reported when testing it was about an invalid spec
filename.
See
https://docs.google.com/document/d/1PolwQHoZzf0oeOUN1IK7T_NDRAay-nurwL0xYj2JuOo/edit#
for more details about this.
Note
I am also about to submit a Merge Request to the internal release repo, as I saw some occurrences of this spec file there.
EDIT: See MR 71 in the internal
release
repository.Which issue(s) this PR fixes:
Fixes #6213
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer:
It would be ideal to test this in CI, to prevent further regressions on this or any other inspections, but this is not possible at this time.
So we need to check manually: