Open bradfitz opened 6 years ago
Change https://golang.org/cl/106795 mentions this issue: gerrit: add support for hashtags
Also wait-issue-NNNNN
. I guess the number can be implicit when the issue is linked from the commit message.
@FiloSottile, yup, I just found that too and just tagged an issue with that, for a CL that had an open proposal but wasn't mentioned in the commit message.
Change https://golang.org/cl/107297 mentions this issue: maintner: add hashtag mutation accessors on GerritMeta
Change https://golang.org/cl/107305 mentions this issue: maintner: track hashtag edits on GerritMeta, make HashtagEdits method faster
I think I must be missing something, but how do I add hashtags from the Gerrit UI?
@bcmills, left bar of the PolyGerrit UI:
Or for the old UI, that little icon on the right:
I see the ADD HASHTAG
button on my own changes, but not on other changes. Is that expected?
Yes. We haven't modified the default permissions yet to give our Approvers group edit access.
Sent change modifying our Gerrit config in https://go-review.googlesource.com/c/All-Projects/+/107556
[access "refs/heads/*"]
...
editTopicName = group approvers
label-Run-TryBot = +0..+1 group approvers
label-Run-TryBot = +0..+1 group may-start-trybots
label-TryBot-Result = -1..+1 group trybot-result-changers
editHashtags = group approvers
... adding that last line.
@bcmills, submitted.
Change https://golang.org/cl/108218 mentions this issue: cmd/gopherbot: remove the wait-author hashtags from CLs when author replies
Change https://golang.org/cl/108219 mentions this issue: devapp: hide CLs with hashtag wait-author
Change https://golang.org/cl/113536 mentions this issue: devapp: also hide open reviews with the tag "wait-release"
@bradfitz is there some note/doc explaining how these "Gerrit hashtags" are used in the Go project? I searched the wiki for "hashtag" but I couldn't find anything.
I've seen people tagging CLs (mostly with wait-release
) but I still don't understand what exactly means to do that, what's the full list of the available hashtags, how hashtags are supposed to be used, how they integrate with the infrastructure and the dashboards, and whether wait-release
supersedes the old R=go1.12 syntax.
Change https://golang.org/cl/158578 mentions this issue: devapp: hide CLs with +2 Core-Review, any "wait-*" hashtag
I don't see any associated CLs to remove wait-issue
tags.
I think we should remove wait-issue-NNNNN
when issue NNNNN either is closed or receives a NeedsFix
or Proposal-Accepted
label.
I don't think we need or want wait-issue-NNNN
. I think it should only be implicit. That also means I can add wait-issue
on CLs that add code or API with an associated issue.
The wait-issue
would only be removed once an issue is referenced and NeedsFix-ed or Proposal-Accepted.
@ALTree, yes, wait-release
replaces the old R=go1.12 syntax.
This indeed all needs documentation.
Change https://go.dev/cl/391734 mentions this issue: cmd/gopherbot: don't autosubmit CLs with wait-release
In chat with @andybons @FiloSottile @bcmills and @ianlancetaylor yesterday, I proposed we start using Gerrit's "hashtags" support, now that our hosted Gerrit supports it (notedb support is active for us) and PolyGerrit (the new web UI) supports it.
After discussion, we settled on using tags:
While triaging today, I found we should also add support for:
I started looking into adding hashtag support to maintner and gopherbot.
Tracking that work here, then documenting all this on the wiki.