mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-18 03:17:56 +01:00
Replaced go-gogs-client with go-sdk imports
This commit is contained in:
parent
77f9c7e571
commit
4c6c16f358
34 changed files with 34 additions and 34 deletions
|
@ -17,7 +17,7 @@ import (
|
||||||
"github.com/go-xorm/xorm"
|
"github.com/go-xorm/xorm"
|
||||||
|
|
||||||
"github.com/go-gitea/git"
|
"github.com/go-gitea/git"
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/modules/base"
|
"github.com/go-gitea/gitea/modules/base"
|
||||||
"github.com/go-gitea/gitea/modules/log"
|
"github.com/go-gitea/gitea/modules/log"
|
||||||
|
|
|
@ -16,7 +16,7 @@ import (
|
||||||
|
|
||||||
"github.com/Unknwon/com"
|
"github.com/Unknwon/com"
|
||||||
"github.com/go-xorm/xorm"
|
"github.com/go-xorm/xorm"
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
gouuid "github.com/satori/go.uuid"
|
gouuid "github.com/satori/go.uuid"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/modules/base"
|
"github.com/go-gitea/gitea/modules/base"
|
||||||
|
|
|
@ -12,7 +12,7 @@ import (
|
||||||
"github.com/Unknwon/com"
|
"github.com/Unknwon/com"
|
||||||
"github.com/go-xorm/xorm"
|
"github.com/go-xorm/xorm"
|
||||||
|
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/modules/log"
|
"github.com/go-gitea/gitea/modules/log"
|
||||||
"github.com/go-gitea/gitea/modules/markdown"
|
"github.com/go-gitea/gitea/modules/markdown"
|
||||||
|
|
|
@ -13,7 +13,7 @@ import (
|
||||||
|
|
||||||
"github.com/go-xorm/xorm"
|
"github.com/go-xorm/xorm"
|
||||||
|
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/modules/base"
|
"github.com/go-gitea/gitea/modules/base"
|
||||||
)
|
)
|
||||||
|
|
|
@ -18,7 +18,7 @@ import (
|
||||||
"github.com/go-gitea/gitea/modules/sync"
|
"github.com/go-gitea/gitea/modules/sync"
|
||||||
"github.com/go-xorm/xorm"
|
"github.com/go-xorm/xorm"
|
||||||
"github.com/go-gitea/git"
|
"github.com/go-gitea/git"
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
)
|
)
|
||||||
|
|
||||||
var PullRequestQueue = sync.NewUniqueQueue(setting.Repository.PullRequestQueueLength)
|
var PullRequestQueue = sync.NewUniqueQueue(setting.Repository.PullRequestQueueLength)
|
||||||
|
|
|
@ -29,7 +29,7 @@ import (
|
||||||
"github.com/go-gitea/gitea/modules/sync"
|
"github.com/go-gitea/gitea/modules/sync"
|
||||||
"github.com/go-xorm/xorm"
|
"github.com/go-xorm/xorm"
|
||||||
"github.com/go-gitea/git"
|
"github.com/go-gitea/git"
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
version "github.com/mcuadros/go-version"
|
version "github.com/mcuadros/go-version"
|
||||||
ini "gopkg.in/ini.v1"
|
ini "gopkg.in/ini.v1"
|
||||||
)
|
)
|
||||||
|
|
|
@ -25,7 +25,7 @@ import (
|
||||||
"github.com/nfnt/resize"
|
"github.com/nfnt/resize"
|
||||||
|
|
||||||
"github.com/go-gitea/git"
|
"github.com/go-gitea/git"
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/modules/avatar"
|
"github.com/go-gitea/gitea/modules/avatar"
|
||||||
"github.com/go-gitea/gitea/modules/base"
|
"github.com/go-gitea/gitea/modules/base"
|
||||||
|
|
|
@ -15,7 +15,7 @@ import (
|
||||||
"github.com/go-xorm/xorm"
|
"github.com/go-xorm/xorm"
|
||||||
gouuid "github.com/satori/go.uuid"
|
gouuid "github.com/satori/go.uuid"
|
||||||
|
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/modules/httplib"
|
"github.com/go-gitea/gitea/modules/httplib"
|
||||||
"github.com/go-gitea/gitea/modules/log"
|
"github.com/go-gitea/gitea/modules/log"
|
||||||
|
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/go-gitea/git"
|
"github.com/go-gitea/git"
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/modules/setting"
|
"github.com/go-gitea/gitea/modules/setting"
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
package admin
|
package admin
|
||||||
|
|
||||||
import (
|
import (
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
package admin
|
package admin
|
||||||
|
|
||||||
import (
|
import (
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
package admin
|
package admin
|
||||||
|
|
||||||
import (
|
import (
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
"github.com/go-gitea/gitea/routers/api/v1/repo"
|
"github.com/go-gitea/gitea/routers/api/v1/repo"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
package admin
|
package admin
|
||||||
|
|
||||||
import (
|
import (
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"github.com/go-macaron/binding"
|
"github.com/go-macaron/binding"
|
||||||
"gopkg.in/macaron.v1"
|
"gopkg.in/macaron.v1"
|
||||||
|
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/auth"
|
"github.com/go-gitea/gitea/modules/auth"
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"github.com/Unknwon/com"
|
"github.com/Unknwon/com"
|
||||||
|
|
||||||
"github.com/go-gitea/git"
|
"github.com/go-gitea/git"
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
package misc
|
package misc
|
||||||
|
|
||||||
import (
|
import (
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
"github.com/go-gitea/gitea/modules/markdown"
|
"github.com/go-gitea/gitea/modules/markdown"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
package org
|
package org
|
||||||
|
|
||||||
import (
|
import (
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
package org
|
package org
|
||||||
|
|
||||||
import (
|
import (
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
"github.com/go-gitea/gitea/routers/api/v1/convert"
|
"github.com/go-gitea/gitea/routers/api/v1/convert"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
package repo
|
package repo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
"github.com/go-gitea/gitea/routers/api/v1/convert"
|
"github.com/go-gitea/gitea/routers/api/v1/convert"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
package repo
|
package repo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
|
|
||||||
"github.com/Unknwon/com"
|
"github.com/Unknwon/com"
|
||||||
|
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -6,7 +6,7 @@ package repo
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
package repo
|
package repo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -7,7 +7,7 @@ package repo
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
package repo
|
package repo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -7,7 +7,7 @@ package repo
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -7,7 +7,7 @@ package repo
|
||||||
import (
|
import (
|
||||||
"path"
|
"path"
|
||||||
|
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/auth"
|
"github.com/go-gitea/gitea/modules/auth"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
package user
|
package user
|
||||||
|
|
||||||
import (
|
import (
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -7,7 +7,7 @@ package user
|
||||||
import (
|
import (
|
||||||
"github.com/Unknwon/com"
|
"github.com/Unknwon/com"
|
||||||
|
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/context"
|
"github.com/go-gitea/gitea/modules/context"
|
||||||
|
|
|
@ -13,7 +13,7 @@ import (
|
||||||
"github.com/Unknwon/com"
|
"github.com/Unknwon/com"
|
||||||
|
|
||||||
"github.com/go-gitea/git"
|
"github.com/go-gitea/git"
|
||||||
api "github.com/gogits/go-gogs-client"
|
api "github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/models"
|
"github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/auth"
|
"github.com/go-gitea/gitea/modules/auth"
|
||||||
|
|
Loading…
Reference in a new issue