Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Simple tags Assigned = Tag{ID: "assigned", Desc: "Someone is assigned"} Closed = Tag{ID: "closed", Desc: "This item has been closed"} OpenMilestone = Tag{ID: "open-milestone", Desc: "The issue is associated to an open milestone"} Similar = Tag{ID: "similar", Desc: "Title appears similar to another PR or issue"} Merged = Tag{ID: "merged", Desc: "PR was merged"} Draft = Tag{ID: "draft", Desc: "Draft PR"} // Comment-based tags Commented = Tag{ID: "commented", Desc: "A project member has commented on this", NeedsComments: true} Send = Tag{ID: "send", Desc: "A project member commented more recently than the author", NeedsComments: true} Recv = Tag{ID: "recv", Desc: "The author commented more recently than a project member", NeedsComments: true} RecvQ = Tag{ID: "recv-q", Desc: "The author has asked a question since the last project member commented", NeedsComments: true} AuthorLast = Tag{ID: "author-last", Desc: "The last commenter was the original author", NeedsComments: true} AssigneeUpdated = Tag{ID: "assignee-updated", Desc: "Issue has been updated by its assignee", NeedsComments: true} // Timeline-based tags XrefApproved = Tag{ID: "pr-approved", Desc: "Last review was an approval", NeedsTimeline: true} XrefReviewedWithComment = Tag{ID: "pr-reviewed-with-comment", Desc: "Last review was a comment", NeedsTimeline: true} XrefChangesRequested = Tag{ID: "pr-changes-requested", Desc: "Last review was a request for changes", NeedsTimeline: true} XrefNewCommits = Tag{ID: "pr-new-commits", Desc: "PR has commits since the last review", NeedsTimeline: true} XrefPushedAfterApproval = Tag{ID: "pr-pushed-after-approval", Desc: "PR was pushed to after approval", NeedsTimeline: true} XrefUnreviewed = Tag{ID: "pr-unreviewed", Desc: "PR has never been reviewed", NeedsTimeline: true} // Review-based tags Approved = Tag{ID: "approved", Desc: "Last review was an approval", NeedsReviews: true} ReviewedWithComment = Tag{ID: "reviewed-with-comment", Desc: "Last review was a comment", NeedsReviews: true} ChangesRequested = Tag{ID: "changes-requested", Desc: "Last review was a request for changes", NeedsReviews: true} NewCommits = Tag{ID: "new-commits", Desc: "PR has commits since the last review", NeedsReviews: true} PushedAfterApproval = Tag{ID: "pushed-after-approval", Desc: "PR was pushed to after approval", NeedsReviews: true} Unreviewed = Tag{ID: "unreviewed", Desc: "PR has never been reviewed", NeedsReviews: true} // Special None = Tag{ID: "none", Desc: "No tag matched", NeedsComments: true, NeedsReviews: true, NeedsTimeline: true} )
View Source
var Tags = map[Tag]bool{ Assigned: true, Closed: true, OpenMilestone: true, Similar: true, Merged: true, Draft: true, Commented: true, Send: true, Recv: true, RecvQ: true, AuthorLast: true, AssigneeUpdated: true, Approved: true, ReviewedWithComment: true, ChangesRequested: true, NewCommits: true, PushedAfterApproval: true, Unreviewed: true, XrefApproved: true, XrefReviewedWithComment: true, XrefChangesRequested: true, XrefNewCommits: true, XrefPushedAfterApproval: true, XrefUnreviewed: true, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.