Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support bzlmod #195

Closed
20 of 21 tasks
cgrindel opened this issue Jan 13, 2023 · 1 comment
Closed
20 of 21 tasks

Support bzlmod #195

cgrindel opened this issue Jan 13, 2023 · 1 comment
Assignees
Labels
chore Developer clean up or refactor

Comments

@cgrindel cgrindel added the chore Developer clean up or refactor label Jan 13, 2023
@cgrindel cgrindel self-assigned this Jan 13, 2023
cgrindel added a commit that referenced this issue Mar 8, 2023
- Clean house:
  - Remove all conditional dependency code.
- Remove the ability to build buildtools from source. Just use
`keith/buildifier-prebuilt`.
  - Remove unused `binary_pkg`.
- Add `MODULE.bazel` with all dependencies.
- Update all example workspaces to include a `MODULE.bazel`.
- Add `--noenable_bzlmod` to `shared.bazelrc` until
bazelbuild/bazel#14140 is fixed.

Related to #195.
cgrindel added a commit that referenced this issue Mar 8, 2023
- Upgrade runners to macos-12 and ubuntu-22.04.
- Add matrix jobs for running examples with and without bzlmod enabled.

Related to #195.
cgrindel added a commit that referenced this issue Mar 9, 2023
- Add `examples/bzlmod_e2e` child workspace as test for publish_to_bcr
presubmit.
- Add `.bcr` files for public_to_bcr.

Related to #195.
cgrindel added a commit that referenced this issue Mar 9, 2023
- Add `WORKSPACE.bzlmod` to all workspaces to ensure that the strict
bzlmod support was enabled.
- Disable all documentation generation and tests until
bazelbuild/bazel#14140 is fixed.
- Update CI to execute tidy and test with and without bzlmod.
- Fix warning in `sorted_genquery.bzl`.

Related to #195.
cgrindel added a commit that referenced this issue Mar 9, 2023
- Add the E2E test in the release archive.
- Set the `strip-prefix` to an empty string. We do not have a prefix to
be stripped in our release archive.
- Remove git stuff.

Related to #195.
cgrindel added a commit that referenced this issue Mar 10, 2023
cgrindel added a commit that referenced this issue Mar 10, 2023
The Bash runfiles have been updated to support repo mapping.
Related to #195.
cgrindel added a commit that referenced this issue Mar 10, 2023
cgrindel added a commit that referenced this issue Mar 10, 2023
cgrindel added a commit that referenced this issue Mar 11, 2023
- Remove debug code in `buildifier.sh`.

Related to #195.
cgrindel added a commit that referenced this issue Mar 14, 2023
#258)

- Add `//bzlmod:enabled` flag.
- Add `//bzlmod:is_enabled` config setting.
- Mark stardoc rule generation as being incompatible with bzlmod.
- Added Gazelle directives to ignore child workspaces.
- Enable bzlmod by default in `shared.bazelrc`.
- Uncommented the doc generation build files.

Related to #195.
@cgrindel
Copy link
Owner Author

Tracking remaining items in other issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Developer clean up or refactor
Projects
None yet
Development

No branches or pull requests

1 participant