~ubuntu-branches/ubuntu/vivid/golang/vivid

« back to all changes in this revision

Viewing changes to misc/dashboard/codereview/dashboard/people.go

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-08-20 14:06:23 UTC
  • mfrom: (14.1.23 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130820140623-b414jfxi3m0qkmrq
Tags: 2:1.1.2-2ubuntu1
* Merge from Debian unstable (LP: #1211749, #1202027). Remaining changes:
  - 016-armhf-elf-header.patch: Use correct ELF header for armhf binaries.
  - d/control,control.cross: Update Breaks/Replaces for Ubuntu
    versions to ensure smooth upgrades, regenerate control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright 2012 The Go Authors. All rights reserved.
 
2
// Use of this source code is governed by a BSD-style
 
3
// license that can be found in the LICENSE file.
 
4
 
 
5
package dashboard
 
6
 
 
7
// This file handles identities of people.
 
8
 
 
9
import (
 
10
        "sort"
 
11
)
 
12
 
 
13
var (
 
14
        emailToPerson  = make(map[string]string) // email => person
 
15
        preferredEmail = make(map[string]string) // person => email
 
16
        personList     []string
 
17
)
 
18
 
 
19
func init() {
 
20
        // People we assume have golang.org and google.com accounts,
 
21
        // and prefer to use their golang.org address for code review.
 
22
        gophers := [...]string{
 
23
                "adg",
 
24
                "agl",
 
25
                "bradfitz",
 
26
                "campoy",
 
27
                "dsymonds",
 
28
                "gri",
 
29
                "iant",
 
30
                "nigeltao",
 
31
                "r",
 
32
                "rsc",
 
33
                "sameer",
 
34
        }
 
35
        for _, p := range gophers {
 
36
                personList = append(personList, p)
 
37
                emailToPerson[p+"@golang.org"] = p
 
38
                emailToPerson[p+"@google.com"] = p
 
39
                preferredEmail[p] = p + "@golang.org"
 
40
        }
 
41
        // Other people.
 
42
        others := map[string]string{
 
43
                "adonovan": "adonovan@google.com",
 
44
                "brainman": "alex.brainman@gmail.com",
 
45
                "ality":    "ality@pbrane.org",
 
46
                "dfc":      "dave@cheney.net",
 
47
                "dvyukov":  "dvyukov@google.com",
 
48
                "gustavo":  "gustavo@niemeyer.net",
 
49
                "jsing":    "jsing@google.com",
 
50
                "mikio":    "mikioh.mikioh@gmail.com",
 
51
                "minux":    "minux.ma@gmail.com",
 
52
                "remy":     "remyoudompheng@gmail.com",
 
53
                "rminnich": "rminnich@gmail.com",
 
54
        }
 
55
        for p, e := range others {
 
56
                personList = append(personList, p)
 
57
                emailToPerson[e] = p
 
58
                preferredEmail[p] = e
 
59
        }
 
60
 
 
61
        sort.Strings(personList)
 
62
}