From 40a9543c0c5e160997d344d7445a511d5d7a7b0e Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Sun, 17 May 2015 11:45:09 -0700 Subject: [PATCH] moving remote pkg per new multi-binary structure --- drone.go | 2 +- {remote => pkg/remote}/client/client.go | 0 {remote => pkg/remote}/github/github.go | 0 {remote => pkg/remote}/github/helper.go | 0 {remote => pkg/remote}/remote.go | 0 runner/builtin/updater.go | 2 +- server/repos.go | 2 +- server/server.go | 2 +- 8 files changed, 4 insertions(+), 4 deletions(-) rename {remote => pkg/remote}/client/client.go (100%) rename {remote => pkg/remote}/github/github.go (100%) rename {remote => pkg/remote}/github/helper.go (100%) rename {remote => pkg/remote}/remote.go (100%) diff --git a/drone.go b/drone.go index e40b0ffb6..f7e51ee3d 100644 --- a/drone.go +++ b/drone.go @@ -7,7 +7,7 @@ import ( "github.com/gin-gonic/gin" - "github.com/drone/drone/remote/github" + "github.com/drone/drone/pkg/remote/github" "github.com/drone/drone/server" "github.com/drone/drone/server/session" "github.com/drone/drone/settings" diff --git a/remote/client/client.go b/pkg/remote/client/client.go similarity index 100% rename from remote/client/client.go rename to pkg/remote/client/client.go diff --git a/remote/github/github.go b/pkg/remote/github/github.go similarity index 100% rename from remote/github/github.go rename to pkg/remote/github/github.go diff --git a/remote/github/helper.go b/pkg/remote/github/helper.go similarity index 100% rename from remote/github/helper.go rename to pkg/remote/github/helper.go diff --git a/remote/remote.go b/pkg/remote/remote.go similarity index 100% rename from remote/remote.go rename to pkg/remote/remote.go diff --git a/runner/builtin/updater.go b/runner/builtin/updater.go index 45c056876..86b6515cd 100644 --- a/runner/builtin/updater.go +++ b/runner/builtin/updater.go @@ -7,8 +7,8 @@ import ( "github.com/drone/drone/common" "github.com/drone/drone/pkg/bus" + "github.com/drone/drone/pkg/remote" "github.com/drone/drone/pkg/store" - "github.com/drone/drone/remote" ) type Updater interface { diff --git a/server/repos.go b/server/repos.go index 5e1394101..45803535f 100644 --- a/server/repos.go +++ b/server/repos.go @@ -9,7 +9,7 @@ import ( "github.com/drone/drone/common" "github.com/drone/drone/common/httputil" "github.com/drone/drone/common/sshutil" - "github.com/drone/drone/remote" + "github.com/drone/drone/pkg/remote" ) // repoResp is a data structure used for sending diff --git a/server/server.go b/server/server.go index e5db50cca..44700b607 100644 --- a/server/server.go +++ b/server/server.go @@ -9,8 +9,8 @@ import ( "github.com/drone/drone/common" "github.com/drone/drone/pkg/bus" "github.com/drone/drone/pkg/queue" + "github.com/drone/drone/pkg/remote" "github.com/drone/drone/pkg/store" - "github.com/drone/drone/remote" "github.com/drone/drone/runner" "github.com/drone/drone/server/session" "github.com/drone/drone/settings"