Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(513)

Side by Side Diff: recipe_modules/gclient/example.expected/revision.json

Issue 1785443002: depot_tools: adjust for resource API changes in recipe engine (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_PACKAGE[depot_tools]/gclient.py", 6 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
7 "config", 7 "config",
8 "--spec", 8 "--spec",
9 "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', ' managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromiu m/src.git'}]" 9 "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', ' managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromiu m/src.git'}]"
10 ], 10 ],
11 "cwd": "[SLAVE_BUILD]", 11 "cwd": "[SLAVE_BUILD]",
12 "env": { 12 "env": {
13 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 13 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
14 }, 14 },
15 "name": "gclient setup" 15 "name": "gclient setup"
16 }, 16 },
17 { 17 {
18 "cmd": [ 18 "cmd": [
19 "python", 19 "python",
20 "-u", 20 "-u",
21 "RECIPE_PACKAGE[depot_tools]/gclient.py", 21 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
22 "sync", 22 "sync",
23 "--verbose", 23 "--verbose",
24 "--with_branch_heads", 24 "--with_branch_heads",
25 "--nohooks", 25 "--nohooks",
26 "-j8", 26 "-j8",
27 "--reset", 27 "--reset",
28 "--force", 28 "--force",
29 "--upstream", 29 "--upstream",
30 "--no-nag-max", 30 "--no-nag-max",
31 "--delete_unversioned_trees", 31 "--delete_unversioned_trees",
32 "--revision", 32 "--revision",
33 "src@abc", 33 "src@abc",
34 "--output-json", 34 "--output-json",
35 "/path/to/tmp/json" 35 "/path/to/tmp/json"
36 ], 36 ],
37 "cwd": "[SLAVE_BUILD]", 37 "cwd": "[SLAVE_BUILD]",
38 "env": { 38 "env": {
39 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 39 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
40 }, 40 },
41 "name": "gclient sync", 41 "name": "gclient sync",
42 "~followup_annotations": [ 42 "~followup_annotations": [
43 "@@@STEP_LOG_LINE@json.output@{@@@", 43 "@@@STEP_LOG_LINE@json.output@{@@@",
44 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 44 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
45 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 45 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
46 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@", 46 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@",
47 "@@@STEP_LOG_LINE@json.output@ }@@@", 47 "@@@STEP_LOG_LINE@json.output@ }@@@",
48 "@@@STEP_LOG_LINE@json.output@ }@@@", 48 "@@@STEP_LOG_LINE@json.output@ }@@@",
49 "@@@STEP_LOG_LINE@json.output@}@@@", 49 "@@@STEP_LOG_LINE@json.output@}@@@",
50 "@@@STEP_LOG_END@json.output@@@" 50 "@@@STEP_LOG_END@json.output@@@"
51 ] 51 ]
52 }, 52 },
53 { 53 {
54 "cmd": [ 54 "cmd": [
55 "python", 55 "python",
56 "-u", 56 "-u",
57 "RECIPE_PACKAGE[depot_tools]/gclient.py", 57 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
58 "recurse", 58 "recurse",
59 "git", 59 "git",
60 "config", 60 "config",
61 "user.name", 61 "user.name",
62 "local_bot" 62 "local_bot"
63 ], 63 ],
64 "cwd": "[SLAVE_BUILD]", 64 "cwd": "[SLAVE_BUILD]",
65 "env": { 65 "env": {
66 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 66 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
67 }, 67 },
68 "name": "gclient recurse (git config user.name)" 68 "name": "gclient recurse (git config user.name)"
69 }, 69 },
70 { 70 {
71 "cmd": [ 71 "cmd": [
72 "python", 72 "python",
73 "-u", 73 "-u",
74 "RECIPE_PACKAGE[depot_tools]/gclient.py", 74 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
75 "recurse", 75 "recurse",
76 "git", 76 "git",
77 "config", 77 "config",
78 "user.email", 78 "user.email",
79 "local_bot@example.com" 79 "local_bot@example.com"
80 ], 80 ],
81 "cwd": "[SLAVE_BUILD]", 81 "cwd": "[SLAVE_BUILD]",
82 "env": { 82 "env": {
83 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 83 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
84 }, 84 },
85 "name": "gclient recurse (git config user.email)" 85 "name": "gclient recurse (git config user.email)"
86 }, 86 },
87 { 87 {
88 "cmd": [ 88 "cmd": [
89 "python", 89 "python",
90 "-u", 90 "-u",
91 "RECIPE_PACKAGE[depot_tools]/gclient.py", 91 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
92 "config", 92 "config",
93 "--spec", 93 "--spec",
94 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'name': 'WebKit', 'safesync_url': 'https://blink-status.appspot.com/lkgr', 'url': 'svn://svn.chromium.org/blink/trunk'}]" 94 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'name': 'WebKit', 'safesync_url': 'https://blink-status.appspot.com/lkgr', 'url': 'svn://svn.chromium.org/blink/trunk'}]"
95 ], 95 ],
96 "cwd": "[SLAVE_BUILD]/src/third_party", 96 "cwd": "[SLAVE_BUILD]/src/third_party",
97 "env": { 97 "env": {
98 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 98 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
99 }, 99 },
100 "name": "[spec: WebKit] gclient setup" 100 "name": "[spec: WebKit] gclient setup"
101 }, 101 },
102 { 102 {
103 "cmd": [ 103 "cmd": [
104 "python", 104 "python",
105 "-u", 105 "-u",
106 "RECIPE_PACKAGE[depot_tools]/gclient.py", 106 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
107 "sync", 107 "sync",
108 "--nohooks", 108 "--nohooks",
109 "--force", 109 "--force",
110 "--verbose", 110 "--verbose",
111 "--delete_unversioned_trees", 111 "--delete_unversioned_trees",
112 "--with_branch_heads", 112 "--with_branch_heads",
113 "--revision", 113 "--revision",
114 "third_party/WebKit@123", 114 "third_party/WebKit@123",
115 "--output-json", 115 "--output-json",
116 "/path/to/tmp/json" 116 "/path/to/tmp/json"
117 ], 117 ],
118 "cwd": "[SLAVE_BUILD]/src/third_party", 118 "cwd": "[SLAVE_BUILD]/src/third_party",
119 "env": { 119 "env": {
120 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 120 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
121 }, 121 },
122 "name": "[spec: WebKit] gclient sync", 122 "name": "[spec: WebKit] gclient sync",
123 "~followup_annotations": [ 123 "~followup_annotations": [
124 "@@@STEP_LOG_LINE@json.output@{@@@", 124 "@@@STEP_LOG_LINE@json.output@{@@@",
125 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 125 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
126 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@", 126 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@",
127 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@", 127 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@",
128 "@@@STEP_LOG_LINE@json.output@ }, @@@", 128 "@@@STEP_LOG_LINE@json.output@ }, @@@",
129 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@", 129 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@",
130 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@", 130 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@",
(...skipping 25 matching lines...) Expand all
156 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@", 156 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
157 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@", 157 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@",
158 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", 158 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
159 "@@@STEP_LOG_END@python.inline@@@" 159 "@@@STEP_LOG_END@python.inline@@@"
160 ] 160 ]
161 }, 161 },
162 { 162 {
163 "cmd": [ 163 "cmd": [
164 "python", 164 "python",
165 "-u", 165 "-u",
166 "RECIPE_PACKAGE[depot_tools]/gclient.py", 166 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
167 "runhooks" 167 "runhooks"
168 ], 168 ],
169 "cwd": "[SLAVE_BUILD]", 169 "cwd": "[SLAVE_BUILD]",
170 "env": { 170 "env": {
171 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 171 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
172 }, 172 },
173 "name": "gclient runhooks" 173 "name": "gclient runhooks"
174 }, 174 },
175 { 175 {
176 "name": "$result", 176 "name": "$result",
177 "recipe_result": null, 177 "recipe_result": null,
178 "status_code": 0 178 "status_code": 0
179 } 179 }
180 ] 180 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698