-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/build/devapp: duplicate CL lines on /release page #26113
Comments
/cc @dmitshur |
This seems to happen when the CL description mentions the same issue more than once. For example, here's a current occurrence of this bug: Here's the commit message of CL 26650 mentioning that issue twice: Seems like a straightforward bug to fix; I'll use it as a warm up. |
corpus, err := godata.Get(context.Background())
if err != nil {
return err
}
proj := corpus.Gerrit().Project("go.googlesource.com", "sys")
cl := proj.CL(26650)
for _, ref := range cl.GitHubIssueRefs {
fmt.Println(ref.Repo.ID(), ref.Number)
}
// Output:
// golang/go 14873
// golang/go 14873 While it's possible to deduplicate these lines in devapp-only, I suspect a better fix is to deduplicate them in (At least at this time, |
Change https://golang.org/cl/128119 mentions this issue: |
I just noticed duplicate lines for an open CL:
The text was updated successfully, but these errors were encountered: