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

create: Support aliases (example: "rhel") #1930

Open
garrett opened this issue Nov 28, 2024 · 2 comments
Open

create: Support aliases (example: "rhel") #1930

garrett opened this issue Nov 28, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@garrett
Copy link
Member

garrett commented Nov 28, 2024

When searching for RHEL, there are no results. We should probably change this. 😉

image

While RHEL is the obvious one, I don't know what other aliases we'd want to support. So, this is really about supporting at least one alias: RHEL for "Red Hat Enterprise Linux". 😉

@garrett garrett added the enhancement New feature or request label Nov 28, 2024
@jelly
Copy link
Member

jelly commented Nov 29, 2024

We don't need to alias (and should not): the osinfo contains the information as short-id:

osinfo-query --fields=short-id,version,eol-date os | grep rhel
 rhel-atomic-7.0      | 7.0      | 2020-08-06
 rhel-atomic-7.1      | 7.1      | 2020-08-06
 rhel-atomic-7.2      | 7.2      | 2020-08-06
 rhel-atomic-7.3      | 7.3      | 2020-08-06
 rhel-atomic-7.4      | 7.4      | 2020-08-06
 rhel-unknown         | unknown  |
 rhel2.1              | 2.1      | 2009-05-31
 rhel2.1.1            | 2.1.1    | 2009-05-31
 rhel2.1.2            | 2.1.2    | 2009-05-31
 rhel2.1.3            | 2.1.3    | 2009-05-31
 rhel2.1.4            | 2.1.4    | 2009-05-31
 rhel2.1.5            | 2.1.5    | 2009-05-31
 rhel2.1.6            | 2.1.6    | 2009-05-31
 rhel2.1.7            | 2.1.7    | 2009-05-31
 rhel3                | 3        | 2014-01-30

@garrett
Copy link
Member Author

garrett commented Nov 29, 2024

@jelly Perfect! That's even better; thanks! We should search on short IDs then too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants