-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
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:
- check if modules provide the package and include those (Already done today)
- If there are modules:
- Pull the dates of the module stream from the lifecycle api (
HMS-5802handles this) - 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
- Pull the dates of the module stream from the lifecycle api (
- If there are no modules:
- 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/
- is blocked by
-
HMS-5802 Include lifecycle dates in module stream responses for rpm search
-
- Closed
-