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

Adding a helper script for Bzlmod migration. #74

Merged
merged 4 commits into from
Mar 15, 2022

Commits on Mar 9, 2022

  1. Adding a helper script for Bzlmod migration.

    The script does the following things:
      - 1. Run the build without Bzlmod enabled to generate resolved external
        dependencies with --experimental_repository_resolved_file
      - 2. Run the build with Bzlmod enabled and identify recongnized error message
      - 3. Use the resolved external deps info to give migration suggestions.
      - 4. Repeat 2 and 3 until all external deps are available via Bzlmod (or WORKSPACE.bzlmod).
    
    To start the migration, clone the Bazel central registry repo and run the following command from your project root:
    ```
    <path to a local BCR repo>/tools/migrate_to_bzlmod.py <build flags> <build targets>
    ```
    meteorcloudy committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    fd410c1 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

  1. More fixes

    meteorcloudy committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    21a4e80 View commit details
    Browse the repository at this point in the history
  2. Rename function

    meteorcloudy committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    70b351d View commit details
    Browse the repository at this point in the history
  3. Address comments

    meteorcloudy committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    ede4207 View commit details
    Browse the repository at this point in the history