@ -820,54 +820,66 @@ Returns:
#### **class [TryserverApi ](/recipes/recipe_modules/tryserver/api.py#27 )([RecipeApi][recipe_engine/wkt/RecipeApi]):**
#### **class [TryserverApi ](/recipes/recipe_modules/tryserver/api.py#27 )([RecipeApi][recipe_engine/wkt/RecipeApi]):**
  ** @property **< br > — **def [constants ](/recipes/recipe_modules/tryserver/api.py# 49 )(self):**
  ** @property **< br > — **def [constants ](/recipes/recipe_modules/tryserver/api.py# 51 )(self):**
  ** @property **< br > — **def [gerrit\_change ](/recipes/recipe_modules/tryserver/api.py#5 4 )(self):**
  ** @property **< br > — **def [gerrit\_change ](/recipes/recipe_modules/tryserver/api.py#5 6 )(self):**
Returns current gerrit change, if there is exactly one.
Returns current gerrit change, if there is exactly one.
Returns a self.m.buildbucket.common_pb2.GerritChange or None.
Returns a self.m.buildbucket.common_pb2.GerritChange or None.
  ** @property **< br > — **def [gerrit\_change\_fetch\_ref ](/recipes/recipe_modules/tryserver/api.py#1 31 )(self):**
  ** @property **< br > — **def [gerrit\_change\_fetch\_ref ](/recipes/recipe_modules/tryserver/api.py#1 49 )(self):**
Returns gerrit patch ref, e.g. "refs/heads/45/12345/6, or None.
Returns gerrit patch ref, e.g. "refs/heads/45/12345/6, or None.
Populated iff gerrit_change is populated.
Populated iff gerrit_change is populated.
  ** @property **< br > — **def [gerrit\_change\_number ](/recipes/recipe_modules/tryserver/api.py#1 49 )(self):**
  ** @property **< br > — **def [gerrit\_change\_number ](/recipes/recipe_modules/tryserver/api.py#1 67 )(self):**
Returns gerrit change patchset, e.g. 12345 for a patch ref of
Returns gerrit change patchset, e.g. 12345 for a patch ref of
"refs/heads/45/12345/6".
"refs/heads/45/12345/6".
Populated iff gerrit_change is populated. Returns None if not populated.
Populated iff gerrit_change is populated. Returns None if not populated.
  ** @property **< br > — **def [gerrit\_change\_owner ](/recipes/recipe_modules/tryserver/api.py# 70 )(self):**
  ** @property **< br > — **def [gerrit\_change\_owner ](/recipes/recipe_modules/tryserver/api.py# 88 )(self):**
Returns owner of the current Gerrit CL.
Returns owner of the current Gerrit CL.
Populated iff gerrit_change is populated.
Populated iff gerrit_change is populated.
Is a dictionary with keys like "name".
Is a dictionary with keys like "name".
  ** @property **< br > — **def [gerrit\_change\_repo\_url ](/recipes/recipe_modules/tryserver/api.py#62 )(self):**
  ** @property **< br > — **def [gerrit\_change\_repo\_host ](/recipes/recipe_modules/tryserver/api.py#72 )(self):**
Returns the host of the gitiles repo of the current Gerrit CL.
Populated iff gerrit_change is populated.
  ** @property **< br > — **def [gerrit\_change\_repo\_project ](/recipes/recipe_modules/tryserver/api.py#80 )(self):**
Returns the project of the gitiles repo of the current Gerrit CL.
Populated iff gerrit_change is populated.
  ** @property **< br > — **def [gerrit\_change\_repo\_url ](/recipes/recipe_modules/tryserver/api.py#64 )(self):**
Returns canonical URL of the gitiles repo of the current Gerrit CL.
Returns canonical URL of the gitiles repo of the current Gerrit CL.
Populated iff gerrit_change is populated.
Populated iff gerrit_change is populated.
  ** @property **< br > — **def [gerrit\_change\_target\_ref ](/recipes/recipe_modules/tryserver/api.py#140 )(self):**
  ** @property **< br > — **def [gerrit\_change\_target\_ref ](/recipes/recipe_modules/tryserver/api.py#1 58 )(self):**
Returns gerrit change destination ref, e.g. "refs/heads/master".
Returns gerrit change destination ref, e.g. "refs/heads/master".
Populated iff gerrit_change is populated.
Populated iff gerrit_change is populated.
  ** @property **< br > — **def [gerrit\_patchset\_number ](/recipes/recipe_modules/tryserver/api.py#161 )(self):**
  ** @property **< br > — **def [gerrit\_patchset\_number ](/recipes/recipe_modules/tryserver/api.py#1 79 )(self):**
Returns gerrit change patchset, e.g. 6 for a patch ref of
Returns gerrit change patchset, e.g. 6 for a patch ref of
"refs/heads/45/12345/6".
"refs/heads/45/12345/6".
Populated iff gerrit_change is populated Returns None if not populated..
Populated iff gerrit_change is populated Returns None if not populated..
— **def [get\_files\_affected\_by\_patch ](/recipes/recipe_modules/tryserver/api.py# 194 )(self, patch_root, report_files_via_property=None, \*\*kwargs):**
— **def [get\_files\_affected\_by\_patch ](/recipes/recipe_modules/tryserver/api.py# 212 )(self, patch_root, report_files_via_property=None, \*\*kwargs):**
Returns list of paths to files affected by the patch.
Returns list of paths to files affected by the patch.
@ -879,43 +891,43 @@ Args:
Returned paths will be relative to to patch_root.
Returned paths will be relative to to patch_root.
— **def [get\_footer ](/recipes/recipe_modules/tryserver/api.py#3 34 )(self, tag, patch_text=None):**
— **def [get\_footer ](/recipes/recipe_modules/tryserver/api.py#3 52 )(self, tag, patch_text=None):**
Gets a specific tag from a CL description
Gets a specific tag from a CL description
— **def [get\_footers ](/recipes/recipe_modules/tryserver/api.py# 298 )(self, patch_text=None):**
— **def [get\_footers ](/recipes/recipe_modules/tryserver/api.py# 316 )(self, patch_text=None):**
Retrieves footers from the patch description.
Retrieves footers from the patch description.
footers are machine readable tags embedded in commit messages. See
footers are machine readable tags embedded in commit messages. See
git-footers documentation for more information.
git-footers documentation for more information.
— **def [initialize ](/recipes/recipe_modules/tryserver/api.py#4 0 )(self):**
— **def [initialize ](/recipes/recipe_modules/tryserver/api.py#4 2 )(self):**
  ** @property **< br > — **def [is\_gerrit\_issue ](/recipes/recipe_modules/tryserver/api.py#1 78 )(self):**
  ** @property **< br > — **def [is\_gerrit\_issue ](/recipes/recipe_modules/tryserver/api.py#1 96 )(self):**
Returns true iff the properties exist to match a Gerrit issue.
Returns true iff the properties exist to match a Gerrit issue.
  ** @property **< br > — **def [is\_patch\_in\_git ](/recipes/recipe_modules/tryserver/api.py# 188 )(self):**
  ** @property **< br > — **def [is\_patch\_in\_git ](/recipes/recipe_modules/tryserver/api.py# 206 )(self):**
  ** @property **< br > — **def [is\_tryserver ](/recipes/recipe_modules/tryserver/api.py#1 73 )(self):**
  ** @property **< br > — **def [is\_tryserver ](/recipes/recipe_modules/tryserver/api.py#1 91 )(self):**
Returns true iff we have a change to check out.
Returns true iff we have a change to check out.
— **def [normalize\_footer\_name ](/recipes/recipe_modules/tryserver/api.py#3 42 )(self, footer):**
— **def [normalize\_footer\_name ](/recipes/recipe_modules/tryserver/api.py#3 60 )(self, footer):**
— **def [set\_change ](/recipes/recipe_modules/tryserver/api.py#3 45 )(self, change):**
— **def [set\_change ](/recipes/recipe_modules/tryserver/api.py#3 63 )(self, change):**
Set the gerrit change for this module.
Set the gerrit change for this module.
Args:
Args:
* change: a self.m.buildbucket.common_pb2.GerritChange.
* change: a self.m.buildbucket.common_pb2.GerritChange.
— **def [set\_compile\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 59 )(self):**
— **def [set\_compile\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 77 )(self):**
Mark the tryjob result as a compile failure.
Mark the tryjob result as a compile failure.
— **def [set\_invalid\_test\_results\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 71 )(self):**
— **def [set\_invalid\_test\_results\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 89 )(self):**
Mark the tryjob result as having invalid test results.
Mark the tryjob result as having invalid test results.
@ -923,39 +935,39 @@ This means we run some tests, but the results were not valid
(e.g. no list of specific test cases that failed, or too many
(e.g. no list of specific test cases that failed, or too many
tests failing, etc).
tests failing, etc).
— **def [set\_patch\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 55 )(self):**
— **def [set\_patch\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 73 )(self):**
Mark the tryjob result as failure to apply the patch.
Mark the tryjob result as failure to apply the patch.
— **def [set\_subproject\_tag ](/recipes/recipe_modules/tryserver/api.py#2 33 )(self, subproject_tag):**
— **def [set\_subproject\_tag ](/recipes/recipe_modules/tryserver/api.py#2 51 )(self, subproject_tag):**
Adds a subproject tag to the build.
Adds a subproject tag to the build.
This can be used to distinguish between builds that execute different steps
This can be used to distinguish between builds that execute different steps
depending on what was patched, e.g. blink vs. pure chromium patches.
depending on what was patched, e.g. blink vs. pure chromium patches.
— **def [set\_test\_expired\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py# 288 )(self):**
— **def [set\_test\_expired\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py# 306 )(self):**
Mark the tryjob result as a test expiration.
Mark the tryjob result as a test expiration.
This means a test task expired and was never scheduled, most likely due to
This means a test task expired and was never scheduled, most likely due to
lack of capacity.
lack of capacity.
— **def [set\_test\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 63 )(self):**
— **def [set\_test\_failure\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 81 )(self):**
Mark the tryjob result as a test failure.
Mark the tryjob result as a test failure.
This means we started running actual tests (not prerequisite steps
This means we started running actual tests (not prerequisite steps
like checkout or compile), and some of these tests have failed.
like checkout or compile), and some of these tests have failed.
— **def [set\_test\_timeout\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 80 )(self):**
— **def [set\_test\_timeout\_tryjob\_result ](/recipes/recipe_modules/tryserver/api.py#2 9 8)(self):**
Mark the tryjob result as a test timeout.
Mark the tryjob result as a test timeout.
This means tests were scheduled but didn't finish executing within the
This means tests were scheduled but didn't finish executing within the
timeout.
timeout.
  ** @property **< br > — **def [valid\_footers ](/recipes/recipe_modules/tryserver/api.py#4 5 )(self):**
  ** @property **< br > — **def [valid\_footers ](/recipes/recipe_modules/tryserver/api.py#4 7 )(self):**
### *recipe_modules* / [windows\_sdk ](/recipes/recipe_modules/windows_sdk )
### *recipe_modules* / [windows\_sdk ](/recipes/recipe_modules/windows_sdk )
[DEPS ](/recipes/recipe_modules/windows_sdk/__init__.py#5 ): [recipe\_engine/cipd][recipe_engine/recipe_modules/cipd], [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/json][recipe_engine/recipe_modules/json], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/step][recipe_engine/recipe_modules/step]
[DEPS ](/recipes/recipe_modules/windows_sdk/__init__.py#5 ): [recipe\_engine/cipd][recipe_engine/recipe_modules/cipd], [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/json][recipe_engine/recipe_modules/json], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/step][recipe_engine/recipe_modules/step]