Bug 1879640

Summary: api validation fails when csv name contains invalid semver
Product: OpenShift Container Platform Reporter: lgallett
Component: OLMAssignee: lgallett
OLM sub component: OLM QA Contact: Jian Zhang <jiazha>
Status: CLOSED NOTABUG Docs Contact:
Severity: low    
Priority: low CC: krizza, nhale
Version: 4.6   
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-03 18:27:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description lgallett 2020-09-16 17:26:39 UTC
Description of problem:

api bundle validation fails when the csv name contains invalid semver


Version-Release number of selected component (if applicable):


How reproducible:

always

Steps to Reproduce:
1. create a csv with name.v<invalid.semver>

Actual results:

validation fails

Expected results:

validation should succeed as OLM is agnostic to the name of the csv

Additional info:

Comment 4 Nick Hale 2020-10-19 14:10:43 UTC
Lance,

This BZ is pretty vague. As far as I was aware, any validation that OLM does IS agnostic of the CSV naming. Can you be more specific about which validation fails? Is this in SDK or the API repo?

Thanks

Also, since no one has picked this up and we're in the last week of the sprint, I'm moving this out to the next sprint.

Comment 6 lgallett 2020-11-03 18:27:00 UTC
Closing as this has already been fixed here https://github.com/operator-framework/api/pull/63 and has been added to the sdk here https://github.com/operator-framework/operator-sdk/pull/3886