Skip to content

refactor: split code into multiple files - #4044

Merged
rickeylev merged 4 commits into
bazel-contrib:mainfrom
aignas:aignas.refactor.split-to-separate-files
Aug 15, 2026
Merged

refactor: split code into multiple files#4044
rickeylev merged 4 commits into
bazel-contrib:mainfrom
aignas:aignas.refactor.split-to-separate-files

Conversation

@aignas

@aignas aignas commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

A followup to #4043 to split code into multiple files to make the interaction
and reuse more intentional and explicit.

Work towards #2948.

This move the compatibility shim to the macro for the `dep_template` and
since we may set it to an empty string in the future, we do not set it
to mandatory. This resulted in a few test fixes for the `pip_archive`.

This will hopefully make working with the code easier. The attribute
reuse is done in this way on purpose - the most basic repository rules
are being used as a basis for the definition of the attributes.
@aignas
aignas force-pushed the aignas.refactor.split-to-separate-files branch from 5a62e1b to 838d3b1 Compare August 15, 2026 00:45
@aignas
aignas marked this pull request as ready for review August 15, 2026 00:45
@aignas
aignas requested a review from rickeylev as a code owner August 15, 2026 00:45
@rickeylev

Copy link
Copy Markdown
Collaborator

Ah, it would appear i broke the build with some type errors in the release tools. I'll send a PR to fix that tonight/tomorrow

Fix bzl_library targets and dependencies following the whl_library refactoring, add pip_archive and whl_archive to stardocs, and update bzlmod_lockfile test lockfile.
@rickeylev
rickeylev enabled auto-merge August 15, 2026 19:39
@rickeylev
rickeylev added this pull request to the merge queue Aug 15, 2026
Merged via the queue into bazel-contrib:main with commit 6ba12ce Aug 15, 2026
5 checks passed
@aignas
aignas deleted the aignas.refactor.split-to-separate-files branch August 16, 2026 03:38
@aignas

aignas commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator Author

Thank you very much!

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.

2 participants