-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
Modular obsoletes now support at most one replacing stream:
document: modulemd-obsoletes
version: 1
data:
module: perl
stream: 5.30
[...]
obsoleted_by:
module: perl
stream: "5.32"
It turned out https://bugzilla.redhat.com/show_bug.cgi?id=2053213#c7 that's not enough. perl:5.32 is missing perl-Pod-Parser which exists in perl:5.30. Because no package from perl:5.32 RPM-obsoletes perl-Pod-Parser, DNF cannot perform an upgrade with automatical switching streams from an obsolete perl:5.30 to perl:5.32.
A feature-complete RPM upgrade path requires modularizing perl-Pod-Parser and extending modular obsoletance to multiple modules:
document: modulemd-obsoletes
version: 2
data:
module: perl
stream: 5.30
[...]
obsoleted_by:
- module: perl
stream: "5.32"
- module: perl-Pod-Parser
stream: "SOMETHING"
That would require changing the format, unless we come with cunning syntax like:
document: modulemd-obsoletes
version: 1
data:
module: perl
stream: 5.30
[...]
obsoleted_by:
module: perl
stream: "5.32"
obsoleted_by_more:
- module: perl-Pod-Parser
stream: "SOMETHING"
But I'd rather bump the format version.
Metadata
Metadata
Assignees
Labels
No labels