dmitri.shuralyov.com/service/change

add CommitEvent event type

This results in a more complete and readable timeline.

Populate it from Gerrit CLs. It's helpful to see when
new patch sets have been uploaded in between comments.

It's not supported by other change.Service implementations
yet, but that can be done when there's some demand for it.
dmitshur committed 4 years ago commit bd27112db59ba9f1e01f6d1e36ea7715c9dde98c
Showing partial commit. Full Commit
Collapse all
timeline.go
@@ -74,10 +74,16 @@ type (
	RenamedEvent struct {
		From string
		To   string
	}

	// CommitEvent is when a change gets a new commit.
	CommitEvent struct {
		SHA     string
		Subject string
	}

	// LabeledEvent is when a change is labeled.
	LabeledEvent struct {
		Label issues.Label
	}
	// UnlabeledEvent is when a change is unlabeled.