Skip to content

Conversation

@aszady
Copy link
Contributor

@aszady aszady commented Jan 23, 2026

[ A small extract from a larger change #153 ]


Variable generation is separated into two parts:

  • extracting Resources provided by the package – data most useful for the Loader;
  • creating SAT variable related to that resource – data most useful for the Resolve (Model).

This modularization of code should facilitates future code changes.

The VarTypeResource vs. VarTypeFile distinction was not used, therefore these were merged for further simplification.

@aszady aszady marked this pull request as ready for review January 23, 2026 16:33
Variable generation is separated into two parts:
- extracting `Resource`s provided by the package – data most useful for the `Loader`;
- creating SAT variable related to that resource – data most useful for the `Resolve` (`Model`).

This modularization of code should facilitates future code changes.

The `VarTypeResource` vs. `VarTypeFile` distinction was not used,
therefore these were merged for further simplification.
@aszady aszady force-pushed the collapse.ProvidedResource branch from ed06bc6 to dbadbb6 Compare January 24, 2026 12:38
@github-actions
Copy link

⚠️ Optional job e2e-bzlmod-toolchain-circular-dependencies failed ⚠️

  • exit status: 1

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