-
Notifications
You must be signed in to change notification settings - Fork 11
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
Added mapping for final releasever override [RHELDST-19153] #44
Added mapping for final releasever override [RHELDST-19153] #44
Conversation
e748924
to
c636572
Compare
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #44 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 75 75
=========================================
Hits 75 75 ☔ View full report in Codecov by Sentry. |
eaec9bb
to
40cf897
Compare
src/cdn_definitions/schema.json
Outdated
@@ -44,6 +44,22 @@ | |||
}, | |||
"type": "object" | |||
}, | |||
"content_set_label": { | |||
"pattern": "^[A-Za-z0-9_\\-]{1,100}$", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm just wondering if 100 chars might be a bit short? I checked our current data and the current longest label seems to be 74 chars already: ansible-automation-platform-2.0-early-access-for-rhel-8-x86_64-source-rpms
So, that's not much room to grow.
When I'm in doubt about upper limits I usually set them to at least 2x the currently known max.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update the cs pattern to:
"pattern": "^[A-Za-z0-9_\\-]{1,200}$",
Added support for definition of override for final releasever by content set label. Additionally the pre-commit re-organized json files a bit.
40cf897
to
2a3e2a3
Compare
did only small update to cs patter - carrying over +1s |
Added support for definition of override for final releasever
by content set label.
Additionally the pre-commit re-organized json files a bit.