aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab/import.go
diff options
context:
space:
mode:
authorAmine Hilaly <hilalyamine@gmail.com>2019-07-19 18:56:58 +0200
committerAmine Hilaly <hilalyamine@gmail.com>2019-07-23 17:18:04 +0200
commitb9a533804940989617890b84d5008e8bb7c8e15b (patch)
tree71b3dc66c2e7a2f1396dd4e87860c63afff5f4e3 /bridge/gitlab/import.go
parent7726bbdbcf8aa49548ecbcfc323b47b0ec034f54 (diff)
downloadgit-bug-b9a533804940989617890b84d5008e8bb7c8e15b.tar.gz
bridge/gitlab: move constants to gitlab.go
Diffstat (limited to 'bridge/gitlab/import.go')
-rw-r--r--bridge/gitlab/import.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/bridge/gitlab/import.go b/bridge/gitlab/import.go
index 93ad8570..6227767b 100644
--- a/bridge/gitlab/import.go
+++ b/bridge/gitlab/import.go
@@ -14,10 +14,6 @@ import (
"github.com/MichaelMure/git-bug/util/text"
)
-const (
- keyGitlabLogin = "gitlab-login"
-)
-
type gitlabImporter struct {
conf core.Configuration
@@ -170,7 +166,7 @@ func (gi *gitlabImporter) ensureNote(repo *cache.RepoCache, b *cache.BugCache, n
// since gitlab doesn't provide the issue history
// we should check for "changed the description" notes and compare issue texts
-
+ // TODO: Check only one time and ignore next 'description change' within one issue
if issue.Description != b.Snapshot().Comments[0].Message {
// comment edition