Skip to content

Commit

Permalink
remote: deprecated --remote_local_fallback_strategy
Browse files Browse the repository at this point in the history
    The flag is no-op because the flag --strategy can now accept a list of strategies, therefore a fallback specific for particular strategy is not possible. See bazelbuild/bazel#7480 for details.

    RELNOTES: deprecated --remote_local_fallback_strategy. Use `--strategy=remote,local` instead. See bazelbuild/bazel#7480.

    Closes #8307.

    PiperOrigin-RevId: 248804091
  • Loading branch information
Luca Di Grazia committed Sep 4, 2022
1 parent 41f80ec commit 913ca70
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,12 @@
import com.google.common.base.Strings;
import com.google.devtools.build.lib.util.OptionsUtils;
import com.google.devtools.build.lib.vfs.PathFragment;
import com.google.devtools.common.options.Converters;
import com.google.devtools.common.options.EnumConverter;
import com.google.devtools.common.options.Option;
import com.google.devtools.common.options.OptionDocumentationCategory;
import com.google.devtools.common.options.OptionEffectTag;
import com.google.devtools.common.options.OptionMetadataTag;
import com.google.devtools.common.options.OptionsBase;
import java.util.List;
import java.util.Map.Entry;

/** Options for remote execution and distributed caching. */
public final class RemoteOptions extends OptionsBase {
Expand Down Expand Up @@ -72,20 +69,6 @@ public final class RemoteOptions extends OptionsBase {
+ "See https://docs.bazel.build/versions/master/remote-caching.html")
public String remoteCache;

@Option(
name = "remote_header",
converter = Converters.AssignmentConverter.class,
defaultValue = "",
documentationCategory = OptionDocumentationCategory.REMOTE,
effectTags = {OptionEffectTag.UNKNOWN},
help =
"Specify a HTTP header that will be included in requests: --remote_header=Name=Value. "
+ "Multiple headers can be passed by specifying the flag multiple times. Multiple "
+ "values for the same name will be converted to a comma-separated list. This flag"
+ "is currently only implemented for the HTTP protocol.",
allowMultiple = true)
public List<Entry<String, String>> remoteHeaders;

@Option(
name = "remote_timeout",
defaultValue = "60",
Expand Down

0 comments on commit 913ca70

Please sign in to comment.