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

Side by Side Diff: recipe_modules/gclient/example.expected/basic.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 "--output-json", 32 "--output-json",
33 "/path/to/tmp/json" 33 "/path/to/tmp/json"
34 ], 34 ],
35 "cwd": "[SLAVE_BUILD]", 35 "cwd": "[SLAVE_BUILD]",
36 "env": { 36 "env": {
37 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
38 }, 38 },
39 "name": "gclient sync", 39 "name": "gclient sync",
40 "~followup_annotations": [ 40 "~followup_annotations": [
41 "@@@STEP_LOG_LINE@json.output@{@@@", 41 "@@@STEP_LOG_LINE@json.output@{@@@",
42 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 42 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
43 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 43 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
44 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@", 44 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@",
45 "@@@STEP_LOG_LINE@json.output@ }@@@", 45 "@@@STEP_LOG_LINE@json.output@ }@@@",
46 "@@@STEP_LOG_LINE@json.output@ }@@@", 46 "@@@STEP_LOG_LINE@json.output@ }@@@",
47 "@@@STEP_LOG_LINE@json.output@}@@@", 47 "@@@STEP_LOG_LINE@json.output@}@@@",
48 "@@@STEP_LOG_END@json.output@@@" 48 "@@@STEP_LOG_END@json.output@@@"
49 ] 49 ]
50 }, 50 },
51 { 51 {
52 "cmd": [ 52 "cmd": [
53 "python", 53 "python",
54 "-u", 54 "-u",
55 "RECIPE_PACKAGE[depot_tools]/gclient.py", 55 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
56 "recurse", 56 "recurse",
57 "git", 57 "git",
58 "config", 58 "config",
59 "user.name", 59 "user.name",
60 "local_bot" 60 "local_bot"
61 ], 61 ],
62 "cwd": "[SLAVE_BUILD]", 62 "cwd": "[SLAVE_BUILD]",
63 "env": { 63 "env": {
64 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 64 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
65 }, 65 },
66 "name": "gclient recurse (git config user.name)" 66 "name": "gclient recurse (git config user.name)"
67 }, 67 },
68 { 68 {
69 "cmd": [ 69 "cmd": [
70 "python", 70 "python",
71 "-u", 71 "-u",
72 "RECIPE_PACKAGE[depot_tools]/gclient.py", 72 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
73 "recurse", 73 "recurse",
74 "git", 74 "git",
75 "config", 75 "config",
76 "user.email", 76 "user.email",
77 "local_bot@example.com" 77 "local_bot@example.com"
78 ], 78 ],
79 "cwd": "[SLAVE_BUILD]", 79 "cwd": "[SLAVE_BUILD]",
80 "env": { 80 "env": {
81 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 81 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
82 }, 82 },
83 "name": "gclient recurse (git config user.email)" 83 "name": "gclient recurse (git config user.email)"
84 }, 84 },
85 { 85 {
86 "cmd": [ 86 "cmd": [
87 "python", 87 "python",
88 "-u", 88 "-u",
89 "RECIPE_PACKAGE[depot_tools]/gclient.py", 89 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
90 "config", 90 "config",
91 "--spec", 91 "--spec",
92 "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'}]" 92 "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'}]"
93 ], 93 ],
94 "cwd": "[SLAVE_BUILD]/src/third_party", 94 "cwd": "[SLAVE_BUILD]/src/third_party",
95 "env": { 95 "env": {
96 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 96 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
97 }, 97 },
98 "name": "[spec: WebKit] gclient setup" 98 "name": "[spec: WebKit] gclient setup"
99 }, 99 },
100 { 100 {
101 "cmd": [ 101 "cmd": [
102 "python", 102 "python",
103 "-u", 103 "-u",
104 "RECIPE_PACKAGE[depot_tools]/gclient.py", 104 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
105 "sync", 105 "sync",
106 "--nohooks", 106 "--nohooks",
107 "--force", 107 "--force",
108 "--verbose", 108 "--verbose",
109 "--delete_unversioned_trees", 109 "--delete_unversioned_trees",
110 "--with_branch_heads", 110 "--with_branch_heads",
111 "--revision", 111 "--revision",
112 "third_party/WebKit@123", 112 "third_party/WebKit@123",
113 "--output-json", 113 "--output-json",
114 "/path/to/tmp/json" 114 "/path/to/tmp/json"
115 ], 115 ],
116 "cwd": "[SLAVE_BUILD]/src/third_party", 116 "cwd": "[SLAVE_BUILD]/src/third_party",
117 "env": { 117 "env": {
118 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 118 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
119 }, 119 },
120 "name": "[spec: WebKit] gclient sync", 120 "name": "[spec: WebKit] gclient sync",
121 "~followup_annotations": [ 121 "~followup_annotations": [
122 "@@@STEP_LOG_LINE@json.output@{@@@", 122 "@@@STEP_LOG_LINE@json.output@{@@@",
123 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 123 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
124 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@", 124 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@",
125 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@", 125 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@",
126 "@@@STEP_LOG_LINE@json.output@ }, @@@", 126 "@@@STEP_LOG_LINE@json.output@ }, @@@",
127 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@", 127 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@",
128 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@", 128 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@",
(...skipping 25 matching lines...) Expand all
154 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@", 154 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
155 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@", 155 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@",
156 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", 156 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
157 "@@@STEP_LOG_END@python.inline@@@" 157 "@@@STEP_LOG_END@python.inline@@@"
158 ] 158 ]
159 }, 159 },
160 { 160 {
161 "cmd": [ 161 "cmd": [
162 "python", 162 "python",
163 "-u", 163 "-u",
164 "RECIPE_PACKAGE[depot_tools]/gclient.py", 164 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
165 "runhooks" 165 "runhooks"
166 ], 166 ],
167 "cwd": "[SLAVE_BUILD]", 167 "cwd": "[SLAVE_BUILD]",
168 "env": { 168 "env": {
169 "PATH": "%(PATH)s:RECIPE_PACKAGE[depot_tools]" 169 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
170 }, 170 },
171 "name": "gclient runhooks" 171 "name": "gclient runhooks"
172 }, 172 },
173 { 173 {
174 "name": "$result", 174 "name": "$result",
175 "recipe_result": null, 175 "recipe_result": null,
176 "status_code": 0 176 "status_code": 0
177 } 177 }
178 ] 178 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698