Skip to content

Allow context values to be special strings #289

@LecrisUT

Description

@LecrisUT

The context of this is for tmt, but the capability should be enabled in fmf broadly.

The idea is that some context values we would want to override the comparator, e.g. for distro we should be more explicit what it means and why distro < fedora-rawhide. For these we can then use https://github.com/rpm-software-management/fedora-distro-aliases to support aliases like fedora-development.

On the fmf side what can be done is to expose a registry which will use a specific class constructor for the context dict instead of keeping it as a str.

Metadata

Metadata

Assignees

Labels

Projects

Status

review

Status

triaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions