Lines Matching refs:bug
33 bug, bugKey, err := findBugByReportingID(c, bugID)
42 bugReporting, _ := bugReportingByID(bug, bugID)
43 …reply, err := addTestJob(c, bug, bugKey, bugReporting, user, extID, link, patch, repo, branch, job…
53 bug := new(Bug)
54 if err := datastore.Get(c, bugKey, bug); err != nil {
57 bugReporting = bugReportingByName(bug, bugReporting.Name)
61 if _, err := datastore.Put(c, bugKey, bug); err != nil {
77 func addTestJob(c context.Context, bug *Bug, bugKey *datastore.Key, bugReporting *BugReporting,
79 crash, crashKey, err := findCrashForBug(c, bug)
83 if reason := checkTestJob(c, bug, bugReporting, crash, repo, branch); reason != "" {
100 patchID, err := putText(c, bug.Namespace, textPatch, []byte(patch), false)
112 Namespace: bug.Namespace,
114 BugTitle: bug.displayTitle(),
166 func checkTestJob(c context.Context, bug *Bug, bugReporting *BugReporting, crash *Crash,
177 case bug.Status == BugStatusFixed:
179 case bug.Status == BugStatusInvalid:
369 bug := new(Bug)
370 if err := datastore.Get(c, jobKey.Parent(), bug); err != nil {
373 bugReporting := bugReportingByName(bug, job.Reporting)
383 Title: bug.displayTitle(),