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

[6.1.0]Do not recommend shallow_since for git_repository #17465

Merged
merged 5 commits into from
Feb 16, 2023
Merged

[6.1.0]Do not recommend shallow_since for git_repository #17465

merged 5 commits into from
Feb 16, 2023

Commits on Feb 10, 2023

  1. Do not recommend shallow_since for git_repository

    Git's `--shallow-since` feature can lead to broken checkouts and a fix isn't likely to happen:
    https://public-inbox.org/git/CAPSG9dZV2EPpVKkOMcjv5z+NF7rUu=V-ZkZNx47rCv122HsiKg@mail.gmail.com/T/#u
    
    This commit removes `shallow_since` from the canonical reproducible form of `git_repository` unless the attribute is provided explicitly. In cases where Bazel's attempt at fetching with `--depth=1` fail, e.g. if there is no server support for shallow fetches of arbitrary commits, the progress message is now used to inform the user about this potential for fetch time optimizations.
    
    Fixes #10292
    Fixes #12857
    
    Closes #17356.
    
    PiperOrigin-RevId: 508569071
    Change-Id: I01e6662e38c236d1800d427f66d48a05df818800
    fmeum authored and ShreeM01 committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    d90003e View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2023

  1. Configuration menu
    Copy the full SHA
    d00acb2 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2023

  1. Configuration menu
    Copy the full SHA
    70ec88d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ea911f View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2023

  1. Configuration menu
    Copy the full SHA
    31fb867 View commit details
    Browse the repository at this point in the history