Skip to content

Commit 1d5048e

Browse files
committed
devapp: also hide open reviews with the tag "wait-release"
Updates golang/go#24836 Change-Id: I7b739a54dec374d60e66bf083cd41c1879500ed3 Reviewed-on: https://go-review.googlesource.com/113536 Reviewed-by: Bryan C. Mills <[email protected]>
1 parent 65a9d98 commit 1d5048e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

devapp/reviews.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ 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") {
120+
tags := cl.Meta.Hashtags()
121+
if tags.Contains("wait-author") || tags.Contains("wait-release") {
121122
return nil
122123
}
123124
c := &change{GerritCL: cl}

devapp/templates/reviews.tmpl

Lines changed: 1 addition & 1 deletion
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 hashtag "wait-author" or description containing “DO NOT REVIEW” or “DO NOT SUBMIT”
57+
Excluding those with hashtags "wait-author", "wait-release", or description with “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>

0 commit comments

Comments
 (0)