Chromium Code Reviews

Side by Side Diff: recipe_modules/git_cl/example.expected/basic.json

Issue 2087093002: Add upload and issue to git_cl recipe module (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "RECIPE_PACKAGE_REPO[depot_tools]/git_cl.py", 4 "RECIPE_PACKAGE_REPO[depot_tools]/git_cl.py",
5 "upload",
6 "-m",
7 "Do the thing foobar..."
8 ],
9 "name": "git_cl upload"
10 },
11 {
12 "cmd": [
13 "RECIPE_PACKAGE_REPO[depot_tools]/git_cl.py",
14 "description",
15 "-n",
16 "-"
17 ],
18 "name": "git_cl set description",
19 "stdin": "Do the thing foobar\nNow with emoji: \u00f0\u009f\u0098\u0084",
20 "stdout": "/path/to/tmp/"
21 },
22 {
23 "cmd": [
24 "RECIPE_PACKAGE_REPO[depot_tools]/git_cl.py",
25 "issue"
26 ],
27 "name": "git_cl issue",
28 "stdout": "/path/to/tmp/"
29 },
30 {
31 "cmd": [
32 "RECIPE_PACKAGE_REPO[depot_tools]/git_cl.py",
5 "description", 33 "description",
6 "-d", 34 "-d",
7 "--rietveld", 35 "--rietveld",
8 "https://code.review/123" 36 "https://code.review/123"
9 ], 37 ],
10 "name": "git_cl description (build)", 38 "name": "git_cl description (build)",
11 "stdout": "/path/to/tmp/" 39 "stdout": "/path/to/tmp/"
12 }, 40 },
13 { 41 {
14 "cmd": [ 42 "cmd": [
15 "RECIPE_PACKAGE_REPO[depot_tools]/git_cl.py", 43 "RECIPE_PACKAGE_REPO[depot_tools]/git_cl.py",
16 "description", 44 "description",
17 "-n", 45 "-n",
18 "-", 46 "-",
19 "https://code.review/123", 47 "https://code.review/123",
20 "--rietveld" 48 "--rietveld"
21 ], 49 ],
22 "name": "git_cl set description", 50 "name": "git_cl set description (2)",
23 "stdin": "bammmm", 51 "stdin": "bammmm",
24 "stdout": "/path/to/tmp/" 52 "stdout": "/path/to/tmp/"
25 }, 53 },
26 { 54 {
27 "cmd": [ 55 "cmd": [
28 "echo", 56 "echo",
29 "hi" 57 "hi"
30 ], 58 ],
31 "name": "echo" 59 "name": "echo"
32 }, 60 },
(...skipping 15 matching lines...)
48 "name": "echo (2)" 76 "name": "echo (2)"
49 }, 77 },
50 { 78 {
51 "cmd": [ 79 "cmd": [
52 "RECIPE_PACKAGE_REPO[depot_tools]/git_cl.py", 80 "RECIPE_PACKAGE_REPO[depot_tools]/git_cl.py",
53 "description", 81 "description",
54 "-n", 82 "-n",
55 "-" 83 "-"
56 ], 84 ],
57 "cwd": "[TMP_BASE]/fakerepo_tmp_1", 85 "cwd": "[TMP_BASE]/fakerepo_tmp_1",
58 "name": "git_cl set description (2)", 86 "name": "git_cl set description (3)",
59 "stdin": "new description woo", 87 "stdin": "new description woo",
60 "stdout": "/path/to/tmp/" 88 "stdout": "/path/to/tmp/"
61 }, 89 },
62 { 90 {
63 "cmd": [ 91 "cmd": [
64 "RECIPE_PACKAGE_REPO[depot_tools]/git_cl.py", 92 "RECIPE_PACKAGE_REPO[depot_tools]/git_cl.py",
65 "description", 93 "description",
66 "-d" 94 "-d"
67 ], 95 ],
68 "cwd": "[TMP_BASE]/fakerepo_tmp_1", 96 "cwd": "[TMP_BASE]/fakerepo_tmp_1",
69 "name": "git_cl description (2)", 97 "name": "git_cl description (2)",
70 "stdout": "/path/to/tmp/" 98 "stdout": "/path/to/tmp/"
71 }, 99 },
72 { 100 {
73 "cmd": [ 101 "cmd": [
74 "echo", 102 "echo",
75 "new description woo" 103 "new description woo"
76 ], 104 ],
77 "name": "echo (3)" 105 "name": "echo (3)"
78 }, 106 },
79 { 107 {
80 "name": "$result", 108 "name": "$result",
81 "recipe_result": null, 109 "recipe_result": null,
82 "status_code": 0 110 "status_code": 0
83 } 111 }
84 ] 112 ]
OLDNEW
« recipe_modules/git_cl/api.py ('K') | « recipe_modules/git_cl/example.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine