Skip to content

Keep module runtime dependencies as in the template - #607

Merged
anfimovdm merged 1 commit into
AlmaLinux:masterfrom
eabdullin1:module-runtime-deps
Oct 23, 2026
Merged

anfimovdm merged 1 commit into
AlmaLinux:masterfrom
eabdullin1:module-runtime-deps

Conversation

@eabdullin1

Copy link
Copy Markdown
Contributor

When a module had the same dependency in buildrequires and requires, the Runtime column took the stream from buildrequires even if requires had no stream, so php:7.2 was built with "nginx: [1.14]" instead of "nginx: []". Dependencies that were only in requires (no stream, other stream or not in buildrequires) were never selected, so the backend dropped them from the final modulemd (e.g. "perl: []" for perl-DBI).

Select the Runtime column only for the exact name:stream from requires, select requires-only rows by default and match module names exactly instead of by substring. Use name:stream as the table row key, since the same module can now appear with several streams.

When a module had the same dependency in buildrequires and requires,
the Runtime column took the stream from buildrequires even if requires
had no stream, so php:7.2 was built with "nginx: [1.14]" instead of
"nginx: []". Dependencies that were only in requires (no stream, other
stream or not in buildrequires) were never selected, so the backend
dropped them from the final modulemd (e.g. "perl: []" for perl-DBI).

Select the Runtime column only for the exact name:stream from requires,
select requires-only rows by default and match module names exactly
instead of by substring. Use name:stream as the table row key, since
the same module can now appear with several streams.
@anfimovdm
anfimovdm merged commit 403d6da into AlmaLinux:master Oct 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants