|
@@ -361,7 +361,7 @@ Module for interact with Gerrit endpoints
|
|
|
|
|
|
Wrapper for easy calling of gerrit_utils steps.
|
|
Wrapper for easy calling of gerrit_utils steps.
|
|
|
|
|
|
-— **def [abandon\_change](/recipes/recipe_modules/gerrit/api.py#162)(self, host, change, message=None, name=None, step_test_data=None):**
|
|
|
|
|
|
+— **def [abandon\_change](/recipes/recipe_modules/gerrit/api.py#173)(self, host, change, message=None, name=None, step_test_data=None):**
|
|
|
|
|
|
— **def [create\_gerrit\_branch](/recipes/recipe_modules/gerrit/api.py#32)(self, host, project, branch, commit, \*\*kwargs):**
|
|
— **def [create\_gerrit\_branch](/recipes/recipe_modules/gerrit/api.py#32)(self, host, project, branch, commit, \*\*kwargs):**
|
|
|
|
|
|
@@ -370,7 +370,7 @@ Creates a new branch from given project and commit
|
|
Returns:
|
|
Returns:
|
|
The ref of the branch created
|
|
The ref of the branch created
|
|
|
|
|
|
-— **def [get\_change\_description](/recipes/recipe_modules/gerrit/api.py#71)(self, host, change, patchset, step_test_data=None):**
|
|
|
|
|
|
+— **def [get\_change\_description](/recipes/recipe_modules/gerrit/api.py#71)(self, host, change, patchset, timeout=None, step_test_data=None):**
|
|
|
|
|
|
Gets the description for a given CL and patchset.
|
|
Gets the description for a given CL and patchset.
|
|
|
|
|
|
@@ -382,7 +382,7 @@ Args:
|
|
Returns:
|
|
Returns:
|
|
The description corresponding to given CL and patchset.
|
|
The description corresponding to given CL and patchset.
|
|
|
|
|
|
-— **def [get\_changes](/recipes/recipe_modules/gerrit/api.py#120)(self, host, query_params, start=None, limit=None, o_params=None, step_test_data=None, \*\*kwargs):**
|
|
|
|
|
|
+— **def [get\_changes](/recipes/recipe_modules/gerrit/api.py#131)(self, host, query_params, start=None, limit=None, o_params=None, step_test_data=None, \*\*kwargs):**
|
|
|
|
|
|
Queries changes for the given host.
|
|
Queries changes for the given host.
|
|
|
|
|
|
@@ -408,7 +408,7 @@ Gets a branch from given project and commit
|
|
Returns:
|
|
Returns:
|
|
The revision of the branch
|
|
The revision of the branch
|
|
|
|
|
|
-— **def [get\_revision\_info](/recipes/recipe_modules/gerrit/api.py#85)(self, host, change, patchset, step_test_data=None):**
|
|
|
|
|
|
+— **def [get\_revision\_info](/recipes/recipe_modules/gerrit/api.py#90)(self, host, change, patchset, timeout=None, step_test_data=None):**
|
|
|
|
|
|
Returns the info for a given patchset of a given change.
|
|
Returns the info for a given patchset of a given change.
|
|
|
|
|
|
@@ -421,7 +421,7 @@ Returns:
|
|
A dict for the target revision as documented here:
|
|
A dict for the target revision as documented here:
|
|
https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#list-changes
|
|
https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#list-changes
|
|
|
|
|
|
-— **def [move\_changes](/recipes/recipe_modules/gerrit/api.py#182)(self, host, project, from_branch, to_branch, step_test_data=None):**
|
|
|
|
|
|
+— **def [move\_changes](/recipes/recipe_modules/gerrit/api.py#193)(self, host, project, from_branch, to_branch, step_test_data=None):**
|
|
### *recipe_modules* / [git](/recipes/recipe_modules/git)
|
|
### *recipe_modules* / [git](/recipes/recipe_modules/git)
|
|
|
|
|
|
[DEPS](/recipes/recipe_modules/git/__init__.py#1): [recipe\_engine/buildbucket][recipe_engine/recipe_modules/buildbucket], [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/python][recipe_engine/recipe_modules/python], [recipe\_engine/raw\_io][recipe_engine/recipe_modules/raw_io], [recipe\_engine/runtime][recipe_engine/recipe_modules/runtime], [recipe\_engine/step][recipe_engine/recipe_modules/step]
|
|
[DEPS](/recipes/recipe_modules/git/__init__.py#1): [recipe\_engine/buildbucket][recipe_engine/recipe_modules/buildbucket], [recipe\_engine/context][recipe_engine/recipe_modules/context], [recipe\_engine/path][recipe_engine/recipe_modules/path], [recipe\_engine/platform][recipe_engine/recipe_modules/platform], [recipe\_engine/properties][recipe_engine/recipe_modules/properties], [recipe\_engine/python][recipe_engine/recipe_modules/python], [recipe\_engine/raw\_io][recipe_engine/recipe_modules/raw_io], [recipe\_engine/runtime][recipe_engine/recipe_modules/runtime], [recipe\_engine/step][recipe_engine/recipe_modules/step]
|
|
@@ -856,7 +856,7 @@ 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#330)(self, tag, patch_text=None):**
|
|
|
|
|
|
+— **def [get\_footer](/recipes/recipe_modules/tryserver/api.py#332)(self, tag, patch_text=None):**
|
|
|
|
|
|
Gets a specific tag from a CL description
|
|
Gets a specific tag from a CL description
|
|
|
|
|
|
@@ -879,9 +879,9 @@ Returns true iff the properties exist to match a Gerrit issue.
|
|
|
|
|
|
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#338)(self, footer):**
|
|
|
|
|
|
+— **def [normalize\_footer\_name](/recipes/recipe_modules/tryserver/api.py#340)(self, footer):**
|
|
|
|
|
|
-— **def [set\_change](/recipes/recipe_modules/tryserver/api.py#341)(self, change):**
|
|
|
|
|
|
+— **def [set\_change](/recipes/recipe_modules/tryserver/api.py#343)(self, change):**
|
|
|
|
|
|
Set the gerrit change for this module.
|
|
Set the gerrit change for this module.
|
|
|
|
|