0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-22 05:01:20 +01:00

Fix import path of go-sdk (#141)

From code.gitea.io/go-sdk/gitea
  To code.gitea.io/sdk/gitea
This commit is contained in:
Sandro Santilli 2016-11-11 10:39:44 +01:00 committed by Lunny Xiao
parent 96c9fef35f
commit a1c5f02444
61 changed files with 36 additions and 36 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

2
vendor/vendor.json vendored
View file

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