Skip to content

Refactor candidate classes - #757

Open
petersistrom wants to merge 3 commits into
MOODLE_404_STABLE-bits-and-bobsfrom
refactor-candidate-classes
Open

Refactor candidate classes#757
petersistrom wants to merge 3 commits into
MOODLE_404_STABLE-bits-and-bobsfrom
refactor-candidate-classes

Conversation

@petersistrom

Copy link
Copy Markdown
Contributor

All existing separate candidate classes (pusher_candidates, puller_candidates, deleter_candidates, etc.) are replaced with a single universal candidate class that accepts two bitmasks:

  • "has" mask — bits the file MUST have (location & has_mask = has_mask)
  • "not" mask — bits the file must NOT have (location & not_mask = 0)

Every operation — push, pull, delete, propagate — can be expressed with these two masks.

@petersistrom
petersistrom force-pushed the refactor-candidate-classes branch from 1e5d59f to 453c75a Compare July 22, 2026 02:31
@petersistrom
petersistrom force-pushed the refactor-candidate-classes branch from 453c75a to eddde9c Compare July 28, 2026 23:49
@petersistrom
petersistrom force-pushed the refactor-candidate-classes branch from eddde9c to fc09afe Compare July 30, 2026 01:44
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.

1 participant