From a1c5f02444b5124a8a96a57769e00728e828c7fc Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Fri, 11 Nov 2016 10:39:44 +0100 Subject: [PATCH] Fix import path of go-sdk (#141) From code.gitea.io/go-sdk/gitea To code.gitea.io/sdk/gitea --- models/action.go | 2 +- models/issue.go | 2 +- models/issue_comment.go | 2 +- models/issue_label.go | 2 +- models/pull.go | 2 +- models/repo.go | 2 +- models/user.go | 2 +- models/webhook.go | 2 +- models/webhook_slack.go | 2 +- routers/api/v1/admin/org.go | 2 +- routers/api/v1/admin/org_team.go | 2 +- routers/api/v1/admin/repo.go | 2 +- routers/api/v1/admin/user.go | 2 +- routers/api/v1/api.go | 2 +- routers/api/v1/convert/convert.go | 2 +- routers/api/v1/misc/markdown.go | 2 +- routers/api/v1/org/org.go | 2 +- routers/api/v1/org/team.go | 2 +- routers/api/v1/repo/branch.go | 2 +- routers/api/v1/repo/collaborators.go | 2 +- routers/api/v1/repo/hook.go | 2 +- routers/api/v1/repo/issue.go | 2 +- routers/api/v1/repo/issue_comment.go | 2 +- routers/api/v1/repo/issue_label.go | 2 +- routers/api/v1/repo/key.go | 2 +- routers/api/v1/repo/label.go | 2 +- routers/api/v1/repo/milestone.go | 2 +- routers/api/v1/repo/repo.go | 2 +- routers/api/v1/user/app.go | 2 +- routers/api/v1/user/email.go | 2 +- routers/api/v1/user/follower.go | 2 +- routers/api/v1/user/key.go | 2 +- routers/api/v1/user/user.go | 2 +- routers/repo/webhook.go | 4 ++-- vendor/code.gitea.io/{go-sdk => sdk}/LICENSE | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/admin_org.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/admin_repo.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/admin_user.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/gitea.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/issue.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/issue_comment.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/issue_label.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/issue_milestone.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/miscellaneous.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/org.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/org_member.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/org_team.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/pull.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/repo.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/repo_branch.go | 0 .../code.gitea.io/{go-sdk => sdk}/gitea/repo_collaborator.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/repo_file.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/repo_hook.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/repo_key.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/user.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/user_app.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/user_email.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/user_follow.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/user_key.go | 0 vendor/code.gitea.io/{go-sdk => sdk}/gitea/utils.go | 0 vendor/vendor.json | 2 +- 61 files changed, 36 insertions(+), 36 deletions(-) rename vendor/code.gitea.io/{go-sdk => sdk}/LICENSE (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/admin_org.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/admin_repo.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/admin_user.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/gitea.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/issue.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/issue_comment.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/issue_label.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/issue_milestone.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/miscellaneous.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/org.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/org_member.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/org_team.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/pull.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/repo.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/repo_branch.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/repo_collaborator.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/repo_file.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/repo_hook.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/repo_key.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/user.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/user_app.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/user_email.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/user_follow.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/user_key.go (100%) rename vendor/code.gitea.io/{go-sdk => sdk}/gitea/utils.go (100%) diff --git a/models/action.go b/models/action.go index 7dd8b3adc..29cf74a80 100644 --- a/models/action.go +++ b/models/action.go @@ -17,7 +17,7 @@ import ( "github.com/go-xorm/xorm" "code.gitea.io/git" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/modules/base" "code.gitea.io/gitea/modules/log" diff --git a/models/issue.go b/models/issue.go index 4f6d37475..67ee14cb9 100644 --- a/models/issue.go +++ b/models/issue.go @@ -16,7 +16,7 @@ import ( "github.com/Unknwon/com" "github.com/go-xorm/xorm" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" gouuid "github.com/satori/go.uuid" "code.gitea.io/gitea/modules/base" diff --git a/models/issue_comment.go b/models/issue_comment.go index 7c46d2573..c7aa7e2b1 100644 --- a/models/issue_comment.go +++ b/models/issue_comment.go @@ -12,7 +12,7 @@ import ( "github.com/Unknwon/com" "github.com/go-xorm/xorm" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/markdown" diff --git a/models/issue_label.go b/models/issue_label.go index 83773fda6..a42219d88 100644 --- a/models/issue_label.go +++ b/models/issue_label.go @@ -13,7 +13,7 @@ import ( "github.com/go-xorm/xorm" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/modules/base" ) diff --git a/models/pull.go b/models/pull.go index 581592196..98b9c9605 100644 --- a/models/pull.go +++ b/models/pull.go @@ -18,7 +18,7 @@ import ( "code.gitea.io/gitea/modules/sync" "github.com/go-xorm/xorm" "code.gitea.io/git" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" ) var PullRequestQueue = sync.NewUniqueQueue(setting.Repository.PullRequestQueueLength) diff --git a/models/repo.go b/models/repo.go index 0af88ca66..7d976cfa7 100644 --- a/models/repo.go +++ b/models/repo.go @@ -29,7 +29,7 @@ import ( "code.gitea.io/gitea/modules/sync" "github.com/go-xorm/xorm" "code.gitea.io/git" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" version "github.com/mcuadros/go-version" ini "gopkg.in/ini.v1" ) diff --git a/models/user.go b/models/user.go index 420a1423d..15d8eba0a 100644 --- a/models/user.go +++ b/models/user.go @@ -25,7 +25,7 @@ import ( "github.com/nfnt/resize" "code.gitea.io/git" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/modules/avatar" "code.gitea.io/gitea/modules/base" diff --git a/models/webhook.go b/models/webhook.go index 9abe0bb0a..a8d8fd51b 100644 --- a/models/webhook.go +++ b/models/webhook.go @@ -15,7 +15,7 @@ import ( "github.com/go-xorm/xorm" gouuid "github.com/satori/go.uuid" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/modules/httplib" "code.gitea.io/gitea/modules/log" diff --git a/models/webhook_slack.go b/models/webhook_slack.go index a93efab72..9b70b0935 100644 --- a/models/webhook_slack.go +++ b/models/webhook_slack.go @@ -11,7 +11,7 @@ import ( "strings" "code.gitea.io/git" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/modules/setting" ) diff --git a/routers/api/v1/admin/org.go b/routers/api/v1/admin/org.go index 5a50e66ee..1162c96c5 100644 --- a/routers/api/v1/admin/org.go +++ b/routers/api/v1/admin/org.go @@ -5,7 +5,7 @@ package admin import ( - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/admin/org_team.go b/routers/api/v1/admin/org_team.go index 3b5438b72..b1964ff72 100644 --- a/routers/api/v1/admin/org_team.go +++ b/routers/api/v1/admin/org_team.go @@ -5,7 +5,7 @@ package admin import ( - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/admin/repo.go b/routers/api/v1/admin/repo.go index d6c59346d..69187dc36 100644 --- a/routers/api/v1/admin/repo.go +++ b/routers/api/v1/admin/repo.go @@ -5,7 +5,7 @@ package admin import ( - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/modules/context" "code.gitea.io/gitea/routers/api/v1/repo" diff --git a/routers/api/v1/admin/user.go b/routers/api/v1/admin/user.go index 91bf57079..c868c6210 100644 --- a/routers/api/v1/admin/user.go +++ b/routers/api/v1/admin/user.go @@ -5,7 +5,7 @@ package admin import ( - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go index 0accf7111..08fc2c75e 100644 --- a/routers/api/v1/api.go +++ b/routers/api/v1/api.go @@ -10,7 +10,7 @@ import ( "github.com/go-macaron/binding" "gopkg.in/macaron.v1" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/auth" diff --git a/routers/api/v1/convert/convert.go b/routers/api/v1/convert/convert.go index 59431e92f..a736b827a 100644 --- a/routers/api/v1/convert/convert.go +++ b/routers/api/v1/convert/convert.go @@ -10,7 +10,7 @@ import ( "github.com/Unknwon/com" "code.gitea.io/git" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" ) diff --git a/routers/api/v1/misc/markdown.go b/routers/api/v1/misc/markdown.go index 500780389..b4974ce46 100644 --- a/routers/api/v1/misc/markdown.go +++ b/routers/api/v1/misc/markdown.go @@ -5,7 +5,7 @@ package misc import ( - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/modules/context" "code.gitea.io/gitea/modules/markdown" diff --git a/routers/api/v1/org/org.go b/routers/api/v1/org/org.go index d568b89e2..cc847af8d 100644 --- a/routers/api/v1/org/org.go +++ b/routers/api/v1/org/org.go @@ -5,7 +5,7 @@ package org import ( - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/org/team.go b/routers/api/v1/org/team.go index 88553786a..ae67461be 100644 --- a/routers/api/v1/org/team.go +++ b/routers/api/v1/org/team.go @@ -5,7 +5,7 @@ package org import ( - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/modules/context" "code.gitea.io/gitea/routers/api/v1/convert" diff --git a/routers/api/v1/repo/branch.go b/routers/api/v1/repo/branch.go index c6fabda6f..39215ed46 100644 --- a/routers/api/v1/repo/branch.go +++ b/routers/api/v1/repo/branch.go @@ -5,7 +5,7 @@ package repo import ( - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/modules/context" "code.gitea.io/gitea/routers/api/v1/convert" diff --git a/routers/api/v1/repo/collaborators.go b/routers/api/v1/repo/collaborators.go index 86d5924b3..4cad20b60 100644 --- a/routers/api/v1/repo/collaborators.go +++ b/routers/api/v1/repo/collaborators.go @@ -5,7 +5,7 @@ package repo import ( - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/repo/hook.go b/routers/api/v1/repo/hook.go index fc0789a06..226b50db9 100644 --- a/routers/api/v1/repo/hook.go +++ b/routers/api/v1/repo/hook.go @@ -9,7 +9,7 @@ import ( "github.com/Unknwon/com" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/repo/issue.go b/routers/api/v1/repo/issue.go index d1d9b47d1..c73bf5dbb 100644 --- a/routers/api/v1/repo/issue.go +++ b/routers/api/v1/repo/issue.go @@ -8,7 +8,7 @@ import ( "fmt" "strings" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/repo/issue_comment.go b/routers/api/v1/repo/issue_comment.go index cf1ca0a02..cf9a3eae0 100644 --- a/routers/api/v1/repo/issue_comment.go +++ b/routers/api/v1/repo/issue_comment.go @@ -6,7 +6,7 @@ package repo import ( "time" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/repo/issue_label.go b/routers/api/v1/repo/issue_label.go index c3648e05d..46d976253 100644 --- a/routers/api/v1/repo/issue_label.go +++ b/routers/api/v1/repo/issue_label.go @@ -5,7 +5,7 @@ package repo import ( - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/repo/key.go b/routers/api/v1/repo/key.go index 228fde529..4d4240c29 100644 --- a/routers/api/v1/repo/key.go +++ b/routers/api/v1/repo/key.go @@ -7,7 +7,7 @@ package repo import ( "fmt" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/repo/label.go b/routers/api/v1/repo/label.go index f3d632ea4..009e8d8a0 100644 --- a/routers/api/v1/repo/label.go +++ b/routers/api/v1/repo/label.go @@ -5,7 +5,7 @@ package repo import ( - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/repo/milestone.go b/routers/api/v1/repo/milestone.go index e80fcf8b3..2c6a93f82 100644 --- a/routers/api/v1/repo/milestone.go +++ b/routers/api/v1/repo/milestone.go @@ -7,7 +7,7 @@ package repo import ( "time" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/repo/repo.go b/routers/api/v1/repo/repo.go index 08c246a99..02eb82d0f 100644 --- a/routers/api/v1/repo/repo.go +++ b/routers/api/v1/repo/repo.go @@ -7,7 +7,7 @@ package repo import ( "path" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/auth" diff --git a/routers/api/v1/user/app.go b/routers/api/v1/user/app.go index a822bd318..e678aaff5 100644 --- a/routers/api/v1/user/app.go +++ b/routers/api/v1/user/app.go @@ -5,7 +5,7 @@ package user import ( - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/user/email.go b/routers/api/v1/user/email.go index e5519e7e2..2503d01a4 100644 --- a/routers/api/v1/user/email.go +++ b/routers/api/v1/user/email.go @@ -5,7 +5,7 @@ package user import ( - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/user/follower.go b/routers/api/v1/user/follower.go index c738dc9a7..594c36517 100644 --- a/routers/api/v1/user/follower.go +++ b/routers/api/v1/user/follower.go @@ -5,7 +5,7 @@ package user import ( - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/user/key.go b/routers/api/v1/user/key.go index 35f176a24..6df405a16 100644 --- a/routers/api/v1/user/key.go +++ b/routers/api/v1/user/key.go @@ -5,7 +5,7 @@ package user import ( - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/api/v1/user/user.go b/routers/api/v1/user/user.go index 7fa512677..c6a454cc4 100644 --- a/routers/api/v1/user/user.go +++ b/routers/api/v1/user/user.go @@ -7,7 +7,7 @@ package user import ( "github.com/Unknwon/com" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/context" diff --git a/routers/repo/webhook.go b/routers/repo/webhook.go index 2f798260e..3f292397b 100644 --- a/routers/repo/webhook.go +++ b/routers/repo/webhook.go @@ -13,7 +13,7 @@ import ( "github.com/Unknwon/com" "code.gitea.io/git" - api "code.gitea.io/go-sdk/gitea" + api "code.gitea.io/sdk/gitea" "code.gitea.io/gitea/models" "code.gitea.io/gitea/modules/auth" @@ -32,7 +32,7 @@ func Webhooks(ctx *context.Context) { ctx.Data["Title"] = ctx.Tr("repo.settings.hooks") ctx.Data["PageIsSettingsHooks"] = true ctx.Data["BaseLink"] = ctx.Repo.RepoLink - ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://godoc.org/code.gitea.io/go-sdk/gitea") + ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://godoc.org/code.gitea.io/sdk/gitea") ws, err := models.GetWebhooksByRepoID(ctx.Repo.Repository.ID) if err != nil { diff --git a/vendor/code.gitea.io/go-sdk/LICENSE b/vendor/code.gitea.io/sdk/LICENSE similarity index 100% rename from vendor/code.gitea.io/go-sdk/LICENSE rename to vendor/code.gitea.io/sdk/LICENSE diff --git a/vendor/code.gitea.io/go-sdk/gitea/admin_org.go b/vendor/code.gitea.io/sdk/gitea/admin_org.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/admin_org.go rename to vendor/code.gitea.io/sdk/gitea/admin_org.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/admin_repo.go b/vendor/code.gitea.io/sdk/gitea/admin_repo.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/admin_repo.go rename to vendor/code.gitea.io/sdk/gitea/admin_repo.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/admin_user.go b/vendor/code.gitea.io/sdk/gitea/admin_user.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/admin_user.go rename to vendor/code.gitea.io/sdk/gitea/admin_user.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/gitea.go b/vendor/code.gitea.io/sdk/gitea/gitea.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/gitea.go rename to vendor/code.gitea.io/sdk/gitea/gitea.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/issue.go b/vendor/code.gitea.io/sdk/gitea/issue.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/issue.go rename to vendor/code.gitea.io/sdk/gitea/issue.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/issue_comment.go b/vendor/code.gitea.io/sdk/gitea/issue_comment.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/issue_comment.go rename to vendor/code.gitea.io/sdk/gitea/issue_comment.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/issue_label.go b/vendor/code.gitea.io/sdk/gitea/issue_label.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/issue_label.go rename to vendor/code.gitea.io/sdk/gitea/issue_label.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/issue_milestone.go b/vendor/code.gitea.io/sdk/gitea/issue_milestone.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/issue_milestone.go rename to vendor/code.gitea.io/sdk/gitea/issue_milestone.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/miscellaneous.go b/vendor/code.gitea.io/sdk/gitea/miscellaneous.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/miscellaneous.go rename to vendor/code.gitea.io/sdk/gitea/miscellaneous.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/org.go b/vendor/code.gitea.io/sdk/gitea/org.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/org.go rename to vendor/code.gitea.io/sdk/gitea/org.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/org_member.go b/vendor/code.gitea.io/sdk/gitea/org_member.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/org_member.go rename to vendor/code.gitea.io/sdk/gitea/org_member.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/org_team.go b/vendor/code.gitea.io/sdk/gitea/org_team.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/org_team.go rename to vendor/code.gitea.io/sdk/gitea/org_team.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/pull.go b/vendor/code.gitea.io/sdk/gitea/pull.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/pull.go rename to vendor/code.gitea.io/sdk/gitea/pull.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/repo.go b/vendor/code.gitea.io/sdk/gitea/repo.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/repo.go rename to vendor/code.gitea.io/sdk/gitea/repo.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/repo_branch.go b/vendor/code.gitea.io/sdk/gitea/repo_branch.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/repo_branch.go rename to vendor/code.gitea.io/sdk/gitea/repo_branch.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/repo_collaborator.go b/vendor/code.gitea.io/sdk/gitea/repo_collaborator.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/repo_collaborator.go rename to vendor/code.gitea.io/sdk/gitea/repo_collaborator.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/repo_file.go b/vendor/code.gitea.io/sdk/gitea/repo_file.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/repo_file.go rename to vendor/code.gitea.io/sdk/gitea/repo_file.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/repo_hook.go b/vendor/code.gitea.io/sdk/gitea/repo_hook.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/repo_hook.go rename to vendor/code.gitea.io/sdk/gitea/repo_hook.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/repo_key.go b/vendor/code.gitea.io/sdk/gitea/repo_key.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/repo_key.go rename to vendor/code.gitea.io/sdk/gitea/repo_key.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/user.go b/vendor/code.gitea.io/sdk/gitea/user.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/user.go rename to vendor/code.gitea.io/sdk/gitea/user.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/user_app.go b/vendor/code.gitea.io/sdk/gitea/user_app.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/user_app.go rename to vendor/code.gitea.io/sdk/gitea/user_app.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/user_email.go b/vendor/code.gitea.io/sdk/gitea/user_email.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/user_email.go rename to vendor/code.gitea.io/sdk/gitea/user_email.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/user_follow.go b/vendor/code.gitea.io/sdk/gitea/user_follow.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/user_follow.go rename to vendor/code.gitea.io/sdk/gitea/user_follow.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/user_key.go b/vendor/code.gitea.io/sdk/gitea/user_key.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/user_key.go rename to vendor/code.gitea.io/sdk/gitea/user_key.go diff --git a/vendor/code.gitea.io/go-sdk/gitea/utils.go b/vendor/code.gitea.io/sdk/gitea/utils.go similarity index 100% rename from vendor/code.gitea.io/go-sdk/gitea/utils.go rename to vendor/code.gitea.io/sdk/gitea/utils.go diff --git a/vendor/vendor.json b/vendor/vendor.json index 79c1e65f0..5892ad2bd 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -46,7 +46,7 @@ }, { "checksumSHA1": "/uhZZppDeb3Rbp3h8C0ALR3hdrA=", - "path": "code.gitea.io/go-sdk/gitea", + "path": "code.gitea.io/sdk/gitea", "revision": "0a0a04ccf7a5e6b93d9a5507701635330cf4579c", "revisionTime": "2016-11-07T15:06:50Z" },