summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2016-11-07 16:31:17 +0100
committerGitHub <noreply@github.com>2016-11-07 16:31:17 +0100
commit5d430c9e68f7e50e6d1727c43518e84579fd6a4f (patch)
tree8b4c8058aa6d24f7e1bf5637327bfee229cc85f7 /vendor
parentee963f67c1eb023b6ed70a2c0f14c6d3c927b8ac (diff)
parent4c6c16f358a67d31b1cde8642d4175a336fdcbf0 (diff)
downloadgitea-5d430c9e68f7e50e6d1727c43518e84579fd6a4f.tar.gz
gitea-5d430c9e68f7e50e6d1727c43518e84579fd6a4f.zip
Merge pull request #108 from go-gitea/go-sdk
Replaced gogits go-gogs-client with go-sdk
Diffstat (limited to 'vendor')
-rw-r--r--vendor/github.com/go-gitea/go-sdk/LICENSE (renamed from vendor/github.com/gogits/go-gogs-client/LICENSE)14
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/admin_org.go (renamed from vendor/github.com/gogits/go-gogs-client/admin_org.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/admin_repo.go (renamed from vendor/github.com/gogits/go-gogs-client/admin_repo.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/admin_user.go (renamed from vendor/github.com/gogits/go-gogs-client/admin_user.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/gitea.go (renamed from vendor/github.com/gogits/go-gogs-client/gogs.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/issue.go (renamed from vendor/github.com/gogits/go-gogs-client/issue.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/issue_comment.go (renamed from vendor/github.com/gogits/go-gogs-client/issue_comment.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/issue_label.go (renamed from vendor/github.com/gogits/go-gogs-client/issue_label.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/issue_milestone.go (renamed from vendor/github.com/gogits/go-gogs-client/issue_milestone.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/miscellaneous.go (renamed from vendor/github.com/gogits/go-gogs-client/miscellaneous.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/org.go (renamed from vendor/github.com/gogits/go-gogs-client/org.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/org_member.go (renamed from vendor/github.com/gogits/go-gogs-client/org_member.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/org_team.go (renamed from vendor/github.com/gogits/go-gogs-client/org_team.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/pull.go (renamed from vendor/github.com/gogits/go-gogs-client/pull.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/repo.go (renamed from vendor/github.com/gogits/go-gogs-client/repo.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/repo_branch.go (renamed from vendor/github.com/gogits/go-gogs-client/repo_branch.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/repo_collaborator.go (renamed from vendor/github.com/gogits/go-gogs-client/repo_collaborator.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/repo_file.go (renamed from vendor/github.com/gogits/go-gogs-client/repo_file.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/repo_hook.go (renamed from vendor/github.com/gogits/go-gogs-client/repo_hook.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/repo_key.go (renamed from vendor/github.com/gogits/go-gogs-client/repo_key.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/user.go (renamed from vendor/github.com/gogits/go-gogs-client/user.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/user_app.go (renamed from vendor/github.com/gogits/go-gogs-client/user_app.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/user_email.go (renamed from vendor/github.com/gogits/go-gogs-client/user_email.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/user_follow.go (renamed from vendor/github.com/gogits/go-gogs-client/user_follow.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/user_key.go (renamed from vendor/github.com/gogits/go-gogs-client/user_key.go)2
-rw-r--r--vendor/github.com/go-gitea/go-sdk/gitea/utils.go (renamed from vendor/github.com/gogits/go-gogs-client/utils.go)2
-rw-r--r--vendor/github.com/gogits/go-gogs-client/README.md8
-rw-r--r--vendor/vendor.json12
28 files changed, 37 insertions, 47 deletions
diff --git a/vendor/github.com/gogits/go-gogs-client/LICENSE b/vendor/github.com/go-gitea/go-sdk/LICENSE
index 18b264d604..10aeba46bc 100644
--- a/vendor/github.com/gogits/go-gogs-client/LICENSE
+++ b/vendor/github.com/go-gitea/go-sdk/LICENSE
@@ -1,6 +1,5 @@
-The MIT License (MIT)
-
-Copyright (c) 2014 Go Git Service
+Copyright (c) 2016 The Gitea Authors
+Copyright (c) 2014 The Gogs Authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -9,14 +8,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/vendor/github.com/gogits/go-gogs-client/admin_org.go b/vendor/github.com/go-gitea/go-sdk/gitea/admin_org.go
index be140625af..520fa12990 100644
--- a/vendor/github.com/gogits/go-gogs-client/admin_org.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/admin_org.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/admin_repo.go b/vendor/github.com/go-gitea/go-sdk/gitea/admin_repo.go
index 50ba2be47d..06daa94597 100644
--- a/vendor/github.com/gogits/go-gogs-client/admin_repo.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/admin_repo.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/admin_user.go b/vendor/github.com/go-gitea/go-sdk/gitea/admin_user.go
index 459031d71d..186008b77b 100644
--- a/vendor/github.com/gogits/go-gogs-client/admin_user.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/admin_user.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/gogs.go b/vendor/github.com/go-gitea/go-sdk/gitea/gitea.go
index 389439b5f2..0a6bf4d749 100644
--- a/vendor/github.com/gogits/go-gogs-client/gogs.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/gitea.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"encoding/json"
diff --git a/vendor/github.com/gogits/go-gogs-client/issue.go b/vendor/github.com/go-gitea/go-sdk/gitea/issue.go
index 7bb50df61b..4392e00004 100644
--- a/vendor/github.com/gogits/go-gogs-client/issue.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/issue.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/issue_comment.go b/vendor/github.com/go-gitea/go-sdk/gitea/issue_comment.go
index c766f55947..59f064a8ad 100644
--- a/vendor/github.com/gogits/go-gogs-client/issue_comment.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/issue_comment.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/issue_label.go b/vendor/github.com/go-gitea/go-sdk/gitea/issue_label.go
index ce6a64de45..681e504c34 100644
--- a/vendor/github.com/gogits/go-gogs-client/issue_label.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/issue_label.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/issue_milestone.go b/vendor/github.com/go-gitea/go-sdk/gitea/issue_milestone.go
index ad27a15ef1..58f17893a7 100644
--- a/vendor/github.com/gogits/go-gogs-client/issue_milestone.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/issue_milestone.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/miscellaneous.go b/vendor/github.com/go-gitea/go-sdk/gitea/miscellaneous.go
index fcf362ceb8..d97940e13c 100644
--- a/vendor/github.com/gogits/go-gogs-client/miscellaneous.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/miscellaneous.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
type MarkdownOption struct {
Text string
diff --git a/vendor/github.com/gogits/go-gogs-client/org.go b/vendor/github.com/go-gitea/go-sdk/gitea/org.go
index 08d0088223..70d872cf51 100644
--- a/vendor/github.com/gogits/go-gogs-client/org.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/org.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/org_member.go b/vendor/github.com/go-gitea/go-sdk/gitea/org_member.go
index d9cdadabd8..46e839805d 100644
--- a/vendor/github.com/gogits/go-gogs-client/org_member.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/org_member.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/org_team.go b/vendor/github.com/go-gitea/go-sdk/gitea/org_team.go
index 89f09e3f7b..38da20d997 100644
--- a/vendor/github.com/gogits/go-gogs-client/org_team.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/org_team.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
type Team struct {
ID int64 `json:"id"`
diff --git a/vendor/github.com/gogits/go-gogs-client/pull.go b/vendor/github.com/go-gitea/go-sdk/gitea/pull.go
index be93b269d8..efc746388a 100644
--- a/vendor/github.com/gogits/go-gogs-client/pull.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/pull.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"time"
diff --git a/vendor/github.com/gogits/go-gogs-client/repo.go b/vendor/github.com/go-gitea/go-sdk/gitea/repo.go
index f3b393c975..266c01cc92 100644
--- a/vendor/github.com/gogits/go-gogs-client/repo.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/repo.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/repo_branch.go b/vendor/github.com/go-gitea/go-sdk/gitea/repo_branch.go
index 1e5811212c..c57df07c62 100644
--- a/vendor/github.com/gogits/go-gogs-client/repo_branch.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/repo_branch.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"fmt"
diff --git a/vendor/github.com/gogits/go-gogs-client/repo_collaborator.go b/vendor/github.com/go-gitea/go-sdk/gitea/repo_collaborator.go
index 2a0052d0a6..1937de4c0e 100644
--- a/vendor/github.com/gogits/go-gogs-client/repo_collaborator.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/repo_collaborator.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/repo_file.go b/vendor/github.com/go-gitea/go-sdk/gitea/repo_file.go
index c50708b447..e6c89f0c0f 100644
--- a/vendor/github.com/gogits/go-gogs-client/repo_file.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/repo_file.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"fmt"
diff --git a/vendor/github.com/gogits/go-gogs-client/repo_hook.go b/vendor/github.com/go-gitea/go-sdk/gitea/repo_hook.go
index 7bec411b4b..7f71bea1f7 100644
--- a/vendor/github.com/gogits/go-gogs-client/repo_hook.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/repo_hook.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/repo_key.go b/vendor/github.com/go-gitea/go-sdk/gitea/repo_key.go
index 2201602c1f..acae30aa54 100644
--- a/vendor/github.com/gogits/go-gogs-client/repo_key.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/repo_key.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/user.go b/vendor/github.com/go-gitea/go-sdk/gitea/user.go
index 0bf225470b..8b78bea941 100644
--- a/vendor/github.com/gogits/go-gogs-client/user.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/user.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"fmt"
diff --git a/vendor/github.com/gogits/go-gogs-client/user_app.go b/vendor/github.com/go-gitea/go-sdk/gitea/user_app.go
index 965ed6ebfd..187053bc94 100644
--- a/vendor/github.com/gogits/go-gogs-client/user_app.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/user_app.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/user_email.go b/vendor/github.com/go-gitea/go-sdk/gitea/user_email.go
index 02dd402315..e9805ecb69 100644
--- a/vendor/github.com/gogits/go-gogs-client/user_email.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/user_email.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/user_follow.go b/vendor/github.com/go-gitea/go-sdk/gitea/user_follow.go
index 36cc65d457..cbb2c7b3f3 100644
--- a/vendor/github.com/gogits/go-gogs-client/user_follow.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/user_follow.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import "fmt"
diff --git a/vendor/github.com/gogits/go-gogs-client/user_key.go b/vendor/github.com/go-gitea/go-sdk/gitea/user_key.go
index c0278e0e9c..8af5ed7c42 100644
--- a/vendor/github.com/gogits/go-gogs-client/user_key.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/user_key.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"bytes"
diff --git a/vendor/github.com/gogits/go-gogs-client/utils.go b/vendor/github.com/go-gitea/go-sdk/gitea/utils.go
index a4d673e0f7..8d962ba288 100644
--- a/vendor/github.com/gogits/go-gogs-client/utils.go
+++ b/vendor/github.com/go-gitea/go-sdk/gitea/utils.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
-package gogs
+package gitea
import (
"net/http"
diff --git a/vendor/github.com/gogits/go-gogs-client/README.md b/vendor/github.com/gogits/go-gogs-client/README.md
deleted file mode 100644
index ae33bc06f8..0000000000
--- a/vendor/github.com/gogits/go-gogs-client/README.md
+++ /dev/null
@@ -1,8 +0,0 @@
-Gogs API client in Go
-=====================
-
-This package is still in experiment, see [Wiki](https://github.com/gogits/go-gogs-client/wiki) for documentation.
-
-## License
-
-This project is under the MIT License. See the [LICENSE](https://github.com/gogits/gogs/blob/master/LICENSE) file for the full license text. \ No newline at end of file
diff --git a/vendor/vendor.json b/vendor/vendor.json
index c587c0fc89..10fa1c5492 100644
--- a/vendor/vendor.json
+++ b/vendor/vendor.json
@@ -45,6 +45,12 @@
"revisionTime": "2016-11-06T09:52:37Z"
},
{
+ "checksumSHA1": "/uhZZppDeb3Rbp3h8C0ALR3hdrA=",
+ "path": "github.com/go-gitea/go-sdk/gitea",
+ "revision": "0a0a04ccf7a5e6b93d9a5507701635330cf4579c",
+ "revisionTime": "2016-11-07T15:06:50Z"
+ },
+ {
"checksumSHA1": "qM/kf31cT2cxjtHxdzbu8q8jPq0=",
"path": "github.com/go-macaron/binding",
"revision": "9440f336b443056c90d7d448a0a55ad8c7599880",
@@ -153,12 +159,6 @@
"revisionTime": "2016-08-10T03:50:02Z"
},
{
- "checksumSHA1": "5P4i69584LOvCooguu2D/pNxU14=",
- "path": "github.com/gogits/go-gogs-client",
- "revision": "d8aff570fa22d4e38954c753ec8b21862239b31d",
- "revisionTime": "2016-08-30T12:34:33Z"
- },
- {
"checksumSHA1": "MLO0PyrK2MUO6A7Z9PxWuu43C/A=",
"path": "github.com/issue9/identicon",
"revision": "d36b54562f4cf70c83653e13dc95c220c79ef521",