|
@@ -253,7 +253,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#256)(self, host, change, message=None, name=None, step_test_data=None):**
|
|
|
|
|
|
+— **def [abandon\_change](/recipes/recipe_modules/gerrit/api.py#257)(self, host, change, message=None, name=None, step_test_data=None):**
|
|
|
|
|
|
— **def [call\_raw\_api](/recipes/recipe_modules/gerrit/api.py#31)(self, host, path, method=None, body=None, accept_statuses=None, name=None, \*\*kwargs):**
|
|
— **def [call\_raw\_api](/recipes/recipe_modules/gerrit/api.py#31)(self, host, path, method=None, body=None, accept_statuses=None, name=None, \*\*kwargs):**
|
|
|
|
|
|
@@ -314,7 +314,7 @@ Gets a branch from given project and commit
|
|
Returns:
|
|
Returns:
|
|
The revision of the branch
|
|
The revision of the branch
|
|
|
|
|
|
-— **def [get\_related\_changes](/recipes/recipe_modules/gerrit/api.py#220)(self, host, change, revision='current', step_test_data=None):**
|
|
|
|
|
|
+— **def [get\_related\_changes](/recipes/recipe_modules/gerrit/api.py#221)(self, host, change, revision='current', step_test_data=None):**
|
|
|
|
|
|
Queries related changes for a given host, change, and revision.
|
|
Queries related changes for a given host, change, and revision.
|
|
|
|
|
|
@@ -346,11 +346,11 @@ 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#294)(self, host, project, from_branch, to_branch, step_test_data=None):**
|
|
|
|
|
|
+— **def [move\_changes](/recipes/recipe_modules/gerrit/api.py#295)(self, host, project, from_branch, to_branch, step_test_data=None):**
|
|
|
|
|
|
-— **def [set\_change\_label](/recipes/recipe_modules/gerrit/api.py#276)(self, host, change, label_name, label_value, name=None, step_test_data=None):**
|
|
|
|
|
|
+— **def [set\_change\_label](/recipes/recipe_modules/gerrit/api.py#277)(self, host, change, label_name, label_value, name=None, step_test_data=None):**
|
|
|
|
|
|
-— **def [update\_files](/recipes/recipe_modules/gerrit/api.py#318)(self, host, project, branch, new_contents_by_file_path, commit_msg, params=frozenset(['status=NEW']), cc_list=frozenset([]), submit=False, submit_later=False, step_test_data_create_change=None, step_test_data_submit_change=None):**
|
|
|
|
|
|
+— **def [update\_files](/recipes/recipe_modules/gerrit/api.py#319)(self, host, project, branch, new_contents_by_file_path, commit_msg, params=frozenset(['status=NEW']), cc_list=frozenset([]), submit=False, submit_later=False, step_test_data_create_change=None, step_test_data_submit_change=None):**
|
|
|
|
|
|
Update a set of files by creating and submitting a Gerrit CL.
|
|
Update a set of files by creating and submitting a Gerrit CL.
|
|
|
|
|