Project

General

Profile

Bug #32529

The installer does not update the katello-ca-consumer-latest symlink to the latest RPM once the bootstrap RPM's release is greater than 9.

Added by Eric Helms almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Associated revisions

Revision 9b769afc (diff)
Added by Eric Helms almost 2 years ago

Fixes #32529: Find latest bootstrap RPM by sorting as integer

The code that finds the maximum (latest) bootstrap RPM was doing
so via a lexical sort which resulted in incorrect ordering for
what should be latest and thus the 9th RPM was always latest. For
example, once the 10th RPM was generated the order went: 1,10,2,3 etc.

This change moves to parsing out the digits (in case there are alphabet
characters present from the dist) in the release, converting to
integers and then sorting.

History

#1 Updated by Eric Helms almost 2 years ago

  • Target version set to 2.5.0
  • Status changed from New to Assigned
  • Subject changed from The installer does not update the katello-ca-consumer-latest symlink to the latest RPM once the bootstrap RPM's release is greater than 9. to The installer does not update the katello-ca-consumer-latest symlink to the latest RPM once the bootstrap RPM's release is greater than 9.

#2 Updated by The Foreman Bot almost 2 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/puppet-foreman_proxy_content/pull/355 added

#3 Updated by The Foreman Bot almost 2 years ago

  • Fixed in Releases 3.0.0 added

#4 Updated by Anonymous almost 2 years ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Amit Upadhye almost 2 years ago

  • Target version deleted (2.5.0)

#6 Updated by Amit Upadhye almost 2 years ago

  • Target version set to 2.5.0
  • Fixed in Releases 2.5.0 added

#7 Updated by Amit Upadhye over 1 year ago

  • Category set to Foreman modules

Also available in: Atom PDF