Learn R Programming

gitlabr (version 0.5.1)

get_comments: Get the comments of a commit or issue

Description

Get the comments of a commit or issue

Usage

get_comments(object_type = "issue", id, note_id = c(), project, ...)

get_issue_comments(...)

get_commit_comments(...)

comment_commit(project, id, text, ...)

comment_issue(project, id, text, ...)

edit_comment(object_type, text, ...)

edit_issue_comment(...)

edit_commit_comment(...)

Arguments

object_type
one of "issue" or "commit". Snippets and merge_requests are not implemented yet.
id
id of object: (project-wide) issue_id or commit sha
note_id
id of note
project
project name or id
...
passed on to gitlab API call. See Details.
text
Text of comment/note to add or edit (translates to gitlab API note/body respectively)

Details

For comment_commit ... might also contain path, line and line_type (old or new) to attach the comment to a specific in a file. See http://doc.gitlab.com/ce/api/commits.html