Chromium Code Reviews| Index: recipe_modules/bot_update/__init__.py |
| diff --git a/recipe_modules/bot_update/__init__.py b/recipe_modules/bot_update/__init__.py |
| index 928f7ea0b5e0e05ff16e11502502031fdedf1d27..766fe63d50dc2f47e763a8abd197759524bde46c 100644 |
| --- a/recipe_modules/bot_update/__init__.py |
| +++ b/recipe_modules/bot_update/__init__.py |
| @@ -10,3 +10,23 @@ DEPS = [ |
| 'recipe_engine/step', |
| 'tryserver', |
| ] |
| + |
| +from recipe_engine.recipe_api import Property |
| + |
| +PROPERTIES = { |
| + 'mastername': Property(default=None), |
| + 'buildername': Property(default=None), |
| + 'slavename': Property(default=None), |
| + 'issue': Property(default=None), |
| + 'patchset': Property(default=None), |
| + 'patch_url': Property(default=None), |
| + 'repository': Property(default=None), |
| + 'event.patchSet.ref': Property(default=None, param_name="gerrit_ref"), |
| + 'rietveld': Property(default=None), |
| + 'revision': Property(default=None), |
| + 'parent_got_revision': Property(default=None), |
| + # TODO: convert to not using direct python argument, since this could probably |
| + # cause unforseen bugs because of mutation |
| + 'deps_revision_overrides': Property(default={}), |
|
iannucci
2016/03/10 21:43:11
file a bug for this TODO, mention it in the commen
|
| + 'fail_patch': Property(default=None, kind=str), |
| +} |