mirror of
https://github.com/taigrr/wtf
synced 2026-03-26 10:52:20 -07:00
Update dependencies
This commit is contained in:
107
vendor/github.com/andygrunwald/go-gerrit/changes.go
generated
vendored
107
vendor/github.com/andygrunwald/go-gerrit/changes.go
generated
vendored
@@ -207,15 +207,16 @@ type ReviewerInput struct {
|
||||
|
||||
// ReviewInput entity contains information for adding a review to a revision.
|
||||
type ReviewInput struct {
|
||||
Message string `json:"message,omitempty"`
|
||||
Tag string `json:"tag,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Comments map[string][]CommentInput `json:"comments,omitempty"`
|
||||
StrictLabels bool `json:"strict_labels,omitempty"`
|
||||
Drafts string `json:"drafts,omitempty"`
|
||||
Notify string `json:"notify,omitempty"`
|
||||
OmitDuplicateComments bool `json:"omit_duplicate_comments,omitempty"`
|
||||
OnBehalfOf string `json:"on_behalf_of,omitempty"`
|
||||
Message string `json:"message,omitempty"`
|
||||
Tag string `json:"tag,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Comments map[string][]CommentInput `json:"comments,omitempty"`
|
||||
RobotComments map[string][]RobotCommentInput `json:"robot_comments,omitempty"`
|
||||
StrictLabels bool `json:"strict_labels,omitempty"`
|
||||
Drafts string `json:"drafts,omitempty"`
|
||||
Notify string `json:"notify,omitempty"`
|
||||
OmitDuplicateComments bool `json:"omit_duplicate_comments,omitempty"`
|
||||
OnBehalfOf string `json:"on_behalf_of,omitempty"`
|
||||
}
|
||||
|
||||
// RelatedChangeAndCommitInfo entity contains information about a related change and commit.
|
||||
@@ -251,6 +252,74 @@ type CommentInput struct {
|
||||
Message string `json:"message,omitempty"`
|
||||
}
|
||||
|
||||
// RobotCommentInput entity contains information for creating an inline robot comment.
|
||||
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#robot-comment-input
|
||||
type RobotCommentInput struct {
|
||||
CommentInput
|
||||
|
||||
// The ID of the robot that generated this comment.
|
||||
RobotId string `json:"robot_id"`
|
||||
// An ID of the run of the robot.
|
||||
RobotRunId string `json:"robot_run_id"`
|
||||
// URL to more information.
|
||||
Url string `json:"url,omitempty"`
|
||||
// Robot specific properties as map that maps arbitrary keys to values.
|
||||
Properties *map[string]*string `json:"properties,omitempty"`
|
||||
// Suggested fixes for this robot comment as a list of FixSuggestionInfo
|
||||
// entities.
|
||||
FixSuggestions *FixSuggestionInfo `json:"fix_suggestions,omitempty"`
|
||||
}
|
||||
|
||||
// RobotCommentInfo entity contains information about a robot inline comment
|
||||
// RobotCommentInfo has the same fields as CommentInfo. In addition RobotCommentInfo has the following fields:
|
||||
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#robot-comment-info
|
||||
type RobotCommentInfo struct {
|
||||
CommentInfo
|
||||
|
||||
// The ID of the robot that generated this comment.
|
||||
RobotId string `json:"robot_id"`
|
||||
// An ID of the run of the robot.
|
||||
RobotRunId string `json:"robot_run_id"`
|
||||
// URL to more information.
|
||||
Url string `json:"url,omitempty"`
|
||||
// Robot specific properties as map that maps arbitrary keys to values.
|
||||
Properties map[string]string `json:"properties,omitempty"`
|
||||
// Suggested fixes for this robot comment as a list of FixSuggestionInfo
|
||||
// entities.
|
||||
FixSuggestions *FixSuggestionInfo `json:"fix_suggestions,omitempty"`
|
||||
}
|
||||
|
||||
// FixSuggestionInfo entity represents a suggested fix.
|
||||
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#fix-suggestion-info
|
||||
type FixSuggestionInfo struct {
|
||||
// The UUID of the suggested fix. It will be generated automatically and
|
||||
// hence will be ignored if it’s set for input objects.
|
||||
FixId string `json:"fix_id"`
|
||||
// A description of the suggested fix.
|
||||
Description string `json:"description"`
|
||||
// A list of FixReplacementInfo entities indicating how the content of one or
|
||||
// several files should be modified. Within a file, they should refer to
|
||||
// non-overlapping regions.
|
||||
Replacements FixReplacementInfo `json:"replacements"`
|
||||
}
|
||||
|
||||
// FixReplacementInfo entity describes how the content of a file should be replaced by another content.
|
||||
// https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#fix-replacement-info
|
||||
type FixReplacementInfo struct {
|
||||
// The path of the file which should be modified. Any file in the repository may be modified.
|
||||
Path string `json:"path"`
|
||||
|
||||
// A CommentRange indicating which content of the file should be replaced.
|
||||
// Lines in the file are assumed to be separated by the line feed character,
|
||||
// the carriage return character, the carriage return followed by the line
|
||||
// feed character, or one of the other Unicode linebreak sequences supported
|
||||
// by Java.
|
||||
Range CommentRange `json:"range"`
|
||||
|
||||
// The content which should be used instead of the current one.
|
||||
Replacement string `json:"replacement,omitempty"`
|
||||
}
|
||||
|
||||
// DiffIntralineInfo entity contains information about intraline edits in a file.
|
||||
//
|
||||
// The information consists of a list of <skip length, mark length> pairs,
|
||||
@@ -332,16 +401,16 @@ type RevisionInfo struct {
|
||||
|
||||
// CommentInfo entity contains information about an inline comment.
|
||||
type CommentInfo struct {
|
||||
PatchSet int `json:"patch_set,omitempty"`
|
||||
ID string `json:"id"`
|
||||
Path string `json:"path,omitempty"`
|
||||
Side string `json:"side,omitempty"`
|
||||
Line int `json:"line,omitempty"`
|
||||
Range CommentRange `json:"range,omitempty"`
|
||||
InReplyTo string `json:"in_reply_to,omitempty"`
|
||||
Message string `json:"message,omitempty"`
|
||||
Updated Timestamp `json:"updated"`
|
||||
Author AccountInfo `json:"author,omitempty"`
|
||||
PatchSet int `json:"patch_set,omitempty"`
|
||||
ID string `json:"id"`
|
||||
Path string `json:"path,omitempty"`
|
||||
Side string `json:"side,omitempty"`
|
||||
Line int `json:"line,omitempty"`
|
||||
Range *CommentRange `json:"range,omitempty"`
|
||||
InReplyTo string `json:"in_reply_to,omitempty"`
|
||||
Message string `json:"message,omitempty"`
|
||||
Updated *Timestamp `json:"updated"`
|
||||
Author AccountInfo `json:"author,omitempty"`
|
||||
}
|
||||
|
||||
// QueryOptions specifies global parameters to query changes / reviewers.
|
||||
|
||||
2
vendor/github.com/andygrunwald/go-gerrit/gometalinter.json
generated
vendored
2
vendor/github.com/andygrunwald/go-gerrit/gometalinter.json
generated
vendored
@@ -12,7 +12,7 @@
|
||||
"goconst",
|
||||
"errcheck",
|
||||
"interfacer",
|
||||
"gas",
|
||||
"gosec",
|
||||
"unconvert",
|
||||
"testify",
|
||||
"unparam",
|
||||
|
||||
Reference in New Issue
Block a user