|
|
|
@ -344,16 +344,16 @@ Module for interact with gerrit endpoints
|
|
|
|
|
|
|
|
|
|
Wrapper for easy calling of gerrit_utils steps.
|
|
|
|
|
|
|
|
|
|
— **def [abandon\_change](/recipes/recipe_modules/gerrit/api.py#159)(self, host, change, message=None, name=None, step_test_data=None):**
|
|
|
|
|
— **def [abandon\_change](/recipes/recipe_modules/gerrit/api.py#160)(self, host, change, message=None, name=None, step_test_data=None):**
|
|
|
|
|
|
|
|
|
|
— **def [create\_gerrit\_branch](/recipes/recipe_modules/gerrit/api.py#31)(self, host, project, branch, commit, \*\*kwargs):**
|
|
|
|
|
— **def [create\_gerrit\_branch](/recipes/recipe_modules/gerrit/api.py#32)(self, host, project, branch, commit, \*\*kwargs):**
|
|
|
|
|
|
|
|
|
|
Create a new branch from given project and commit
|
|
|
|
|
|
|
|
|
|
Returns:
|
|
|
|
|
the ref of the branch created
|
|
|
|
|
|
|
|
|
|
— **def [get\_change\_description](/recipes/recipe_modules/gerrit/api.py#72)(self, host, change, patchset):**
|
|
|
|
|
— **def [get\_change\_description](/recipes/recipe_modules/gerrit/api.py#73)(self, host, change, patchset):**
|
|
|
|
|
|
|
|
|
|
Get the description for a given CL and patchset.
|
|
|
|
|
|
|
|
|
@ -365,7 +365,7 @@ Args:
|
|
|
|
|
Returns:
|
|
|
|
|
The description corresponding to given CL and patchset.
|
|
|
|
|
|
|
|
|
|
— **def [get\_changes](/recipes/recipe_modules/gerrit/api.py#117)(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#118)(self, host, query_params, start=None, limit=None, o_params=None, step_test_data=None, \*\*kwargs):**
|
|
|
|
|
|
|
|
|
|
Query changes for the given host.
|
|
|
|
|
|
|
|
|
@ -383,14 +383,14 @@ Returns:
|
|
|
|
|
A list of change dicts as documented here:
|
|
|
|
|
https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#list-changes
|
|
|
|
|
|
|
|
|
|
— **def [get\_gerrit\_branch](/recipes/recipe_modules/gerrit/api.py#53)(self, host, project, branch, \*\*kwargs):**
|
|
|
|
|
— **def [get\_gerrit\_branch](/recipes/recipe_modules/gerrit/api.py#54)(self, host, project, branch, \*\*kwargs):**
|
|
|
|
|
|
|
|
|
|
Get a branch from given project and commit
|
|
|
|
|
|
|
|
|
|
Returns:
|
|
|
|
|
the revision of the branch
|
|
|
|
|
|
|
|
|
|
— **def [get\_revision\_info](/recipes/recipe_modules/gerrit/api.py#87)(self, host, change, patchset):**
|
|
|
|
|
— **def [get\_revision\_info](/recipes/recipe_modules/gerrit/api.py#88)(self, host, change, patchset):**
|
|
|
|
|
|
|
|
|
|
Returns the info for a given patchset of a given change.
|
|
|
|
|
|
|
|
|
|