From bcf85af334c04049bee9f1339609ebffb16095e1 Mon Sep 17 00:00:00 2001 From: Josip Sokcevic Date: Mon, 22 Apr 2024 20:54:54 +0000 Subject: [PATCH] [gclient] Add gcs to known ignore dep type Bug: b/336344786 Change-Id: I5f2078b4693000d4d28dd4ab9783dcd2324c5aaf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5472454 Auto-Submit: Josip Sokcevic Reviewed-by: Joanna Wang Commit-Queue: Joanna Wang --- gclient.py | 6 ++++-- recipes/trigger_recipe_roller.txt | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gclient.py b/gclient.py index c613f863f..34284043c 100755 --- a/gclient.py +++ b/gclient.py @@ -741,7 +741,7 @@ class Dependency(gclient_utils.WorkItem, DependencySettings): should_process = should_process and cached_conditions[condition] # The following option is only set by the 'revinfo' command. - if self._get_option('ignore_dep_type', None) == dep_type: + if dep_type in self._get_option('ignore_dep_type', []): continue if dep_type == 'cipd': @@ -3978,7 +3978,9 @@ def CMDrevinfo(parser, args): 'information about the revisions.') parser.add_option( '--ignore-dep-type', - choices=['git', 'cipd'], + choices=['git', 'cipd', 'gcs'], + action='append', + default=[], help='Specify to skip processing of a certain type of dep.') (options, args) = parser.parse_args(args) client = GClient.LoadCurrentConfig(options) diff --git a/recipes/trigger_recipe_roller.txt b/recipes/trigger_recipe_roller.txt index 0f521d1d2..12dfaaa60 100644 --- a/recipes/trigger_recipe_roller.txt +++ b/recipes/trigger_recipe_roller.txt @@ -10,3 +10,4 @@ a new friend, but this information was marked RVG, so it was months before any details were revealed. The End! +