Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update Oracle matching #224

Merged
merged 1 commit into from
Feb 2, 2019
Merged

Update Oracle matching #224

merged 1 commit into from
Feb 2, 2019

Conversation

ianw
Copy link
Contributor

@ianw ianw commented Aug 3, 2018

It seems Oracle ships an /etc/os-release which has an ID of 'ol'. To
make sure it returns the id "oracle" as mentioned in the docs, match
this. Update the testing.


I noticed this from the following change which was proposed to OpenStack's bindep : https://review.openstack.org/#/c/536355/

You can see some small testing pulling it from docker in http://paste.openstack.org/show/726682/. I confirmed I got "oracle" back there too with this small change.

It seems Oracle ships an /etc/os-release which has an ID of 'ol'.  To
make sure it returns the id "oracle" as mentioned in the docs, match
this.  Update the testing.
@@ -48,7 +48,9 @@
#: with blanks translated to underscores.
#:
#: * Value: Normalized value.
NORMALIZED_OS_ID = {}
NORMALIZED_OS_ID = {
'ol': 'oracle', # Oracle Enterprise Linux
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not a big deal, but officially we just refer to this as "Oracle Linux" now, the "enterprise" wording has been dropped.

@ianw
Copy link
Contributor Author

ianw commented Nov 14, 2018

Hi, is there a release schedule or other plan for integrating this? Thanks

@ssbarnea
Copy link

@nir0s Any chance of merging this? I do not have personal intention to test the oracle blend but the fix seems genuine and I would prefer to avoid adding workarounds in openstack projects that rely on distro library. A fix here is clearly preffered.

@nir0s nir0s merged commit 708a2c6 into python-distro:master Feb 2, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants