Replaced go-gogs-client with go-sdk imports

tokarchuk/v1.17
Thomas Boerger 8 years ago
parent 77f9c7e571
commit 4c6c16f358
No known key found for this signature in database
GPG Key ID: 5A388F55283960B6
  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. 2
      routers/repo/webhook.go

@ -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…
Cancel
Save