@@ -226,14 +226,23 @@ func issuesAndChanges(repo *maintner.GitHubRepo, gerrit *maintner.Gerrit) map[st return nil } prefixedTitle := firstParagraph(cl.Commit.Msg) pkgs, title := ParsePrefixedChangeTitle(root, prefixedTitle) var labels []issues.Label cl.Meta.Hashtags().Foreach(func(name string) { labels = append(labels, issues.Label{ Name: name, Color: issues.RGB{R: 0xed, G: 0xed, B: 0xed}, // Light gray. }) }) sort.Slice(labels, func(i, j int) bool { return labels[i].Name < labels[j].Name }) c := change.Change{ ID: uint64(cl.Number), State: state, Title: title, Labels: labels, Author: gitUser(cl.Commit.Author), CreatedAt: cl.Created, Replies: len(cl.Messages), }