Fix import path of go-sdk (#141)

From code.gitea.io/go-sdk/gitea
  To code.gitea.io/sdk/gitea
tokarchuk/v1.17
Sandro Santilli 8 years ago committed by Lunny Xiao
parent 96c9fef35f
commit a1c5f02444
  1. 2
      models/action.go
  2. 2
      models/issue.go
  3. 2
      models/issue_comment.go
  4. 2
      models/issue_label.go
  5. 2
      models/pull.go
  6. 2
      models/repo.go
  7. 2
      models/user.go
  8. 2
      models/webhook.go
  9. 2
      models/webhook_slack.go
  10. 2
      routers/api/v1/admin/org.go
  11. 2
      routers/api/v1/admin/org_team.go
  12. 2
      routers/api/v1/admin/repo.go
  13. 2
      routers/api/v1/admin/user.go
  14. 2
      routers/api/v1/api.go
  15. 2
      routers/api/v1/convert/convert.go
  16. 2
      routers/api/v1/misc/markdown.go
  17. 2
      routers/api/v1/org/org.go
  18. 2
      routers/api/v1/org/team.go
  19. 2
      routers/api/v1/repo/branch.go
  20. 2
      routers/api/v1/repo/collaborators.go
  21. 2
      routers/api/v1/repo/hook.go
  22. 2
      routers/api/v1/repo/issue.go
  23. 2
      routers/api/v1/repo/issue_comment.go
  24. 2
      routers/api/v1/repo/issue_label.go
  25. 2
      routers/api/v1/repo/key.go
  26. 2
      routers/api/v1/repo/label.go
  27. 2
      routers/api/v1/repo/milestone.go
  28. 2
      routers/api/v1/repo/repo.go
  29. 2
      routers/api/v1/user/app.go
  30. 2
      routers/api/v1/user/email.go
  31. 2
      routers/api/v1/user/follower.go
  32. 2
      routers/api/v1/user/key.go
  33. 2
      routers/api/v1/user/user.go
  34. 4
      routers/repo/webhook.go
  35. 0
      vendor/code.gitea.io/sdk/LICENSE
  36. 0
      vendor/code.gitea.io/sdk/gitea/admin_org.go
  37. 0
      vendor/code.gitea.io/sdk/gitea/admin_repo.go
  38. 0
      vendor/code.gitea.io/sdk/gitea/admin_user.go
  39. 0
      vendor/code.gitea.io/sdk/gitea/gitea.go
  40. 0
      vendor/code.gitea.io/sdk/gitea/issue.go
  41. 0
      vendor/code.gitea.io/sdk/gitea/issue_comment.go
  42. 0
      vendor/code.gitea.io/sdk/gitea/issue_label.go
  43. 0
      vendor/code.gitea.io/sdk/gitea/issue_milestone.go
  44. 0
      vendor/code.gitea.io/sdk/gitea/miscellaneous.go
  45. 0
      vendor/code.gitea.io/sdk/gitea/org.go
  46. 0
      vendor/code.gitea.io/sdk/gitea/org_member.go
  47. 0
      vendor/code.gitea.io/sdk/gitea/org_team.go
  48. 0
      vendor/code.gitea.io/sdk/gitea/pull.go
  49. 0
      vendor/code.gitea.io/sdk/gitea/repo.go
  50. 0
      vendor/code.gitea.io/sdk/gitea/repo_branch.go
  51. 0
      vendor/code.gitea.io/sdk/gitea/repo_collaborator.go
  52. 0
      vendor/code.gitea.io/sdk/gitea/repo_file.go
  53. 0
      vendor/code.gitea.io/sdk/gitea/repo_hook.go
  54. 0
      vendor/code.gitea.io/sdk/gitea/repo_key.go
  55. 0
      vendor/code.gitea.io/sdk/gitea/user.go
  56. 0
      vendor/code.gitea.io/sdk/gitea/user_app.go
  57. 0
      vendor/code.gitea.io/sdk/gitea/user_email.go
  58. 0
      vendor/code.gitea.io/sdk/gitea/user_follow.go
  59. 0
      vendor/code.gitea.io/sdk/gitea/user_key.go
  60. 0
      vendor/code.gitea.io/sdk/gitea/utils.go
  61. 2
      vendor/vendor.json

@ -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"

@ -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"

@ -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"

@ -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"
)

@ -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)

@ -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"
)

@ -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"

@ -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"

@ -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"
)

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"
)

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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"

@ -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 {

@ -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"
},

Loading…
Cancel
Save