deprecated methods¶
changeset_comment¶
-
changeset_comment
(apiuser, repoid, revision, message, userid=<Optional:<OptionalAttr:apiuser>>, status=<Optional:None>)¶ Deprecated since version 3.4.0: Please use method comment_commit instead.
Set a changeset comment, and optionally change the status of the changeset.
This command can only be run using an Authentication Token with admin permissions on the repository.
Parameters: - apiuser (AuthUser) – This is filled automatically from the Authentication Token.
- repoid (str or int) – Set the repository name or repository ID.
- revision (str) – Specify the revision for which to set a comment.
- message (str) – The comment text.
- userid (Optional(str or int)) – Set the user name of the comment creator.
- status (str) – Set the comment status. The following are valid options: * not_reviewed * approved * rejected * under_review
Example error output:
{ "id" : <id_given_in_input>, "result" : { "msg": "Commented on commit `<revision>` for repository `<repoid>`", "status_change": null or <status>, "success": true }, "error" : null }