cornelk / gitlab2gitea

Migration tool from GitLab to Gitea
MIT License
26 stars 8 forks source link

Install fails #3

Closed raketentimo closed 4 years ago

raketentimo commented 4 years ago

go version go version go1.14.4 linux/amd64

go get -v github.com/cornelk/gitlab2gitea github.com/cornelk/gitlab2gitea (download) get "code.gitea.io/sdk/gitea": found meta tag get.metaImport{Prefix:"code.gitea.io/sdk", VCS:"git", RepoRoot:"https://gitea.com/gitea/go-sdk"} at //code.gitea.io/sdk/gitea?go-get=1 get "code.gitea.io/sdk/gitea": verifying non-authoritative meta tag code.gitea.io/sdk (download) github.com/hashicorp/go-version (download) github.com/spf13/cobra (download) github.com/spf13/pflag (download) github.com/spf13/viper (download) github.com/fsnotify/fsnotify (download) get "golang.org/x/sys/unix": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at //golang.org/x/sys/unix?go-get=1 get "golang.org/x/sys/unix": verifying non-authoritative meta tag golang.org/x/sys (download) github.com/hashicorp/hcl (download) github.com/magiconair/properties (download) github.com/mitchellh/mapstructure (download) github.com/pelletier/go-toml (download) github.com/spf13/afero (download) get "golang.org/x/text/transform": found meta tag get.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at //golang.org/x/text/transform?go-get=1 get "golang.org/x/text/transform": verifying non-authoritative meta tag golang.org/x/text (download) get "golang.org/x/text/unicode/norm": found meta tag get.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at //golang.org/x/text/unicode/norm?go-get=1 get "golang.org/x/text/unicode/norm": verifying non-authoritative meta tag github.com/spf13/cast (download) github.com/spf13/jwalterweatherman (download) github.com/subosito/gotenv (download) get "gopkg.in/ini.v1": found meta tag get.metaImport{Prefix:"gopkg.in/ini.v1", VCS:"git", RepoRoot:"https://gopkg.in/ini.v1"} at //gopkg.in/ini.v1?go-get=1 gopkg.in/ini.v1 (download) get "gopkg.in/yaml.v2": found meta tag get.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v2"} at //gopkg.in/yaml.v2?go-get=1 gopkg.in/yaml.v2 (download) github.com/xanzy/go-gitlab (download) github.com/google/go-querystring (download) github.com/hashicorp/go-cleanhttp (download) github.com/hashicorp/go-retryablehttp (download) get "golang.org/x/oauth2": found meta tag get.metaImport{Prefix:"golang.org/x/oauth2", VCS:"git", RepoRoot:"https://go.googlesource.com/oauth2"} at //golang.org/x/oauth2?go-get=1 golang.org/x/oauth2 (download) get "golang.org/x/net/context/ctxhttp": found meta tag get.metaImport{Prefix:"golang.org/x/net", VCS:"git", RepoRoot:"https://go.googlesource.com/net"} at //golang.org/x/net/context/ctxhttp?go-get=1 get "golang.org/x/net/context/ctxhttp": verifying non-authoritative meta tag golang.org/x/net (download) get "golang.org/x/time/rate": found meta tag get.metaImport{Prefix:"golang.org/x/time", VCS:"git", RepoRoot:"https://go.googlesource.com/time"} at //golang.org/x/time/rate?go-get=1 get "golang.org/x/time/rate": verifying non-authoritative meta tag golang.org/x/time (download) get "go.uber.org/zap": found meta tag get.metaImport{Prefix:"go.uber.org/zap", VCS:"git", RepoRoot:"https://github.com/uber-go/zap"} at //go.uber.org/zap?go-get=1 go.uber.org/zap (download) get "go.uber.org/atomic": found meta tag get.metaImport{Prefix:"go.uber.org/atomic", VCS:"git", RepoRoot:"https://github.com/uber-go/atomic"} at //go.uber.org/atomic?go-get=1 go.uber.org/atomic (download) get "go.uber.org/multierr": found meta tag get.metaImport{Prefix:"go.uber.org/multierr", VCS:"git", RepoRoot:"https://github.com/uber-go/multierr"} at //go.uber.org/multierr?go-get=1 go.uber.org/multierr (download) github.com/cornelk/gitlab2gitea

github.com/cornelk/gitlab2gitea

../../go/src/github.com/cornelk/gitlab2gitea/main.go:116:9: assignment mismatch: 1 variable but gitlab.NewClient returns 2 values ../../go/src/github.com/cornelk/gitlab2gitea/main.go:116:28: cannot use nil as type string in argument to gitlab.NewClient ../../go/src/github.com/cornelk/gitlab2gitea/main.go:116:28: cannot use gitlabToken (type string) as type gitlab.ClientOptionFunc in argument to gitlab.NewClient ../../go/src/github.com/cornelk/gitlab2gitea/main.go:253:4: cannot use promoted field ListOptions.Page in struct literal of type gitlab.ListLabelsOptions ../../go/src/github.com/cornelk/gitlab2gitea/main.go:254:4: cannot use promoted field ListOptions.PerPage in struct literal of type gitlab.ListLabelsOptions ../../go/src/github.com/cornelk/gitlab2gitea/main.go:392:52: not enough arguments in call to m.gitea.ListRepoMilestones have (string, string) want (string, string, gitea.ListMilestoneOption) ../../go/src/github.com/cornelk/gitlab2gitea/main.go:405:44: not enough arguments in call to m.gitea.ListRepoLabels have (string, string) want (string, string, gitea.ListLabelsOptions) ../../go/src/github.com/cornelk/gitlab2gitea/main.go:421:4: cannot use promoted field ListOptions.Page in struct literal of type gitea.ListIssueOption