aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-01-17 20:17:23 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-01-17 20:17:23 +0100
commitfbc4659e78815d9c7685100efdaa3e8361a608d9 (patch)
tree564b6336f19f0fc7cd434f201b54438bb7ce7853
parentd7bc58204ea84ccb2ed541dd26a6b6d8bc326f5d (diff)
syz-ci: disable fix commit extraction for mmots
mmots contains weird squashed commits titled "linux-next" or "origin", which contain hundreds of other commits. This makes fix attribution totally broken. Obviously need something better long term, but also need to fight fire now.
-rw-r--r--syz-ci/manager.go22
1 files changed, 13 insertions, 9 deletions
diff --git a/syz-ci/manager.go b/syz-ci/manager.go
index 653131848..faa5a43d7 100644
--- a/syz-ci/manager.go
+++ b/syz-ci/manager.go
@@ -551,15 +551,19 @@ func (mgr *Manager) pollCommits(buildCommit string) ([]string, []dashapi.FixComm
}
var fixCommits []dashapi.FixCommit
if resp.ReportEmail != "" {
- commits, err := git.ExtractFixTagsFromCommits(mgr.kernelDir, buildCommit, resp.ReportEmail)
- if err != nil {
- return nil, nil, err
- }
- for _, com := range commits {
- fixCommits = append(fixCommits, dashapi.FixCommit{
- Title: com.Title,
- BugID: com.Tag,
- })
+ // TODO(dvyukov): mmots contains weird squashed commits titled "linux-next" or "origin",
+ // which contain hundreds of other commits. This makes fix attribution totally broken.
+ if mgr.mgrcfg.Repo != "git://git.cmpxchg.org/linux-mmots.git" {
+ commits, err := git.ExtractFixTagsFromCommits(mgr.kernelDir, buildCommit, resp.ReportEmail)
+ if err != nil {
+ return nil, nil, err
+ }
+ for _, com := range commits {
+ fixCommits = append(fixCommits, dashapi.FixCommit{
+ Title: com.Title,
+ BugID: com.Tag,
+ })
+ }
}
}
return present, fixCommits, nil