Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-5913

Import package dates from RHEL lifecycle and detect non-modular appstream packages

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Content
    • None

      HMS-5802 adds lifecycle dates for module streams, but we need to add lifecycle dates to package streams and determine if a package stream is available for packages outside of a module.  Right now we only include a package stream if there is no module stream for it.

       

      For rpm search for repositories or snapshots, when 'include_package_sources' is set to true,  we should:

       

      1. check if modules provide the package and include those (Already done today)
      2. If there are modules:
        1. Pull the dates of the module stream from the lifecycle api (HMS-5802 handles this)
        2. Check the lifecycle api if some the specific package is available in the lifecycle api (impl=package), and if so include a type=package stream with the specified lifecycle dates.  This is provided by RSPEED-904
      3. If there are no modules:
        1. Pull the RHEL major version lifecycle info  from the lifecycle api and include that (if we think the package is a RHEL package)
      [
        { 
           module_name: 'nodejs',
           type="module" 
           end_date="01-01-2025"
        },
        {
           type="package"
            end_date="01-01-2025"
         }
      ]
       

      Node js in rhel 9 is a good example of application streams that exist as both a package and a module

       

       

      RHEL lifecycle api :  https://console.stage.redhat.com/api/roadmap/v1/lifecycle/rhel/

              rverdile@redhat.com Ryan Verdile
              rhn-engineering-jsherrill Justin Sherrill
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: