diff options
author | Michael Muré <batolettre@gmail.com> | 2019-07-26 17:01:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-26 17:01:00 +0200 |
commit | 00402f1cece6270d5caccee04f0ccbb6dbe87004 (patch) | |
tree | e6f4ed9f925f1bf6edafa4e0277b9ab5a18ad53b | |
parent | 9ecbcb1cf6348b95b31ccef3f9722be078dbe223 (diff) | |
parent | 5327983b7adb88b3a88a4cefabb568796ead2ea9 (diff) | |
download | git-bug-00402f1cece6270d5caccee04f0ccbb6dbe87004.tar.gz |
Merge pull request #186 from A-Hilaly/gitlab-import-fix
bridge/gitlab: handle all known notes types
-rw-r--r-- | bridge/gitlab/import.go | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bridge/gitlab/import.go b/bridge/gitlab/import.go index 8f4ceec9..e9426016 100644 --- a/bridge/gitlab/import.go +++ b/bridge/gitlab/import.go @@ -248,7 +248,15 @@ func (gi *gitlabImporter) ensureNote(repo *cache.RepoCache, b *cache.BugCache, n return err - case NOTE_UNKNOWN: + case NOTE_UNKNOWN, + NOTE_ASSIGNED, + NOTE_UNASSIGNED, + NOTE_CHANGED_MILESTONE, + NOTE_REMOVED_MILESTONE, + NOTE_CHANGED_DUEDATE, + NOTE_REMOVED_DUEDATE, + NOTE_LOCKED, + NOTE_UNLOCKED: return nil default: |