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

Added mapping for final releasever override [RHELDST-19153] #44

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

rbikar
Copy link
Member

@rbikar rbikar commented Sep 14, 2023

Added support for definition of override for final releasever
by content set label.

Additionally the pre-commit re-organized json files a bit.

@codecov
Copy link

codecov bot commented Sep 14, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (ef2a624) 100.00% compared to head (2a3e2a3) 100.00%.

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.
📢 Have feedback on the report? Share it here.

@rbikar rbikar force-pushed the add-override-final-relver branch 4 times, most recently from eaec9bb to 40cf897 Compare September 14, 2023 11:01
@rbikar rbikar marked this pull request as ready for review September 14, 2023 11:02
MichalHaluza
MichalHaluza previously approved these changes Sep 14, 2023
rohanpm
rohanpm previously approved these changes Sep 14, 2023
@@ -44,6 +44,22 @@
},
"type": "object"
},
"content_set_label": {
"pattern": "^[A-Za-z0-9_\\-]{1,100}$",
Copy link
Member

@rohanpm rohanpm Sep 14, 2023

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.

Copy link
Member Author

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.
@rbikar
Copy link
Member Author

rbikar commented Sep 15, 2023

did only small update to cs patter - carrying over +1s

@rbikar rbikar merged commit f8c6a6a into release-engineering:master Sep 15, 2023
8 checks passed
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.

3 participants