1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Merge pull request #108 from go-gitea/go-sdk

Replaced gogits go-gogs-client with go-sdk
This commit is contained in:
Thomas Boerger
2016-11-07 16:31:17 +01:00
committed by GitHub
68 changed files with 78 additions and 89 deletions

View File

@@ -13,7 +13,7 @@ import (
"github.com/Unknwon/com"
"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/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://github.com/gogits/go-gogs-client/wiki/Repositories-Webhooks")
ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://godoc.org/github.com/go-gitea/go-sdk/gitea")
ws, err := models.GetWebhooksByRepoID(ctx.Repo.Repository.ID)
if err != nil {