Fix version and distro matching.

Review Request #14870 — Created March 4, 2026 and submitted

Information

rbinstall
master

Reviewers

This change makes a couple fixes related to version matching:

  • The match_version() method would only match exactly the tuple,
    where we mostly want to be matching on the major version. This has
    been updated to match whatever length of tuple is passed in.
  • Several of the distro_info items listed the system as "linux", but
    were supposed to be "Linux". This was causing a bunch of steps to be
    improperly excluded.

The second of these changes required updates to several unit tests,
mostly adding in xmlsec libraries which are now getting (correctly)
installed.

Ran unit tests.

Summary ID
Fix version and distro matching.
This change makes a couple fixes related to version matching: - The `match_version()` method would only match *exactly* the tuple, where we mostly want to be matching on the major version. This has been updated to match whatever length of tuple is passed in. - Several of the distro_info items listed the system as "linux", but were supposed to be "Linux". This was causing a bunch of steps to be improperly excluded. The second of these changes required updates to several unit tests, mostly adding in xmlsec libraries which are now getting (correctly) installed. Testing Done: Ran unit tests.
rpsmqsopllxqswoqyxzswomnpomvptrv
Description From Last Updated

line too long (97 > 79 characters) Column: 80 Error code: E501

reviewbotreviewbot

line too long (97 > 79 characters) Column: 80 Error code: E501

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

david
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (89bab07)