mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
Reland "depot_tools: Run recipe scripts using vpython."
Bug: 1002153 Recipe-Nontrivial-Roll: chromiumos Recipe-Nontrivial-Roll: build Recipe-Nontrivial-Roll: infra Recipe-Nontrivial-Roll: skia Recipe-Nontrivial-Roll: build_limited_scripts_slave Recipe-Nontrivial-Roll: release_scripts Change-Id: I21b3223c5fc8a24fdafcc0795db51322cfe65148 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1865252 Reviewed-by: Andrii Shyshkalov <tandrii@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
This commit is contained in:
@@ -18,7 +18,7 @@ class GitClApi(recipe_api.RecipeApi):
|
||||
with self.m.context(cwd=self.m.context.cwd or my_loc):
|
||||
return self.m.python(
|
||||
name, self.repo_resource('git_cl.py'), [subcmd] + args,
|
||||
**kwargs)
|
||||
venv=True, **kwargs)
|
||||
|
||||
def get_description(self, patch_url=None, codereview=None, **kwargs):
|
||||
"""DEPRECATED. Consider using gerrit.get_change_description instead."""
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"vpython",
|
||||
"-u",
|
||||
"RECIPE_REPO[depot_tools]/git_cl.py",
|
||||
"upload",
|
||||
@@ -12,7 +12,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"vpython",
|
||||
"-u",
|
||||
"RECIPE_REPO[depot_tools]/git_cl.py",
|
||||
"issue"
|
||||
@@ -21,7 +21,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"vpython",
|
||||
"-u",
|
||||
"RECIPE_REPO[depot_tools]/git_cl.py",
|
||||
"description",
|
||||
@@ -33,7 +33,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"vpython",
|
||||
"-u",
|
||||
"RECIPE_REPO[depot_tools]/git_cl.py",
|
||||
"description",
|
||||
@@ -54,7 +54,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"vpython",
|
||||
"-u",
|
||||
"RECIPE_REPO[depot_tools]/git_cl.py",
|
||||
"description",
|
||||
@@ -72,7 +72,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"vpython",
|
||||
"-u",
|
||||
"RECIPE_REPO[depot_tools]/git_cl.py",
|
||||
"description",
|
||||
@@ -85,7 +85,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"vpython",
|
||||
"-u",
|
||||
"RECIPE_REPO[depot_tools]/git_cl.py",
|
||||
"description",
|
||||
|
||||
Reference in New Issue
Block a user