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

featurens: Ensure RHEL is correctly identified #531

Merged
merged 1 commit into from
Mar 16, 2018
Merged

featurens: Ensure RHEL is correctly identified #531

merged 1 commit into from
Mar 16, 2018

Conversation

bison
Copy link
Contributor

@bison bison commented Mar 16, 2018

Backporting #508 to the 2.0 release branch. Correctly identify RHEL and Oracle Linux.

When trying to identify various RedHat releases, RHEL was not being
picked up as a centos release because the Oracle Linux regex was too
permissive: it would match any release name with '<something> Linux
Server release' in the name. By being more restrictive with the Oracle
regex, RHEL is now properly identified.

I don't know why the Oracle regex used such a permissive matcher for the
name but it still passes all the tests by replacing it with the word
'Oracle'.

Fixes #436
@bison bison requested a review from jzelinskie March 16, 2018 20:44
@bison bison merged commit 2171579 into quay:release-2.0 Mar 16, 2018
@bison bison deleted the oracle-regex branch March 16, 2018 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants