Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(600)

Side by Side Diff: go/src/infra/monorail/monorail.go

Issue 2037143002: Monorail client in Go (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: more tests Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « go/src/infra/monorail/generate.go ('k') | go/src/infra/monorail/monorail.infra_testing » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package monorail
6
7 import "fmt"
8
9 // AuthScope is OAuth 2.0 auth scope used by Monorail.
10 const AuthScope = "https://www.googleapis.com/auth/userinfo.email"
11
12 // LabelRestrictViewGoogle specifies that an issue must be visible to googlers o nly.
13 const LabelRestrictViewGoogle = "Restrict-View-Google"
14
15 var errGrpcOptions = fmt.Errorf("options are not supported")
16
17 // IssueURL returns a URL to human-consumable HTML page for the issue.
18 func IssueURL(host, project string, id int32) string {
19 return fmt.Sprintf("https://%s/p/%s/issues/detail?id=%d", host, project, id)
20 }
21
22 // Standard issue statuses.
23 const (
24 // Open statuses:
25
26 // Unconrimed means the issue is new, has been not verified or reproduce d..
27 StatusUnconfirmed = "Unconfirmed"
28 // Untriaged means the issue is confirmed, not reviews for priority of a ssignment.
29 StatusUntriaged = "Untriaged"
30 // Available means the issue is triaged, but no owner assigned.
31 StatusAvailable = "Available"
32 // Started means the work in progress..
33 StatusStarted = "Started"
34 // ExternalDependency means the issue requires action from a third party .
35 StatusExternalDependency = "ExternalDependency"
36
37 // Closed statuses
38
39 // Fixed means work completed, needs verificaiton
40 StatusFixed = "Fixed"
41 // Verified means test or reporter verified that the fix works
42 StatusVerified = "Verified"
43 // Duplicate means same root cause as another issue
44 StatusDuplicate = "Duplicate"
45 // WontFix means cannot reproduce, works as intended, invalid or absole te.
46 StatusWontFix = "WontFix"
47 // Archived means old issue with no activity.
48 StatusArchived = "Archived"
49 )
OLDNEW
« no previous file with comments | « go/src/infra/monorail/generate.go ('k') | go/src/infra/monorail/monorail.infra_testing » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698