#1624 module: bad constraint branch = stream
Closed: Invalid 2 years ago by mikem. Opened 3 years ago by mohanboddu.

initially filed at - https://pagure.io/fedora-infrastructure/issue/8687

$ fedpkg module-build --watch 
Submitting the module build...
Could not execute module_build: The build failed with:
The stream "7.2" that is stored in the modulemd does not match the branch "epel-8-php-7.2"

I think its matching the branch name to the stream, which I am not sure is really required or not.

If its a required check, could you please let us know why its required?

Thanks.

Ping @mikem


Fedora guidelines https://docs.fedoraproject.org/en-US/modularity/making-modules/packaging-guidelines/ mandates that stream name is taken from the branch name, thus conflicting stream value is an error. Whether that applies to EPEL, and whether the guidelines have ever been approved and enforced I have no idea.

This check is controlled by an MBS setting.

    if stream_override and stream_override != scm_stream:
        if not conf.allow_stream_override_from_scm:
            raise ValidationError(
                'The stream "{0}" that is stored in the modulemd does not match the stream '
                'determined by the branch "{1}"'
                .format(stream_override, scm_stream)
            )

Fedora is free to adjust this setting as they like.

Metadata Update from @mikem:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata