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

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

Issue 1927403003: Avoid computing patch_root in get_files_affected_by_patch. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 7 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_REPO[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 "env": { 11 "env": {
12 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 12 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
13 }, 13 },
14 "name": "gclient setup" 14 "name": "gclient setup"
15 }, 15 },
16 { 16 {
17 "cmd": [ 17 "cmd": [
18 "python", 18 "python",
19 "-u", 19 "-u",
20 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 20 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
21 "sync", 21 "sync",
22 "--verbose", 22 "--verbose",
23 "--with_branch_heads", 23 "--with_branch_heads",
24 "--nohooks", 24 "--nohooks",
25 "-j8", 25 "-j2",
26 "--reset", 26 "--reset",
27 "--force", 27 "--force",
28 "--upstream", 28 "--upstream",
29 "--no-nag-max", 29 "--no-nag-max",
30 "--delete_unversioned_trees", 30 "--delete_unversioned_trees",
31 "--revision", 31 "--revision",
32 "src@HEAD", 32 "src@HEAD",
33 "--output-json", 33 "--output-json",
34 "/path/to/tmp/json" 34 "/path/to/tmp/json"
35 ], 35 ],
36 "env": { 36 "env": {
37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[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_REPO[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 "env": { 62 "env": {
63 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 63 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
64 }, 64 },
65 "name": "gclient recurse (git config user.name)" 65 "name": "gclient recurse (git config user.name)"
66 }, 66 },
67 { 67 {
68 "cmd": [ 68 "cmd": [
69 "python", 69 "python",
70 "-u", 70 "-u",
71 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 71 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
72 "recurse", 72 "recurse",
73 "git", 73 "git",
74 "config", 74 "config",
75 "user.email", 75 "user.email",
76 "local_bot@example.com" 76 "local_bot@example.com"
77 ], 77 ],
78 "env": { 78 "env": {
79 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 79 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
80 }, 80 },
81 "name": "gclient recurse (git config user.email)" 81 "name": "gclient recurse (git config user.email)"
82 }, 82 },
83 { 83 {
84 "cmd": [ 84 "cmd": [
85 "RECIPE_PACKAGE_REPO[depot_tools]\\bootstrap\\win\\win_tools.bat"
86 ],
87 "cwd": "RECIPE_PACKAGE_REPO[depot_tools]",
88 "name": "ensure git tooling on windows"
89 },
90 {
91 "cmd": [
92 "RECIPE_PACKAGE_REPO[depot_tools]\\git.bat",
93 "diff",
94 "--cached",
95 "--name-only"
96 ],
97 "cwd": "[ROOT]\\src",
98 "name": "git diff to analyze patch",
99 "stdout": "/path/to/tmp/",
100 "~followup_annotations": [
101 "@@@STEP_LOG_LINE@files@src/foo.cc@@@",
102 "@@@STEP_LOG_END@files@@@"
103 ]
104 },
105 {
106 "cmd": [
85 "python", 107 "python",
86 "-u", 108 "-u",
87 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 109 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
88 "config", 110 "config",
89 "--spec", 111 "--spec",
90 "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'}]" 112 "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'}]"
91 ], 113 ],
92 "cwd": "[SLAVE_BUILD]/src/third_party", 114 "cwd": "[SLAVE_BUILD]\\src\\third_party",
93 "env": { 115 "env": {
94 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 116 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
95 }, 117 },
96 "name": "[spec: WebKit] gclient setup" 118 "name": "[spec: WebKit] gclient setup"
97 }, 119 },
98 { 120 {
99 "cmd": [ 121 "cmd": [
100 "python", 122 "python",
101 "-u", 123 "-u",
102 "[BUILD]/scripts/slave/gclient_safe_revert.py", 124 "[BUILD]\\scripts\\slave\\gclient_safe_revert.py",
103 ".", 125 ".",
104 "[DEPOT_TOOLS]/gclient" 126 "[DEPOT_TOOLS]\\gclient.bat"
105 ], 127 ],
106 "cwd": "[SLAVE_BUILD]/src/third_party", 128 "cwd": "[SLAVE_BUILD]\\src\\third_party",
107 "name": "[spec: WebKit] gclient revert" 129 "name": "[spec: WebKit] gclient revert"
108 }, 130 },
109 { 131 {
110 "cmd": [ 132 "cmd": [
111 "python", 133 "python",
112 "-u", 134 "-u",
113 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 135 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
114 "sync", 136 "sync",
115 "--nohooks", 137 "--nohooks",
116 "--force", 138 "--force",
117 "--verbose", 139 "--verbose",
118 "--delete_unversioned_trees", 140 "--delete_unversioned_trees",
119 "--with_branch_heads", 141 "--with_branch_heads",
120 "--revision", 142 "--revision",
121 "third_party/WebKit@123", 143 "third_party/WebKit@123",
122 "--output-json", 144 "--output-json",
123 "/path/to/tmp/json" 145 "/path/to/tmp/json"
124 ], 146 ],
125 "cwd": "[SLAVE_BUILD]/src/third_party", 147 "cwd": "[SLAVE_BUILD]\\src\\third_party",
126 "env": { 148 "env": {
127 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 149 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
128 }, 150 },
129 "name": "[spec: WebKit] gclient sync", 151 "name": "[spec: WebKit] gclient sync",
130 "~followup_annotations": [ 152 "~followup_annotations": [
131 "@@@STEP_LOG_LINE@json.output@{@@@", 153 "@@@STEP_LOG_LINE@json.output@{@@@",
132 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 154 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
133 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@", 155 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@",
134 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@", 156 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@",
135 "@@@STEP_LOG_LINE@json.output@ }, @@@", 157 "@@@STEP_LOG_LINE@json.output@ }, @@@",
136 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@", 158 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@",
137 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@", 159 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@",
(...skipping 24 matching lines...) Expand all
162 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@", 184 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
163 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@", 185 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@",
164 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", 186 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
165 "@@@STEP_LOG_END@python.inline@@@" 187 "@@@STEP_LOG_END@python.inline@@@"
166 ] 188 ]
167 }, 189 },
168 { 190 {
169 "cmd": [ 191 "cmd": [
170 "python", 192 "python",
171 "-u", 193 "-u",
172 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 194 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
173 "runhooks" 195 "runhooks"
174 ], 196 ],
175 "env": { 197 "env": {
176 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 198 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
177 }, 199 },
178 "name": "gclient runhooks" 200 "name": "gclient runhooks"
179 }, 201 },
180 { 202 {
181 "name": "$result", 203 "name": "$result",
182 "recipe_result": null, 204 "recipe_result": null,
183 "status_code": 0 205 "status_code": 0
184 } 206 }
185 ] 207 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698