Skip to content

Update Oracle matching#224

Merged
nir0s merged 1 commit intopython-distro:masterfrom
ianw:oraclelinux
Feb 2, 2019
Merged

Update Oracle matching#224
nir0s merged 1 commit intopython-distro:masterfrom
ianw:oraclelinux

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.
#: * 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
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.

4 participants