diff options
author | Sandro Santilli <strk@kbt.io> | 2016-11-10 17:24:48 +0100 |
---|---|---|
committer | Thibault Meyer <0xbaadf00d@users.noreply.github.com> | 2016-11-10 17:24:48 +0100 |
commit | 4247304f5aeb791e3e201947478eef4964744146 (patch) | |
tree | 47a27cdaafe235512921fb1aba4a5c6738e4c384 /modules | |
parent | 1c0a4e166fc3c37ebed528fc41b1cbca5a00556d (diff) | |
download | gitea-4247304f5aeb791e3e201947478eef4964744146.tar.gz gitea-4247304f5aeb791e3e201947478eef4964744146.zip |
Update import paths from github.com/go-gitea to code.gitea.io (#135)
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
Diffstat (limited to 'modules')
-rw-r--r-- | modules/auth/auth.go | 8 | ||||
-rw-r--r-- | modules/auth/ldap/ldap.go | 2 | ||||
-rw-r--r-- | modules/auth/repo_form.go | 2 | ||||
-rw-r--r-- | modules/base/tool.go | 4 | ||||
-rw-r--r-- | modules/base/tool_test.go | 2 | ||||
-rw-r--r-- | modules/context/api.go | 6 | ||||
-rw-r--r-- | modules/context/api_org.go | 2 | ||||
-rw-r--r-- | modules/context/auth.go | 4 | ||||
-rw-r--r-- | modules/context/context.go | 10 | ||||
-rw-r--r-- | modules/context/org.go | 4 | ||||
-rw-r--r-- | modules/context/repo.go | 8 | ||||
-rw-r--r-- | modules/cron/cron.go | 6 | ||||
-rw-r--r-- | modules/mailer/mailer.go | 4 | ||||
-rw-r--r-- | modules/markdown/markdown.go | 4 | ||||
-rw-r--r-- | modules/markdown/markdown_test.go | 4 | ||||
-rw-r--r-- | modules/process/manager.go | 2 | ||||
-rw-r--r-- | modules/setting/setting.go | 6 | ||||
-rw-r--r-- | modules/ssh/ssh.go | 6 | ||||
-rw-r--r-- | modules/template/highlight/highlight.go | 2 | ||||
-rw-r--r-- | modules/template/template.go | 10 |
20 files changed, 48 insertions, 48 deletions
diff --git a/modules/auth/auth.go b/modules/auth/auth.go index c19bffe710..2444a3ad1f 100644 --- a/modules/auth/auth.go +++ b/modules/auth/auth.go @@ -15,10 +15,10 @@ import ( gouuid "github.com/satori/go.uuid" "gopkg.in/macaron.v1" - "github.com/go-gitea/gitea/models" - "github.com/go-gitea/gitea/modules/base" - "github.com/go-gitea/gitea/modules/log" - "github.com/go-gitea/gitea/modules/setting" + "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/base" + "code.gitea.io/gitea/modules/log" + "code.gitea.io/gitea/modules/setting" ) func IsAPIPath(url string) bool { diff --git a/modules/auth/ldap/ldap.go b/modules/auth/ldap/ldap.go index 116feecc8b..e2cbf18d98 100644 --- a/modules/auth/ldap/ldap.go +++ b/modules/auth/ldap/ldap.go @@ -13,7 +13,7 @@ import ( "gopkg.in/ldap.v2" - "github.com/go-gitea/gitea/modules/log" + "code.gitea.io/gitea/modules/log" ) type SecurityProtocol int diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index bd5c49c77e..a8fd06ae46 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -9,7 +9,7 @@ import ( "strings" "github.com/Unknwon/com" - "github.com/go-gitea/gitea/models" + "code.gitea.io/gitea/models" "github.com/go-macaron/binding" macaron "gopkg.in/macaron.v1" ) diff --git a/modules/base/tool.go b/modules/base/tool.go index 3cc8bbabae..5b907a0fdd 100644 --- a/modules/base/tool.go +++ b/modules/base/tool.go @@ -24,8 +24,8 @@ import ( "github.com/Unknwon/com" "github.com/Unknwon/i18n" - "github.com/go-gitea/gitea/modules/log" - "github.com/go-gitea/gitea/modules/setting" + "code.gitea.io/gitea/modules/log" + "code.gitea.io/gitea/modules/setting" "github.com/gogits/chardet" ) diff --git a/modules/base/tool_test.go b/modules/base/tool_test.go index 093e479a38..ec839e5e10 100644 --- a/modules/base/tool_test.go +++ b/modules/base/tool_test.go @@ -3,7 +3,7 @@ package base import ( "testing" - "github.com/go-gitea/gitea/modules/setting" + "code.gitea.io/gitea/modules/setting" "github.com/stretchr/testify/assert" "strk.kbt.io/projects/go/libravatar" ) diff --git a/modules/context/api.go b/modules/context/api.go index 1ae11f63fb..d5041a1ec3 100644 --- a/modules/context/api.go +++ b/modules/context/api.go @@ -9,9 +9,9 @@ import ( "strings" "github.com/Unknwon/paginater" - "github.com/go-gitea/gitea/modules/base" - "github.com/go-gitea/gitea/modules/log" - "github.com/go-gitea/gitea/modules/setting" + "code.gitea.io/gitea/modules/base" + "code.gitea.io/gitea/modules/log" + "code.gitea.io/gitea/modules/setting" macaron "gopkg.in/macaron.v1" ) diff --git a/modules/context/api_org.go b/modules/context/api_org.go index c0cdf7b3ab..bb6d14e26e 100644 --- a/modules/context/api_org.go +++ b/modules/context/api_org.go @@ -5,7 +5,7 @@ package context import ( - "github.com/go-gitea/gitea/models" + "code.gitea.io/gitea/models" ) type APIOrganization struct { diff --git a/modules/context/auth.go b/modules/context/auth.go index 8ed8162de7..ff3d395541 100644 --- a/modules/context/auth.go +++ b/modules/context/auth.go @@ -7,8 +7,8 @@ package context import ( "net/url" - "github.com/go-gitea/gitea/modules/auth" - "github.com/go-gitea/gitea/modules/setting" + "code.gitea.io/gitea/modules/auth" + "code.gitea.io/gitea/modules/setting" "github.com/go-macaron/csrf" macaron "gopkg.in/macaron.v1" ) diff --git a/modules/context/context.go b/modules/context/context.go index 9395880d02..fd3798b508 100644 --- a/modules/context/context.go +++ b/modules/context/context.go @@ -12,11 +12,11 @@ import ( "strings" "time" - "github.com/go-gitea/gitea/models" - "github.com/go-gitea/gitea/modules/auth" - "github.com/go-gitea/gitea/modules/base" - "github.com/go-gitea/gitea/modules/log" - "github.com/go-gitea/gitea/modules/setting" + "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/auth" + "code.gitea.io/gitea/modules/base" + "code.gitea.io/gitea/modules/log" + "code.gitea.io/gitea/modules/setting" "github.com/go-macaron/cache" "github.com/go-macaron/csrf" "github.com/go-macaron/i18n" diff --git a/modules/context/org.go b/modules/context/org.go index acf83ff142..50919ef97e 100644 --- a/modules/context/org.go +++ b/modules/context/org.go @@ -7,8 +7,8 @@ package context import ( "strings" - "github.com/go-gitea/gitea/models" - "github.com/go-gitea/gitea/modules/setting" + "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/setting" macaron "gopkg.in/macaron.v1" ) diff --git a/modules/context/repo.go b/modules/context/repo.go index 0212aece9c..d9d97d7a93 100644 --- a/modules/context/repo.go +++ b/modules/context/repo.go @@ -11,10 +11,10 @@ import ( "strings" "github.com/Unknwon/com" - "github.com/go-gitea/gitea/models" - "github.com/go-gitea/gitea/modules/log" - "github.com/go-gitea/gitea/modules/setting" - "github.com/go-gitea/git" + "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/log" + "code.gitea.io/gitea/modules/setting" + "code.gitea.io/git" editorconfig "gopkg.in/editorconfig/editorconfig-core-go.v1" macaron "gopkg.in/macaron.v1" ) diff --git a/modules/cron/cron.go b/modules/cron/cron.go index d0c769ca99..80eb24b539 100644 --- a/modules/cron/cron.go +++ b/modules/cron/cron.go @@ -9,9 +9,9 @@ import ( "github.com/gogits/cron" - "github.com/go-gitea/gitea/models" - "github.com/go-gitea/gitea/modules/log" - "github.com/go-gitea/gitea/modules/setting" + "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/log" + "code.gitea.io/gitea/modules/setting" ) var c = cron.New() diff --git a/modules/mailer/mailer.go b/modules/mailer/mailer.go index 098e136721..209a9918ac 100644 --- a/modules/mailer/mailer.go +++ b/modules/mailer/mailer.go @@ -17,8 +17,8 @@ import ( "github.com/jaytaylor/html2text" "gopkg.in/gomail.v2" - "github.com/go-gitea/gitea/modules/log" - "github.com/go-gitea/gitea/modules/setting" + "code.gitea.io/gitea/modules/log" + "code.gitea.io/gitea/modules/setting" ) type Message struct { diff --git a/modules/markdown/markdown.go b/modules/markdown/markdown.go index 100a4df10f..58bb8f417f 100644 --- a/modules/markdown/markdown.go +++ b/modules/markdown/markdown.go @@ -18,8 +18,8 @@ import ( "github.com/russross/blackfriday" "golang.org/x/net/html" - "github.com/go-gitea/gitea/modules/base" - "github.com/go-gitea/gitea/modules/setting" + "code.gitea.io/gitea/modules/base" + "code.gitea.io/gitea/modules/setting" ) const ( diff --git a/modules/markdown/markdown_test.go b/modules/markdown/markdown_test.go index 0246e2a7ec..9a7bc25fa1 100644 --- a/modules/markdown/markdown_test.go +++ b/modules/markdown/markdown_test.go @@ -4,8 +4,8 @@ import ( "bytes" "testing" - . "github.com/go-gitea/gitea/modules/markdown" - "github.com/go-gitea/gitea/modules/setting" + . "code.gitea.io/gitea/modules/markdown" + "code.gitea.io/gitea/modules/setting" "github.com/russross/blackfriday" . "github.com/smartystreets/goconvey/convey" ) diff --git a/modules/process/manager.go b/modules/process/manager.go index b259a27783..4510a823cf 100644 --- a/modules/process/manager.go +++ b/modules/process/manager.go @@ -11,7 +11,7 @@ import ( "os/exec" "time" - "github.com/go-gitea/gitea/modules/log" + "code.gitea.io/gitea/modules/log" ) var ( diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 9aade4e834..baaa3f50a8 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -25,9 +25,9 @@ import ( "gopkg.in/ini.v1" "strk.kbt.io/projects/go/libravatar" - "github.com/go-gitea/gitea/modules/bindata" - "github.com/go-gitea/gitea/modules/log" - "github.com/go-gitea/gitea/modules/user" + "code.gitea.io/gitea/modules/bindata" + "code.gitea.io/gitea/modules/log" + "code.gitea.io/gitea/modules/user" ) type Scheme string diff --git a/modules/ssh/ssh.go b/modules/ssh/ssh.go index b6dc1d15a4..0781073f59 100644 --- a/modules/ssh/ssh.go +++ b/modules/ssh/ssh.go @@ -17,9 +17,9 @@ import ( "github.com/Unknwon/com" "golang.org/x/crypto/ssh" - "github.com/go-gitea/gitea/models" - "github.com/go-gitea/gitea/modules/log" - "github.com/go-gitea/gitea/modules/setting" + "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/log" + "code.gitea.io/gitea/modules/setting" ) func cleanCommand(cmd string) string { diff --git a/modules/template/highlight/highlight.go b/modules/template/highlight/highlight.go index 360ab6a73e..7dcb672da6 100644 --- a/modules/template/highlight/highlight.go +++ b/modules/template/highlight/highlight.go @@ -8,7 +8,7 @@ import ( "path" "strings" - "github.com/go-gitea/gitea/modules/setting" + "code.gitea.io/gitea/modules/setting" ) var ( diff --git a/modules/template/template.go b/modules/template/template.go index 000ad86770..03fa0f5217 100644 --- a/modules/template/template.go +++ b/modules/template/template.go @@ -19,11 +19,11 @@ import ( "golang.org/x/text/transform" "gopkg.in/editorconfig/editorconfig-core-go.v1" - "github.com/go-gitea/gitea/models" - "github.com/go-gitea/gitea/modules/base" - "github.com/go-gitea/gitea/modules/log" - "github.com/go-gitea/gitea/modules/markdown" - "github.com/go-gitea/gitea/modules/setting" + "code.gitea.io/gitea/models" + "code.gitea.io/gitea/modules/base" + "code.gitea.io/gitea/modules/log" + "code.gitea.io/gitea/modules/markdown" + "code.gitea.io/gitea/modules/setting" ) func NewFuncMap() []template.FuncMap { |