Skip to content

Commit d097b5d

Browse files
coeuvrecopybara-github
authored andcommitted
Add flag --remote_download_all in spirit of --remote_download_[toplevel|minimal].
A following CL changes the default value of `--remote_download_outputs` to `toplevel`. This CL adds a convinent flag to allow users download all outputs. PiperOrigin-RevId: 543386266 Change-Id: If53c50a6371e3437fe661c255452442df3cdc97f
1 parent 0efaf54 commit d097b5d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/main/java/com/google/devtools/build/lib/remote/options/RemoteOptions.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,18 @@ public RemoteOutputsStrategyConverter() {
486486
+ " alias for flag --remote_download_outputs=toplevel.")
487487
public Void remoteOutputsToplevel;
488488

489+
@Option(
490+
name = "remote_download_all",
491+
defaultValue = "null",
492+
expansion = {"--remote_download_outputs=all"},
493+
category = "remote",
494+
documentationCategory = OptionDocumentationCategory.OUTPUT_PARAMETERS,
495+
effectTags = {OptionEffectTag.AFFECTS_OUTPUTS},
496+
help =
497+
"Downloads all remote outputs to the local machine. This flag is an alias for flag"
498+
+ " --remote_download_outputs=all.")
499+
public Void remoteOutputsAll;
500+
489501
@Option(
490502
name = "remote_result_cache_priority",
491503
defaultValue = "0",

0 commit comments

Comments
 (0)