Skip to content

Commit 6e90891

Browse files
committed
devapp: hide CLs with hashtag wait-author
Updates golang/go#24836 Change-Id: I9964dc7ec2de21201b9258709803623482aa4104 Reviewed-on: https://go-review.googlesource.com/108219 Reviewed-by: Andrew Bonventre <[email protected]>
1 parent 32ada1b commit 6e90891

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

devapp/reviews.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ func (s *server) updateReviewsData() {
117117
if strings.Contains(cl.Commit.Msg, "DO NOT REVIEW") || strings.Contains(cl.Commit.Msg, "DO NOT SUBMIT") {
118118
return nil
119119
}
120+
if cl.Meta.Hashtags().Contains("wait-author") {
121+
return nil
122+
}
120123
c := &change{GerritCL: cl}
121124
c.LastUpdate = cl.Commit.CommitTime
122125
if len(cl.Messages) > 0 {

devapp/templates/reviews.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ header {
5454
<header>
5555
<strong>{{.TotalChanges}} open changes</strong>
5656
<div class="header-subtitle">
57-
Excluding those with “DO NOT REVIEW” and “DO NOT SUBMIT” in the change description
57+
Excluding those with hashtag "wait-author" or description containing “DO NOT REVIEW” or “DO NOT SUBMIT”
5858
</div>
5959
<div class="header-subtitle">
6060
<a href="https://go.googlesource.com/build/+/master/devapp/reviews.go">Source code</a>
@@ -74,4 +74,4 @@ header {
7474
</div>
7575
{{end}}
7676
{{end}}
77-
{{end}}
77+
{{end}}

0 commit comments

Comments
 (0)