Re: [osinfo-db] rhel-8: Adjust regex for 8.0 and unknown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/19/19 6:10 AM, Fabiano Fidêncio wrote:
Let's adjust the 8.0 regex as it may consist in 8.0.x, which should
always be detected as 8.0.

By doing this adjustment, the unknown regex also has to be adjusted
accordingly.

Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
---
  data/os/redhat.com/rhel-8-unknown.xml.in | 16 ++++++++--------
  data/os/redhat.com/rhel-8.0.xml.in       | 16 ++++++++--------
  2 files changed, 16 insertions(+), 16 deletions(-)

Reviewed-by: Cole Robinson <crobinso@xxxxxxxxxx>

But for cases like this where it's not immediately obvious what values we accept, it would be nice to add a comment with a few different examples we need to match. So 8.X, 8.X.X, etc. One comment per file should be fine IMO

- Cole

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux