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

Side by Side Diff: README.recipes.md

Issue 2973133002: [file] fix glob_paths when NO paths match, add tests. (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « no previous file | recipe_engine/unittests/run_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!--- AUTOGENERATED BY `./recipes.py test train` --> 1 <!--- AUTOGENERATED BY `./recipes.py test train` -->
2 # Package documentation for [recipe\_engine](https://github.com/luci/recipes-py) 2 # Package documentation for [recipe\_engine](https://github.com/luci/recipes-py)
3 ## Table of Contents 3 ## Table of Contents
4 4
5 **[Recipe Modules](#recipe-modules)** 5 **[Recipe Modules](#recipe-modules)**
6 * [context](#recipe_modules--context) &mdash; The context module provides APIs for manipulating a few pieces of 'ambient' data that affect how steps are run: cwd - The current working directory. 6 * [context](#recipe_modules--context) &mdash; The context module provides APIs for manipulating a few pieces of 'ambient' data that affect how steps are run: cwd - The current working directory.
7 * [file](#recipe_modules--file) 7 * [file](#recipe_modules--file)
8 * [generator_script](#recipe_modules--generator_script) 8 * [generator_script](#recipe_modules--generator_script)
9 * [json](#recipe_modules--json) &mdash; Methods for producing and consuming JS ON. 9 * [json](#recipe_modules--json) &mdash; Methods for producing and consuming JS ON.
10 * [path](#recipe_modules--path) 10 * [path](#recipe_modules--path)
(...skipping 30 matching lines...) Expand all
41 * [engine_tests/nonexistent_command](#recipes--engine_testsnonexistent_command ) 41 * [engine_tests/nonexistent_command](#recipes--engine_testsnonexistent_command )
42 * [engine_tests/recipe_paths](#recipes--engine_testsrecipe_paths) &mdash; Test s that recipes have access to names, resources and their package. 42 * [engine_tests/recipe_paths](#recipes--engine_testsrecipe_paths) &mdash; Test s that recipes have access to names, resources and their package.
43 * [engine_tests/sort_properties](#recipes--engine_testssort_properties) &mdash ; Tests that step presentation properties can be ordered. 43 * [engine_tests/sort_properties](#recipes--engine_testssort_properties) &mdash ; Tests that step presentation properties can be ordered.
44 * [engine_tests/step_stack_exhaustion](#recipes--engine_testsstep_stack_exhaus tion) &mdash; Tests that placeholders can't wreck the world by exhausting the st ep stack. 44 * [engine_tests/step_stack_exhaustion](#recipes--engine_testsstep_stack_exhaus tion) &mdash; Tests that placeholders can't wreck the world by exhausting the st ep stack.
45 * [engine_tests/undeclared_method](#recipes--engine_testsundeclared_method) 45 * [engine_tests/undeclared_method](#recipes--engine_testsundeclared_method)
46 * [engine_tests/unicode](#recipes--engine_testsunicode) 46 * [engine_tests/unicode](#recipes--engine_testsunicode)
47 * [engine_tests/whitelist_steps](#recipes--engine_testswhitelist_steps) &mdash ; Tests that step_data can accept multiple specs at once. 47 * [engine_tests/whitelist_steps](#recipes--engine_testswhitelist_steps) &mdash ; Tests that step_data can accept multiple specs at once.
48 * [file:examples/copy](#recipes--fileexamplescopy) 48 * [file:examples/copy](#recipes--fileexamplescopy)
49 * [file:examples/copytree](#recipes--fileexamplescopytree) 49 * [file:examples/copytree](#recipes--fileexamplescopytree)
50 * [file:examples/error](#recipes--fileexampleserror) 50 * [file:examples/error](#recipes--fileexampleserror)
51 * [file:examples/glob](#recipes--fileexamplesglob)
51 * [generator_script:examples/full](#recipes--generator_scriptexamplesfull) 52 * [generator_script:examples/full](#recipes--generator_scriptexamplesfull)
52 * [json:examples/full](#recipes--jsonexamplesfull) 53 * [json:examples/full](#recipes--jsonexamplesfull)
53 * [path:examples/full](#recipes--pathexamplesfull) 54 * [path:examples/full](#recipes--pathexamplesfull)
54 * [platform:examples/full](#recipes--platformexamplesfull) 55 * [platform:examples/full](#recipes--platformexamplesfull)
55 * [properties:examples/full](#recipes--propertiesexamplesfull) 56 * [properties:examples/full](#recipes--propertiesexamplesfull)
56 * [python:examples/full](#recipes--pythonexamplesfull) &mdash; Launches the re po bundler. 57 * [python:examples/full](#recipes--pythonexamplesfull) &mdash; Launches the re po bundler.
57 * [raw_io:examples/full](#recipes--raw_ioexamplesfull) 58 * [raw_io:examples/full](#recipes--raw_ioexamplesfull)
58 * [shutil:examples/full](#recipes--shutilexamplesfull) 59 * [shutil:examples/full](#recipes--shutilexamplesfull)
59 * [step:examples/full](#recipes--stepexamplesfull) 60 * [step:examples/full](#recipes--stepexamplesfull)
60 * [step:tests/active_result](#recipes--steptestsactive_result) 61 * [step:tests/active_result](#recipes--steptestsactive_result)
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after
1155 ### *recipes* / [file:examples/copytree](/recipe_modules/file/examples/copytree. py) 1156 ### *recipes* / [file:examples/copytree](/recipe_modules/file/examples/copytree. py)
1156 1157
1157 [DEPS](/recipe_modules/file/examples/copytree.py#L5): [file](#recipe_modules--fi le), [path](#recipe_modules--path) 1158 [DEPS](/recipe_modules/file/examples/copytree.py#L5): [file](#recipe_modules--fi le), [path](#recipe_modules--path)
1158 1159
1159 &mdash; **def [RunSteps](/recipe_modules/file/examples/copytree.py#L11)(api):** 1160 &mdash; **def [RunSteps](/recipe_modules/file/examples/copytree.py#L11)(api):**
1160 ### *recipes* / [file:examples/error](/recipe_modules/file/examples/error.py) 1161 ### *recipes* / [file:examples/error](/recipe_modules/file/examples/error.py)
1161 1162
1162 [DEPS](/recipe_modules/file/examples/error.py#L5): [file](#recipe_modules--file) , [path](#recipe_modules--path) 1163 [DEPS](/recipe_modules/file/examples/error.py#L5): [file](#recipe_modules--file) , [path](#recipe_modules--path)
1163 1164
1164 &mdash; **def [RunSteps](/recipe_modules/file/examples/error.py#L11)(api):** 1165 &mdash; **def [RunSteps](/recipe_modules/file/examples/error.py#L11)(api):**
1166 ### *recipes* / [file:examples/glob](/recipe_modules/file/examples/glob.py)
1167
1168 [DEPS](/recipe_modules/file/examples/glob.py#L5): [file](#recipe_modules--file), [json](#recipe_modules--json), [path](#recipe_modules--path)
1169
1170 &mdash; **def [RunSteps](/recipe_modules/file/examples/glob.py#L11)(api):**
1165 ### *recipes* / [generator\_script:examples/full](/recipe_modules/generator_scri pt/examples/full.py) 1171 ### *recipes* / [generator\_script:examples/full](/recipe_modules/generator_scri pt/examples/full.py)
1166 1172
1167 [DEPS](/recipe_modules/generator_script/examples/full.py#L7): [generator\_script ](#recipe_modules--generator_script), [json](#recipe_modules--json), [path](#rec ipe_modules--path), [properties](#recipe_modules--properties), [step](#recipe_mo dules--step) 1173 [DEPS](/recipe_modules/generator_script/examples/full.py#L7): [generator\_script ](#recipe_modules--generator_script), [json](#recipe_modules--json), [path](#rec ipe_modules--path), [properties](#recipe_modules--properties), [step](#recipe_mo dules--step)
1168 1174
1169 &mdash; **def [RunSteps](/recipe_modules/generator_script/examples/full.py#L19)( api, script_name):** 1175 &mdash; **def [RunSteps](/recipe_modules/generator_script/examples/full.py#L19)( api, script_name):**
1170 ### *recipes* / [json:examples/full](/recipe_modules/json/examples/full.py) 1176 ### *recipes* / [json:examples/full](/recipe_modules/json/examples/full.py)
1171 1177
1172 [DEPS](/recipe_modules/json/examples/full.py#L5): [json](#recipe_modules--json), [path](#recipe_modules--path), [properties](#recipe_modules--properties), [pyth on](#recipe_modules--python), [raw\_io](#recipe_modules--raw_io), [step](#recipe _modules--step) 1178 [DEPS](/recipe_modules/json/examples/full.py#L5): [json](#recipe_modules--json), [path](#recipe_modules--path), [properties](#recipe_modules--properties), [pyth on](#recipe_modules--python), [raw\_io](#recipe_modules--raw_io), [step](#recipe _modules--step)
1173 1179
1174 &mdash; **def [RunSteps](/recipe_modules/json/examples/full.py#L16)(api):** 1180 &mdash; **def [RunSteps](/recipe_modules/json/examples/full.py#L16)(api):**
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 1279
1274 [DEPS](/recipe_modules/url/tests/validate_url.py#L5): [properties](#recipe_modul es--properties), [step](#recipe_modules--step), [url](#recipe_modules--url) 1280 [DEPS](/recipe_modules/url/tests/validate_url.py#L5): [properties](#recipe_modul es--properties), [step](#recipe_modules--step), [url](#recipe_modules--url)
1275 1281
1276 &mdash; **def [RunSteps](/recipe_modules/url/tests/validate_url.py#L12)(api):** 1282 &mdash; **def [RunSteps](/recipe_modules/url/tests/validate_url.py#L12)(api):**
1277 ### *recipes* / [uuid:examples/full](/recipe_modules/uuid/examples/full.py) 1283 ### *recipes* / [uuid:examples/full](/recipe_modules/uuid/examples/full.py)
1278 1284
1279 [DEPS](/recipe_modules/uuid/examples/full.py#L5): [step](#recipe_modules--step), [uuid](#recipe_modules--uuid) 1285 [DEPS](/recipe_modules/uuid/examples/full.py#L5): [step](#recipe_modules--step), [uuid](#recipe_modules--uuid)
1280 1286
1281 &mdash; **def [RunSteps](/recipe_modules/uuid/examples/full.py#L11)(api):** 1287 &mdash; **def [RunSteps](/recipe_modules/uuid/examples/full.py#L11)(api):**
1282 1288
OLDNEW
« no previous file with comments | « no previous file | recipe_engine/unittests/run_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698