bazel-skylib icon indicating copy to clipboard operation
bazel-skylib copied to clipboard

Add helper functions for module extensions as `modules`

Open fmeum opened this issue 2 years ago • 6 comments

Adds a new module modules with two helper functions for module extensions:

  • use_all_repos makes it easy to return an appropriate extension_metadata from a module extension (if supported) to indicate that all repositories generated by the extension should be imported via use_repo.
  • as_extension turns a WORKSPACE macro into a module extension that uses use_all_repos to automate the generation of use_repo calls.

fmeum avatar Aug 29 '23 09:08 fmeum

@Wyverald Could you review this from the Bzlmod dev perspective? @tetromino Could you review this from the Bzlmod user perspective?

I can also add full e2e tests if desired.

fmeum avatar Aug 29 '23 09:08 fmeum

@Wyverald Friendly ping

fmeum avatar Dec 13 '23 14:12 fmeum

CI is failing due to the missing Python toolchain registration.

fmeum avatar Dec 13 '23 18:12 fmeum

@Wyverald Tests are passing now.

fmeum avatar Dec 21 '23 08:12 fmeum

@Wyverald Friendly ping

fmeum avatar Jan 10 '24 09:01 fmeum

After the release of 7.1.0, I will add reproducible.

fmeum avatar Feb 15 '24 20:02 fmeum