Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Narrow type of hardware constraint variants #2290

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

happz
Copy link
Collaborator

@happz happz commented Aug 24, 2023

It was implemented as a list of BaseConstraint classes, but as no copound constraint can be member of the list, we can narrow the type and allow pure Constraint lists.

@happz happz added area | hardware Implementation of hardware requirements code | style Code style changes not affecting functionality labels Aug 24, 2023
@happz happz added this to the 1.28 milestone Aug 24, 2023
@happz happz force-pushed the hardware-variants-are-constraints branch from 41d403f to d120658 Compare September 14, 2023 18:23
@happz
Copy link
Collaborator Author

happz commented Sep 15, 2023

/packit retest-failed

Copy link
Collaborator

@thrix thrix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@psss psss force-pushed the hardware-variants-are-constraints branch 3 times, most recently from bdc7859 to 7bb07ac Compare September 20, 2023 08:48
@psss psss self-assigned this Sep 20, 2023
It was implemented as a list of `BaseConstraint` classes, but as no
compound constraint can be member of the list, we can narrow the type
and allow pure `Constraint` lists.
@psss psss force-pushed the hardware-variants-are-constraints branch from 7bb07ac to c0649ee Compare September 20, 2023 14:39
@psss psss merged commit c0649ee into main Sep 20, 2023
15 of 16 checks passed
@psss psss deleted the hardware-variants-are-constraints branch September 20, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area | hardware Implementation of hardware requirements code | style Code style changes not affecting functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants