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

[7.4.0] external dependency doc updates #23741

Merged
merged 6 commits into from
Sep 25, 2024
Merged

Commits on Sep 24, 2024

  1. More external dependency doc updates

    - Most references to WORKSPACE are changed to MODULE.bazel & friends
    - Added information about the order in which Bazel looks for toolchains in MODULE.bazel + WORKSPACE
    - More consistent terminology (eg. 'workspace' -> 'repo' when appropriate)
    - More info about how `mirrors` in `bazel_registry.json` works
    
    PiperOrigin-RevId: 595179646
    Change-Id: I37aff58a2723aa830efeafb589fcf770e07b3711
    Wyverald committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    fecd7d1 View commit details
    Browse the repository at this point in the history
  2. update lockfile

    Wyverald committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    fc49b0e View commit details
    Browse the repository at this point in the history
  3. Doc nit: remove local=True from http_archive example

    `http_archive` is not local - it does not re-download external repos on bazel server restart. Having `local=True` in the example is somewhat confusing.
    
    Looks it was leftover after some older change:
    13ecdf5#diff-1f760cde585b814b5608e64ade35cfa8f6fc0b1082316adc2f1bac412169a10eL41
    
    Closes #22084.
    
    PiperOrigin-RevId: 627954043
    Change-Id: Ie25f5f0141401e194be99c9d02ec81c0ab619484
    hauserx authored and Wyverald committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    c3ae417 View commit details
    Browse the repository at this point in the history
  4. Fix syntax error in example snippet

    Fixes:
    ```
    syntax error at '"sha256"': expected }
    ```
    
    Closes #23027.
    
    PiperOrigin-RevId: 653606521
    Change-Id: If52071612ab09bf5c0d77fbde228f9e664569d75
    jmelahman authored and Wyverald committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    4924889 View commit details
    Browse the repository at this point in the history
  5. Update repo rule docs to mention watch and remove restarts

    The remarks about files being watched only if they're labels are no longer accurate.
    
    Repo rule restarts are gone by default (`--experimental_worker_for_repo_fetching` defaults to `auto`), so the section doesn't really apply anymore.
    
    Fixes #22494
    
    PiperOrigin-RevId: 668317824
    Change-Id: Iba380b944cce2b5c8e7bd07606b89035ab401e72
    Wyverald committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    c808b44 View commit details
    Browse the repository at this point in the history
  6. Fix docs for bazel fetch --configure

    cherry-pick of commit c04a561
    Wyverald committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    d468875 View commit details
    Browse the repository at this point in the history