Get desktop application:
View/edit binary Protocol Buffers messages
BoolChange represents a change to a boolean value. (Notably, the wrapper type permits representing a change to false.)
Used in:
,Used in:
Project is the Gerrit server and project, without scheme (https implied) or trailing slash.
"go.googlesource.com/go", "go.googlesource.com/net", etc
Commits to add.
git refs to update.
deleted_refs are ref names to delete.
Used in:
,the full lowercase 40-hex-byte sha1 sum
raw is the "git cat-file commit $sha1" output.
git diff-tree --numstat oldtree newtree
Used in:
GitDiffTreeFile represents one line of `git diff-tree --numstat` output.
Used in:
Used in:
commit adds a commit, or adds new information to a commit if fields are added in the future.
Used in:
ref is the git ref name, such as: HEAD refs/heads/master refs/changes/00/14700/1 refs/changes/00/14700/meta refs/meta/config
sha1 is the lowercase hex sha1
GitRepo identifies a git repo being mutated.
Used in:
If go_repo is set, it identifies a go.googlesource.com/<go_repo> repo.
Used in:
"golang"
"go"
"0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33"
Contents of a dismissed review event - when someone leaves a review requesting changes and someone else dismisses it. See https://developer.github.com/v3/issues/events for more information.
Used in:
ID of the review being dismissed
commented, approved, changes_requested
Used in:
not present in edits later
may not be present in edits later (if only reactions changed? TODO: investigate)
not present in edits later
See https://developer.github.com/v3/activity/events/types/#issuesevent for some info.
Used in:
Required:
event_type can be one of "assigned", "unassigned", "labeled", "unlabeled", "opened", "edited", "milestoned", "demilestoned", "closed", "reopened", "referenced", "renamed" or anything else that Github adds in the future.
time of the event
label is populated for "labeled" and "unlabeled" events. The label will usually not have an ID, due to Github's API not returning one.
milestone is populated for "milestoned" and "demilestoned" events. The label will usually not have an ID, due to Github's API not returning one.
For "assigned", "unassigned":
always same as actor_id it seems? Github API doesn't say.
For "referenced", "closed":
For "renamed" events:
Contents of a dismissed review event, see dismissed_review in https://developer.github.com/v3/issues/events/ for more info
other_json is usually empty. If Github adds event types or fields in the future, this captures those added fields. If non-empty it will be a JSON object with the fields that weren't understood.
Used in:
"golang"
"go"
1, 2, 3... (not the ID)
not_exist is set true if the issue has been found to not exist. If true, the owner/repo/number fields above must still be set. If a future issue mutation for the same number arrives without not_exist set, then the issue comes back to life.
unique across all repos
only set for new/updated issues, not new comments
who the issue is assigned to
IDs of users to delete from the assignee list
only needed on new issues
only set on updated issue text
issue title
body_change changes the body field (the top post, which isn't a comment). It is now used in preference to the old body field.
body was the old way to change the body, but it doesn't support removing the body text, which is common on PRs. New mutations use body_change instead.
true unsets any previously-set milestone; false ignored.
When setting a milestone, only the milestone_id must be set. TODO: allow num or title to be used if Github only returns those? So far unneeded. The num and title, if non-zero, are treated as if they were a GithubMutation.Milestone update.
sets milestone to this milestone id (e.g. 2386495, global?)
sets milestone to this milestone number (e.g. 2, per-repo)
true is the issue is a Pull Request
label IDs to remove
new events to add
new reviews to add
GithubIssueSyncStatus notes where syncing is at for comments on an issue, This mutation type is only made at/after the same top-level mutation which created the corresponding comments.
Used in:
server_date is the "Date" response header from Github for the final HTTP response.
Used in:
, ,Used in:
,required
Following only need to be non-zero on changes:
Used in:
"golang"
"go"
Updated labels. (All must have id set at least)
Updated milestones. (All must have id set at least)
Contents of a pull request review - when someone comments, requests changes, or approves changes on a pull request. See https://developer.github.com/v3/pulls/reviews/ for more information.
Used in:
Required:
time of the event
body of the review comment
COMMENTED, APPROVED, CHANGES_REQUESTED
other_json is usually empty.
Used in:
Used in:
,issue-specific changes
labels, milestones (not issue-specific)
StringChange represents a change to a boolean value. (Notably, the wrapper type permits representing a change to the empty string.)
Used in: