Skip to content

Conversation

@hiker
Copy link
Collaborator

@hiker hiker commented Oct 10, 2025

This is getting reasonable stable, but it's currently blocked by #502 (which I need for kernel extraction in gungho). I will also verify that this works as expected with the UMm

@hiker hiker marked this pull request as draft October 10, 2025 13:06
@hiker hiker self-assigned this Oct 10, 2025
@hiker hiker added enhancement New feature or request Blocked Blocked by another issue labels Oct 10, 2025
@hiker hiker removed the Blocked Blocked by another issue label Oct 27, 2025
if isinstance(new_flags, str):
self.append(new_flags)

class AlwaysFlags(AbstractFlags):
@hiker hiker marked this pull request as ready for review January 28, 2026 05:18
@hiker hiker added this to the v2.0.2 - UM support milestone Jan 28, 2026
@hiker
Copy link
Collaborator Author

hiker commented Jan 28, 2026

This PR adds a set of classes to manage Flags. It allows one FlagList to be used everywhere, which can be a mixture of generic flags (that always apply) and path-specific flags.

I have NOT changed the API of Fab itself, most steps take two flag lists (common flags and path flags). If we agree to change the API all these two arguments can be replaced with a single FlagList.

Internally, the path flags are converted to the new MatchFlags, and all handling internally is with FlagList.

@yaswant , @MatthewHambley , @Pierre-siddall, @t00sa , @cameronbateman-mo
Ready for a first review.

I did see the automatic comment that I am not calling the super class - the super class is an abstract class that has no implementation of init, and if I add , I get flake8 errors (this is already commented and closed, but it just got raised again). Let me know what I should do there :)

@hiker hiker added the Ready for review Indicating that a PR is ready to be reviewed. label Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Ready for review Indicating that a PR is ready to be reviewed.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants