Skip to content

Commit

Permalink
refactor: update vendor.
Browse files Browse the repository at this point in the history
  • Loading branch information
appleboy committed May 24, 2017
1 parent 2263ba2 commit 4f256bf
Show file tree
Hide file tree
Showing 41 changed files with 18 additions and 210 deletions.
4 changes: 2 additions & 2 deletions remote/gitea/gitea.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/drone/drone/model"
"github.com/drone/drone/remote"

"github.com/go-gitea/go-sdk/gitea"
"code.gitea.io/sdk/gitea"
)

// Opts defines configuration options.
Expand Down Expand Up @@ -55,7 +55,7 @@ func getStatus(status string) gitea.StatusState {
case model.StatusFailure, model.StatusError:
return gitea.StatusFailure
case model.StatusKilled:
return gitea.StatusCanceled
return gitea.StatusFailure
default:
return gitea.StatusFailure
}
Expand Down
3 changes: 2 additions & 1 deletion remote/gitea/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import (
"time"

"github.com/drone/drone/model"
"github.com/go-gitea/go-sdk/gitea"

"code.gitea.io/sdk/gitea"
)

// helper function that converts a Gitea repository to a Drone repository.
Expand Down
2 changes: 1 addition & 1 deletion remote/gitea/helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"github.com/drone/drone/model"
"github.com/drone/drone/remote/gitea/fixtures"

"code.gitea.io/sdk/gitea"
"github.com/franela/goblin"
"github.com/go-gitea/go-sdk/gitea"
)

func Test_parse(t *testing.T) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
86 changes: 0 additions & 86 deletions vendor/github.com/go-gitea/go-sdk/CONTRIBUTING.md

This file was deleted.

36 changes: 0 additions & 36 deletions vendor/github.com/go-gitea/go-sdk/DCO

This file was deleted.

15 changes: 0 additions & 15 deletions vendor/github.com/go-gitea/go-sdk/MAINTAINERS

This file was deleted.

40 changes: 0 additions & 40 deletions vendor/github.com/go-gitea/go-sdk/Makefile

This file was deleted.

26 changes: 0 additions & 26 deletions vendor/github.com/go-gitea/go-sdk/README.md

This file was deleted.

6 changes: 6 additions & 0 deletions vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
"path": "appengine/cloudsql",
"revision": ""
},
{
"checksumSHA1": "Vrt1uoeOOk9fp1aa9d7huQhzexU=",
"path": "code.gitea.io/sdk/gitea",
"revision": "e1c76d42f2b84aa49af5b7fc6564e4b5c2814f2f",
"revisionTime": "2017-05-02T15:01:11Z"
},
{
"checksumSHA1": "zTn0jzjOiJlScR1px66MvrgrlLs=",
"origin": "github.com/docker/docker/vendor/github.com/Microsoft/go-winio",
Expand Down

0 comments on commit 4f256bf

Please sign in to comment.