Description of problem:
Sorting of available minor version repos is not consistent.
Example: When we look for "Red Hat Enterprise Linux 7 Server (RPMs)" repos we see "x86_64 7Server" as a first entry. Whereas when we look for "Red Hat Enterprise Linux 6 Server (RPMs)" repos then we see "x86_64 6Server" as the last entry and the sorting is like:
x86_64 6.10 <<<< After 6.1 we should see 6.2 instead of 6.10
6Server or 7Server are base repositories and these are most commonly used repos so those should be listed as a first entry.
In this example, 7Server is listed at the top but the sorting is still disordered:
Red Hat Enterprise Linux OpenStack Platform 7.0 director for RHEL 7 (RPMs)
Created redmine issue https://projects.theforeman.org/issues/24679 from this bug
Upstream bug assigned to firstname.lastname@example.org
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24679 has been resolved.
This failed cherrypick downstream. Can you take a look?
Here's what you can expect from the sorting now: repositories will be sorted in descending order, grouped by architecture. Also, any non y-stream repo (ie 7Server) will be moved to the top as we want to encourage use of those rather than y-stream repositories.
Something like this:
Thank you Johathon for the update and considering this for GA.
snap 23, not 63
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.