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

ENT-6536: Shortened Inventory OS attribute to be more readable #1868

Merged
merged 1 commit into from Jan 14, 2021

Conversation

olehermanse
Copy link
Member

@olehermanse olehermanse commented Nov 19, 2020

Tested on:

  • Ubuntu 14
  • Ubuntu 16
  • Ubuntu 18
  • Ubuntu 20
  • Debian 7
  • Debian 8
  • Debian 9
  • Debian 10
  • RHEL 5
  • RHEL 6
  • RHEL 7
  • RHEL 8
  • CentOS 6
  • CentOS 7
  • Windows 2012
  • Windows 2016
  • SUSE 11
  • SUSE 12
  • SUSE 15

OS strings are as shown ^

@olehermanse
Copy link
Member Author

Created a follow-up ticket: https://tracker.mender.io/browse/ENT-6658

This is the main string used in many places, including
MP UI, pie charts, reports etc.

We want it to be the shortest, most human intuitive and readable way, so:

* Ubuntu 18
* Debian 9
* CentOS 6
* RHEL 7
* SUSE 15
* Windows 2016

We use the old implementation (based on LSB) as a fall back,
but prefer data from os-release, and in some cases we have overrides
for specific platform versions to ensure consistency, even
when the OS maintainers don't agree with each other or even their past
selves.

Even if it isn't perfect everywhere, always, that is okay,
it's supposed to be a shortened pretty string.

Ticket: ENT-6536
Changelog: Title
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
@olehermanse
Copy link
Member Author

@cf-bottom jenkins, please.

@cf-bottom
Copy link

@olehermanse
Copy link
Member Author

@nickanderson ready for review.

@nickanderson
Copy link
Member

I am still not 100% convinced that this should be in the MPF, but not enough doubts to reject it.

@olehermanse olehermanse merged commit adc4592 into cfengine:master Jan 14, 2021
@olehermanse olehermanse deleted the inventory branch January 14, 2021 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants