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

Side by Side Diff: recipe_modules/git/example.expected/git-cache-checkout.json

Issue 2209383002: git: fix git cache support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 4 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « recipe_modules/git/api.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", 6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
7 "--path", 7 "--path",
8 "[SLAVE_BUILD]/src", 8 "[SLAVE_BUILD]/src",
9 "--url", 9 "--url",
10 "https://chromium.googlesource.com/chromium/src.git" 10 "https://chromium.googlesource.com/chromium/src.git"
11 ], 11 ],
12 "name": "git setup" 12 "name": "git setup"
13 }, 13 },
14 { 14 {
15 "cmd": [ 15 "cmd": [
16 "git", 16 "git",
17 "retry", 17 "retry",
18 "cache", 18 "cache",
19 "fetch", 19 "populate",
20 "-c", 20 "-c",
21 "[GIT_CACHE]" 21 "[GIT_CACHE]",
22 "https://chromium.googlesource.com/chromium/src.git"
22 ], 23 ],
23 "cwd": "[SLAVE_BUILD]/src", 24 "cwd": "[SLAVE_BUILD]/src",
24 "env": { 25 "env": {
25 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" 26 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
26 }, 27 },
27 "name": "fetch cache" 28 "name": "populate cache"
28 }, 29 },
29 { 30 {
30 "cmd": [ 31 "cmd": [
32 "git",
33 "cache",
34 "exists",
35 "--quiet",
36 "--cache-dir",
37 "[GIT_CACHE]",
38 "https://chromium.googlesource.com/chromium/src.git"
39 ],
40 "cwd": "[SLAVE_BUILD]/src",
41 "env": {
42 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
43 },
44 "name": "git cache",
45 "stdout": "/path/to/tmp/"
46 },
47 {
48 "cmd": [
49 "git",
50 "remote",
51 "set-url",
52 "origin",
53 "mirror_dir"
54 ],
55 "cwd": "[SLAVE_BUILD]/src",
56 "env": {
57 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
58 },
59 "name": "git remote"
60 },
61 {
62 "cmd": [
31 "git", 63 "git",
32 "retry", 64 "retry",
33 "fetch", 65 "fetch",
34 "origin", 66 "origin",
35 "master", 67 "master",
36 "--recurse-submodules" 68 "--recurse-submodules"
37 ], 69 ],
38 "cwd": "[SLAVE_BUILD]/src", 70 "cwd": "[SLAVE_BUILD]/src",
39 "env": { 71 "env": {
40 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" 72 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 ], 218 ],
187 "cwd": "[SLAVE_BUILD]/src", 219 "cwd": "[SLAVE_BUILD]/src",
188 "name": "git bundle" 220 "name": "git bundle"
189 }, 221 },
190 { 222 {
191 "name": "$result", 223 "name": "$result",
192 "recipe_result": null, 224 "recipe_result": null,
193 "status_code": 0 225 "status_code": 0
194 } 226 }
195 ] 227 ]
OLDNEW
« no previous file with comments | « recipe_modules/git/api.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698