diff --git a/.drone.sh b/.drone.sh index 8e1afe77b..cbb8d63fb 100755 --- a/.drone.sh +++ b/.drone.sh @@ -22,7 +22,7 @@ set -x git clone git@github.com:drone/drone-enterprise.git extras # build a static binary with the build number and extra features. -go build -ldflags '-extldflags "-static" -X github.com/drone/drone/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/drone-server github.com/drone/drone/extras/cmd/drone-server -GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-X github.com/drone/drone/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/drone-agent github.com/drone/drone/cmd/drone-agent -GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '-X github.com/drone/drone/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/linux/arm64/drone-agent github.com/drone/drone/cmd/drone-agent -GOOS=linux GOARCH=arm CGO_ENABLED=0 GOARM=7 go build -ldflags '-X github.com/drone/drone/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/linux/arm/drone-agent github.com/drone/drone/cmd/drone-agent +go build -ldflags '-extldflags "-static" -X github.com/laszlocph/drone-oss-08/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/drone-server github.com/laszlocph/drone-oss-08/extras/cmd/drone-server +GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-X github.com/laszlocph/drone-oss-08/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/drone-agent github.com/laszlocph/drone-oss-08/cmd/drone-agent +GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '-X github.com/laszlocph/drone-oss-08/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/linux/arm64/drone-agent github.com/laszlocph/drone-oss-08/cmd/drone-agent +GOOS=linux GOARCH=arm CGO_ENABLED=0 GOARM=7 go build -ldflags '-X github.com/laszlocph/drone-oss-08/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/linux/arm/drone-agent github.com/laszlocph/drone-oss-08/cmd/drone-agent diff --git a/.drone.yml b/.drone.yml index 4ac6e30f8..e12a29636 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,12 +1,12 @@ workspace: base: /go - path: src/github.com/drone/drone + path: src/github.com/laszlocph/drone-oss-08 pipeline: test: image: golang:1.8 commands: - - go get -u github.com/drone/drone-ui/dist + - go get -u github.com/laszlocph/drone-ui/dist - go get -u golang.org/x/tools/cmd/cover - go get -u golang.org/x/net/context - go get -u golang.org/x/net/context/ctxhttp @@ -20,7 +20,7 @@ pipeline: - DATABASE_DRIVER=postgres - DATABASE_CONFIG=host=postgres user=postgres dbname=postgres sslmode=disable commands: - - go test github.com/drone/drone/store/datastore + - go test github.com/laszlocph/drone-oss-08/store/datastore test_mysql: image: golang:1.8 @@ -28,7 +28,7 @@ pipeline: - DATABASE_DRIVER=mysql - DATABASE_CONFIG=root@tcp(mysql:3306)/test?parseTime=true commands: - - go test github.com/drone/drone/store/datastore + - go test github.com/laszlocph/drone-oss-08/store/datastore build: image: golang:1.8 diff --git a/BUILDING b/BUILDING index 0e51069af..2c68e7a71 100644 --- a/BUILDING +++ b/BUILDING @@ -1,7 +1,7 @@ 1. Install go 1.9 or later 2. Install dependencies - go get -u github.com/drone/drone-ui/dist + go get -u github.com/laszlocph/drone-ui/dist go get -u golang.org/x/net/context go get -u golang.org/x/net/context/ctxhttp go get -u github.com/golang/protobuf/proto @@ -9,5 +9,5 @@ 3. Install binaries to $GOPATH/bin - go install github.com/drone/drone/cmd/drone-agent - go install github.com/drone/drone/cmd/drone-server + go install github.com/laszlocph/drone-oss-08/cmd/drone-agent + go install github.com/laszlocph/drone-oss-08/cmd/drone-server diff --git a/cmd/drone-agent/health.go b/cmd/drone-agent/health.go index 1f41abac0..e11649009 100644 --- a/cmd/drone-agent/health.go +++ b/cmd/drone-agent/health.go @@ -22,7 +22,7 @@ import ( "sync" "time" - "github.com/drone/drone/version" + "github.com/laszlocph/drone-oss-08/version" "github.com/urfave/cli" ) @@ -48,7 +48,7 @@ func handleVersion(w http.ResponseWriter, r *http.Request) { w.WriteHeader(200) w.Header().Add("Content-Type", "text/json") json.NewEncoder(w).Encode(versionResp{ - Source: "https://github.com/drone/drone", + Source: "https://github.com/laszlocph/drone-oss-08", Version: version.Version.String(), }) } diff --git a/cmd/drone-agent/main.go b/cmd/drone-agent/main.go index 01f7459fa..b567e9e3c 100644 --- a/cmd/drone-agent/main.go +++ b/cmd/drone-agent/main.go @@ -19,7 +19,7 @@ import ( "os" "time" - "github.com/drone/drone/version" + "github.com/laszlocph/drone-oss-08/version" _ "github.com/joho/godotenv/autoload" "github.com/urfave/cli" diff --git a/cmd/drone-server/main.go b/cmd/drone-server/main.go index 3eda1ca16..347770e5b 100644 --- a/cmd/drone-server/main.go +++ b/cmd/drone-server/main.go @@ -18,7 +18,7 @@ import ( "fmt" "os" - "github.com/drone/drone/version" + "github.com/laszlocph/drone-oss-08/version" _ "github.com/joho/godotenv/autoload" "github.com/urfave/cli" diff --git a/cmd/drone-server/server.go b/cmd/drone-server/server.go index f36527bd1..c7acc42a1 100644 --- a/cmd/drone-server/server.go +++ b/cmd/drone-server/server.go @@ -36,12 +36,12 @@ import ( "github.com/cncd/logging" "github.com/cncd/pipeline/pipeline/rpc/proto" "github.com/cncd/pubsub" - "github.com/drone/drone/plugins/sender" - "github.com/drone/drone/remote" - "github.com/drone/drone/router" - "github.com/drone/drone/router/middleware" - droneserver "github.com/drone/drone/server" - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/plugins/sender" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/router" + "github.com/laszlocph/drone-oss-08/router/middleware" + droneserver "github.com/laszlocph/drone-oss-08/server" + "github.com/laszlocph/drone-oss-08/store" "github.com/Sirupsen/logrus" "github.com/gin-gonic/contrib/ginrus" diff --git a/cmd/drone-server/setup.go b/cmd/drone-server/setup.go index 248b49a4d..f4485a1d1 100644 --- a/cmd/drone-server/setup.go +++ b/cmd/drone-server/setup.go @@ -20,21 +20,21 @@ import ( "github.com/cncd/queue" "github.com/dimfeld/httptreemux" - "github.com/drone/drone/model" - "github.com/drone/drone/plugins/registry" - "github.com/drone/drone/plugins/secrets" - "github.com/drone/drone/remote" - "github.com/drone/drone/remote/bitbucket" - "github.com/drone/drone/remote/bitbucketserver" - "github.com/drone/drone/remote/coding" - "github.com/drone/drone/remote/gitea" - "github.com/drone/drone/remote/github" - "github.com/drone/drone/remote/gitlab" - "github.com/drone/drone/remote/gitlab3" - "github.com/drone/drone/remote/gogs" - "github.com/drone/drone/server/web" - "github.com/drone/drone/store" - "github.com/drone/drone/store/datastore" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/plugins/registry" + "github.com/laszlocph/drone-oss-08/plugins/secrets" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/remote/bitbucket" + "github.com/laszlocph/drone-oss-08/remote/bitbucketserver" + "github.com/laszlocph/drone-oss-08/remote/coding" + "github.com/laszlocph/drone-oss-08/remote/gitea" + "github.com/laszlocph/drone-oss-08/remote/github" + "github.com/laszlocph/drone-oss-08/remote/gitlab" + "github.com/laszlocph/drone-oss-08/remote/gitlab3" + "github.com/laszlocph/drone-oss-08/remote/gogs" + "github.com/laszlocph/drone-oss-08/server/web" + "github.com/laszlocph/drone-oss-08/store" + "github.com/laszlocph/drone-oss-08/store/datastore" "github.com/urfave/cli" ) diff --git a/plugins/registry/builtin.go b/plugins/registry/builtin.go index 872a4d7a6..285fb44b6 100644 --- a/plugins/registry/builtin.go +++ b/plugins/registry/builtin.go @@ -1,7 +1,7 @@ package registry import ( - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) type builtin struct { diff --git a/plugins/secrets/builtin.go b/plugins/secrets/builtin.go index ed00af432..fd7ae60a7 100644 --- a/plugins/secrets/builtin.go +++ b/plugins/secrets/builtin.go @@ -1,7 +1,7 @@ package secrets import ( - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) type builtin struct { diff --git a/plugins/sender/builtin.go b/plugins/sender/builtin.go index 577c1bf2e..dc19051f2 100644 --- a/plugins/sender/builtin.go +++ b/plugins/sender/builtin.go @@ -1,7 +1,7 @@ package sender import ( - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) type builtin struct { diff --git a/plugins/sender/plugin.go b/plugins/sender/plugin.go index a875989cb..6419c8355 100644 --- a/plugins/sender/plugin.go +++ b/plugins/sender/plugin.go @@ -3,8 +3,8 @@ package sender import ( "fmt" - "github.com/drone/drone/model" - "github.com/drone/drone/plugins/internal" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/plugins/internal" ) type plugin struct { diff --git a/remote/bitbucket/bitbucket.go b/remote/bitbucket/bitbucket.go index 35ec84f28..ebef2f011 100644 --- a/remote/bitbucket/bitbucket.go +++ b/remote/bitbucket/bitbucket.go @@ -19,10 +19,10 @@ import ( "net/http" "net/url" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" - "github.com/drone/drone/remote/bitbucket/internal" - "github.com/drone/drone/shared/httputil" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/remote/bitbucket/internal" + "github.com/laszlocph/drone-oss-08/shared/httputil" "golang.org/x/oauth2" ) diff --git a/remote/bitbucket/bitbucket_test.go b/remote/bitbucket/bitbucket_test.go index 91172321b..3c9af60b2 100644 --- a/remote/bitbucket/bitbucket_test.go +++ b/remote/bitbucket/bitbucket_test.go @@ -20,9 +20,9 @@ import ( "net/http/httptest" "testing" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/bitbucket/fixtures" - "github.com/drone/drone/remote/bitbucket/internal" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/bitbucket/fixtures" + "github.com/laszlocph/drone-oss-08/remote/bitbucket/internal" "github.com/franela/goblin" "github.com/gin-gonic/gin" diff --git a/remote/bitbucket/convert.go b/remote/bitbucket/convert.go index 985ae4632..53f7096e0 100644 --- a/remote/bitbucket/convert.go +++ b/remote/bitbucket/convert.go @@ -20,8 +20,8 @@ import ( "regexp" "strings" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/bitbucket/internal" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/bitbucket/internal" "golang.org/x/oauth2" ) diff --git a/remote/bitbucket/convert_test.go b/remote/bitbucket/convert_test.go index cc0d590ad..0288e0c57 100644 --- a/remote/bitbucket/convert_test.go +++ b/remote/bitbucket/convert_test.go @@ -18,8 +18,8 @@ import ( "testing" "time" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/bitbucket/internal" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/bitbucket/internal" "github.com/franela/goblin" "golang.org/x/oauth2" diff --git a/remote/bitbucket/parse.go b/remote/bitbucket/parse.go index dd0c3743a..b39c40c16 100644 --- a/remote/bitbucket/parse.go +++ b/remote/bitbucket/parse.go @@ -19,8 +19,8 @@ import ( "io/ioutil" "net/http" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/bitbucket/internal" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/bitbucket/internal" ) const ( diff --git a/remote/bitbucket/parse_test.go b/remote/bitbucket/parse_test.go index 6a2261908..aee7ab3ba 100644 --- a/remote/bitbucket/parse_test.go +++ b/remote/bitbucket/parse_test.go @@ -19,7 +19,7 @@ import ( "net/http" "testing" - "github.com/drone/drone/remote/bitbucket/fixtures" + "github.com/laszlocph/drone-oss-08/remote/bitbucket/fixtures" "github.com/franela/goblin" ) diff --git a/remote/bitbucketserver/bitbucketserver.go b/remote/bitbucketserver/bitbucketserver.go index 057fa510b..3fe2cd3d2 100644 --- a/remote/bitbucketserver/bitbucketserver.go +++ b/remote/bitbucketserver/bitbucketserver.go @@ -28,9 +28,9 @@ import ( "net/url" "strings" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" - "github.com/drone/drone/remote/bitbucketserver/internal" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/remote/bitbucketserver/internal" "github.com/mrjones/oauth" ) diff --git a/remote/bitbucketserver/convert.go b/remote/bitbucketserver/convert.go index 4ea5d9ae0..b3640dd75 100644 --- a/remote/bitbucketserver/convert.go +++ b/remote/bitbucketserver/convert.go @@ -22,8 +22,8 @@ import ( "strings" "time" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/bitbucketserver/internal" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/bitbucketserver/internal" "github.com/mrjones/oauth" ) diff --git a/remote/bitbucketserver/convert_test.go b/remote/bitbucketserver/convert_test.go index c364efdc8..c248c1ecb 100644 --- a/remote/bitbucketserver/convert_test.go +++ b/remote/bitbucketserver/convert_test.go @@ -17,8 +17,8 @@ package bitbucketserver import ( "testing" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/bitbucketserver/internal" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/bitbucketserver/internal" "github.com/franela/goblin" "github.com/mrjones/oauth" ) diff --git a/remote/bitbucketserver/internal/client.go b/remote/bitbucketserver/internal/client.go index 774efd175..3813bcf47 100644 --- a/remote/bitbucketserver/internal/client.go +++ b/remote/bitbucketserver/internal/client.go @@ -26,7 +26,7 @@ import ( "strings" log "github.com/Sirupsen/logrus" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" "github.com/mrjones/oauth" ) diff --git a/remote/bitbucketserver/parse.go b/remote/bitbucketserver/parse.go index 0ec3e127c..43b320420 100644 --- a/remote/bitbucketserver/parse.go +++ b/remote/bitbucketserver/parse.go @@ -17,8 +17,8 @@ package bitbucketserver import ( "encoding/json" "fmt" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/bitbucketserver/internal" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/bitbucketserver/internal" "net/http" ) diff --git a/remote/coding/coding.go b/remote/coding/coding.go index eb516a908..115f94498 100644 --- a/remote/coding/coding.go +++ b/remote/coding/coding.go @@ -20,10 +20,10 @@ import ( "net/http" "strings" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" - "github.com/drone/drone/remote/coding/internal" - "github.com/drone/drone/shared/httputil" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/remote/coding/internal" + "github.com/laszlocph/drone-oss-08/shared/httputil" "golang.org/x/net/context" "golang.org/x/oauth2" diff --git a/remote/coding/coding_test.go b/remote/coding/coding_test.go index 6d3daa971..bf17180cf 100644 --- a/remote/coding/coding_test.go +++ b/remote/coding/coding_test.go @@ -20,8 +20,8 @@ import ( "net/http/httptest" "testing" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/coding/fixtures" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/coding/fixtures" "github.com/franela/goblin" "github.com/gin-gonic/gin" diff --git a/remote/coding/hook.go b/remote/coding/hook.go index 241e18bab..b2ee5160b 100644 --- a/remote/coding/hook.go +++ b/remote/coding/hook.go @@ -22,7 +22,7 @@ import ( "regexp" "strings" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) const ( diff --git a/remote/coding/hook_test.go b/remote/coding/hook_test.go index f6f77e495..e310ed2d1 100644 --- a/remote/coding/hook_test.go +++ b/remote/coding/hook_test.go @@ -20,8 +20,8 @@ import ( "strings" "testing" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/coding/fixtures" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/coding/fixtures" "github.com/franela/goblin" ) diff --git a/remote/gerrit/gerrit.go b/remote/gerrit/gerrit.go index 93ade5662..f0fc91da5 100644 --- a/remote/gerrit/gerrit.go +++ b/remote/gerrit/gerrit.go @@ -20,8 +20,8 @@ import ( "net/http" "net/url" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" ) // IMPORTANT Gerrit support is not yet implemented. This file is a placeholder diff --git a/remote/gitea/gitea.go b/remote/gitea/gitea.go index 1773007f9..f1cfe4c60 100644 --- a/remote/gitea/gitea.go +++ b/remote/gitea/gitea.go @@ -22,8 +22,8 @@ import ( "net/url" "code.gitea.io/sdk/gitea" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" ) // Opts defines configuration options. diff --git a/remote/gitea/gitea_test.go b/remote/gitea/gitea_test.go index 17f3610f1..a6607bdf2 100644 --- a/remote/gitea/gitea_test.go +++ b/remote/gitea/gitea_test.go @@ -18,8 +18,8 @@ import ( "net/http/httptest" "testing" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/gitea/fixtures" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/gitea/fixtures" "github.com/franela/goblin" "github.com/gin-gonic/gin" ) diff --git a/remote/gitea/helper.go b/remote/gitea/helper.go index e330545f6..25dfc949e 100644 --- a/remote/gitea/helper.go +++ b/remote/gitea/helper.go @@ -23,7 +23,7 @@ import ( "time" "code.gitea.io/sdk/gitea" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) // helper function that converts a Gitea repository to a Drone repository. diff --git a/remote/gitea/helper_test.go b/remote/gitea/helper_test.go index 30c427299..679859b44 100644 --- a/remote/gitea/helper_test.go +++ b/remote/gitea/helper_test.go @@ -19,8 +19,8 @@ import ( "testing" "code.gitea.io/sdk/gitea" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/gitea/fixtures" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/gitea/fixtures" "github.com/franela/goblin" ) diff --git a/remote/gitea/parse.go b/remote/gitea/parse.go index 64a330c9a..1e77918ec 100644 --- a/remote/gitea/parse.go +++ b/remote/gitea/parse.go @@ -18,7 +18,7 @@ import ( "io" "net/http" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) const ( diff --git a/remote/github/convert.go b/remote/github/convert.go index dedeb3785..b8ce64f65 100644 --- a/remote/github/convert.go +++ b/remote/github/convert.go @@ -18,7 +18,7 @@ import ( "fmt" "strings" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" "github.com/google/go-github/github" ) diff --git a/remote/github/convert_test.go b/remote/github/convert_test.go index f0076c28a..a8da21cbb 100644 --- a/remote/github/convert_test.go +++ b/remote/github/convert_test.go @@ -17,7 +17,7 @@ package github import ( "testing" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" "github.com/google/go-github/github" "github.com/franela/goblin" diff --git a/remote/github/github.go b/remote/github/github.go index aed0bfd8a..5c142e71b 100644 --- a/remote/github/github.go +++ b/remote/github/github.go @@ -24,9 +24,9 @@ import ( "strconv" "strings" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" - "github.com/drone/drone/shared/httputil" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/shared/httputil" "github.com/google/go-github/github" "golang.org/x/net/context" diff --git a/remote/github/github_test.go b/remote/github/github_test.go index 1b41f1366..2acf08d26 100644 --- a/remote/github/github_test.go +++ b/remote/github/github_test.go @@ -18,8 +18,8 @@ import ( "net/http/httptest" "testing" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/github/fixtures" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/github/fixtures" "github.com/franela/goblin" "github.com/gin-gonic/gin" diff --git a/remote/github/parse.go b/remote/github/parse.go index dac4b3489..14b87d311 100644 --- a/remote/github/parse.go +++ b/remote/github/parse.go @@ -21,7 +21,7 @@ import ( "io/ioutil" "net/http" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) const ( diff --git a/remote/github/parse_test.go b/remote/github/parse_test.go index 2619782b5..5d2c76e5a 100644 --- a/remote/github/parse_test.go +++ b/remote/github/parse_test.go @@ -19,8 +19,8 @@ import ( "net/http" "testing" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/github/fixtures" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/github/fixtures" "github.com/franela/goblin" ) diff --git a/remote/gitlab/gitlab.go b/remote/gitlab/gitlab.go index 455b2b87d..318c83428 100644 --- a/remote/gitlab/gitlab.go +++ b/remote/gitlab/gitlab.go @@ -24,12 +24,12 @@ import ( "strconv" "strings" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" - "github.com/drone/drone/shared/httputil" - "github.com/drone/drone/shared/oauth2" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/shared/httputil" + "github.com/laszlocph/drone-oss-08/shared/oauth2" - "github.com/drone/drone/remote/gitlab/client" + "github.com/laszlocph/drone-oss-08/remote/gitlab/client" ) const DefaultScope = "api" diff --git a/remote/gitlab/gitlab_test.go b/remote/gitlab/gitlab_test.go index 4e168a961..f2a1df109 100644 --- a/remote/gitlab/gitlab_test.go +++ b/remote/gitlab/gitlab_test.go @@ -19,8 +19,8 @@ import ( "net/http" "testing" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/gitlab/testdata" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/gitlab/testdata" "github.com/franela/goblin" ) diff --git a/remote/gitlab/helper.go b/remote/gitlab/helper.go index e2a740c73..aec9322c1 100644 --- a/remote/gitlab/helper.go +++ b/remote/gitlab/helper.go @@ -22,7 +22,7 @@ import ( "strconv" "strings" - "github.com/drone/drone/remote/gitlab/client" + "github.com/laszlocph/drone-oss-08/remote/gitlab/client" ) const ( diff --git a/remote/gitlab3/gitlab.go b/remote/gitlab3/gitlab.go index 1515d7d4c..cd7eb1f25 100644 --- a/remote/gitlab3/gitlab.go +++ b/remote/gitlab3/gitlab.go @@ -24,12 +24,12 @@ import ( "strconv" "strings" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" - "github.com/drone/drone/shared/httputil" - "github.com/drone/drone/shared/oauth2" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/shared/httputil" + "github.com/laszlocph/drone-oss-08/shared/oauth2" - "github.com/drone/drone/remote/gitlab3/client" + "github.com/laszlocph/drone-oss-08/remote/gitlab3/client" ) const DefaultScope = "api" diff --git a/remote/gitlab3/gitlab_test.go b/remote/gitlab3/gitlab_test.go index bc98ae73b..82ab5aae2 100644 --- a/remote/gitlab3/gitlab_test.go +++ b/remote/gitlab3/gitlab_test.go @@ -19,8 +19,8 @@ import ( "net/http" "testing" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/gitlab3/testdata" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/gitlab3/testdata" "github.com/franela/goblin" ) diff --git a/remote/gitlab3/helper.go b/remote/gitlab3/helper.go index ad6d7f3c4..38deaf26d 100644 --- a/remote/gitlab3/helper.go +++ b/remote/gitlab3/helper.go @@ -22,7 +22,7 @@ import ( "strconv" "strings" - "github.com/drone/drone/remote/gitlab3/client" + "github.com/laszlocph/drone-oss-08/remote/gitlab3/client" ) const ( diff --git a/remote/gogs/gogs.go b/remote/gogs/gogs.go index cc57e2a44..285c80795 100644 --- a/remote/gogs/gogs.go +++ b/remote/gogs/gogs.go @@ -22,8 +22,8 @@ import ( "net/url" "strings" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" "github.com/gogits/go-gogs-client" ) diff --git a/remote/gogs/gogs_test.go b/remote/gogs/gogs_test.go index 468cae520..961eae460 100644 --- a/remote/gogs/gogs_test.go +++ b/remote/gogs/gogs_test.go @@ -18,8 +18,8 @@ import ( "net/http/httptest" "testing" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/gogs/fixtures" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/gogs/fixtures" "github.com/franela/goblin" "github.com/gin-gonic/gin" diff --git a/remote/gogs/helper.go b/remote/gogs/helper.go index 0d2db2f81..35829a2fa 100644 --- a/remote/gogs/helper.go +++ b/remote/gogs/helper.go @@ -22,7 +22,7 @@ import ( "strings" "time" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" "github.com/gogits/go-gogs-client" ) diff --git a/remote/gogs/helper_test.go b/remote/gogs/helper_test.go index 758bd1226..73a13c3da 100644 --- a/remote/gogs/helper_test.go +++ b/remote/gogs/helper_test.go @@ -18,8 +18,8 @@ import ( "bytes" "testing" - "github.com/drone/drone/model" - "github.com/drone/drone/remote/gogs/fixtures" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote/gogs/fixtures" "github.com/franela/goblin" "github.com/gogits/go-gogs-client" diff --git a/remote/gogs/parse.go b/remote/gogs/parse.go index f0e1f47e0..c83424a24 100644 --- a/remote/gogs/parse.go +++ b/remote/gogs/parse.go @@ -18,7 +18,7 @@ import ( "io" "net/http" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) const ( diff --git a/remote/mock/remote.go b/remote/mock/remote.go index 2b8cf32f0..96f5fba16 100644 --- a/remote/mock/remote.go +++ b/remote/mock/remote.go @@ -17,7 +17,7 @@ package mock import ( "net/http" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" "github.com/stretchr/testify/mock" ) diff --git a/remote/remote.go b/remote/remote.go index 880e84062..e6dd43339 100644 --- a/remote/remote.go +++ b/remote/remote.go @@ -20,7 +20,7 @@ import ( "net/http" "time" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" "golang.org/x/net/context" ) diff --git a/router/middleware/config.go b/router/middleware/config.go index 87c857246..875ad995b 100644 --- a/router/middleware/config.go +++ b/router/middleware/config.go @@ -15,7 +15,7 @@ package middleware import ( - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" "github.com/gin-gonic/gin" "github.com/urfave/cli" diff --git a/router/middleware/header/header.go b/router/middleware/header/header.go index c3a6ba0bc..30efc847f 100644 --- a/router/middleware/header/header.go +++ b/router/middleware/header/header.go @@ -18,7 +18,7 @@ import ( "net/http" "time" - "github.com/drone/drone/version" + "github.com/laszlocph/drone-oss-08/version" "github.com/gin-gonic/gin" ) diff --git a/router/middleware/remote.go b/router/middleware/remote.go index 401303302..ecce5171e 100644 --- a/router/middleware/remote.go +++ b/router/middleware/remote.go @@ -15,7 +15,7 @@ package middleware import ( - "github.com/drone/drone/remote" + "github.com/laszlocph/drone-oss-08/remote" "github.com/gin-gonic/gin" ) diff --git a/router/middleware/session/agent.go b/router/middleware/session/agent.go index 7c49fa726..68d2202cf 100644 --- a/router/middleware/session/agent.go +++ b/router/middleware/session/agent.go @@ -15,7 +15,7 @@ package session import ( - "github.com/drone/drone/shared/token" + "github.com/laszlocph/drone-oss-08/shared/token" "github.com/gin-gonic/gin" ) diff --git a/router/middleware/session/repo.go b/router/middleware/session/repo.go index 526735baf..d61283868 100644 --- a/router/middleware/session/repo.go +++ b/router/middleware/session/repo.go @@ -18,9 +18,9 @@ import ( "net/http" "time" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/store" log "github.com/Sirupsen/logrus" "github.com/gin-gonic/gin" diff --git a/router/middleware/session/user.go b/router/middleware/session/user.go index 81da03d8e..fb92fdd69 100644 --- a/router/middleware/session/user.go +++ b/router/middleware/session/user.go @@ -17,9 +17,9 @@ package session import ( "net/http" - "github.com/drone/drone/model" - "github.com/drone/drone/shared/token" - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/shared/token" + "github.com/laszlocph/drone-oss-08/store" "github.com/gin-gonic/gin" ) diff --git a/router/middleware/store.go b/router/middleware/store.go index f3bd30528..b81f9868f 100644 --- a/router/middleware/store.go +++ b/router/middleware/store.go @@ -15,7 +15,7 @@ package middleware import ( - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/store" "github.com/urfave/cli" "github.com/gin-gonic/gin" diff --git a/router/middleware/token/token.go b/router/middleware/token/token.go index 8ba292696..41acbfaa1 100644 --- a/router/middleware/token/token.go +++ b/router/middleware/token/token.go @@ -17,9 +17,9 @@ package token import ( "time" - "github.com/drone/drone/remote" - "github.com/drone/drone/router/middleware/session" - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/router/middleware/session" + "github.com/laszlocph/drone-oss-08/store" log "github.com/Sirupsen/logrus" "github.com/gin-gonic/gin" diff --git a/router/middleware/version.go b/router/middleware/version.go index fc2a7f552..a73348337 100644 --- a/router/middleware/version.go +++ b/router/middleware/version.go @@ -15,7 +15,7 @@ package middleware import ( - "github.com/drone/drone/version" + "github.com/laszlocph/drone-oss-08/version" "github.com/gin-gonic/gin" ) diff --git a/router/router.go b/router/router.go index 6d5fbcd18..e9956c709 100644 --- a/router/router.go +++ b/router/router.go @@ -20,13 +20,13 @@ import ( "github.com/dimfeld/httptreemux" "github.com/gin-gonic/gin" - "github.com/drone/drone/router/middleware/header" - "github.com/drone/drone/router/middleware/session" - "github.com/drone/drone/router/middleware/token" - "github.com/drone/drone/server" - "github.com/drone/drone/server/debug" - "github.com/drone/drone/server/metrics" - "github.com/drone/drone/server/web" + "github.com/laszlocph/drone-oss-08/router/middleware/header" + "github.com/laszlocph/drone-oss-08/router/middleware/session" + "github.com/laszlocph/drone-oss-08/router/middleware/token" + "github.com/laszlocph/drone-oss-08/server" + "github.com/laszlocph/drone-oss-08/server/debug" + "github.com/laszlocph/drone-oss-08/server/metrics" + "github.com/laszlocph/drone-oss-08/server/web" ) // Load loads the router diff --git a/server/badge.go b/server/badge.go index b8c5162f8..c74afff9f 100644 --- a/server/badge.go +++ b/server/badge.go @@ -20,9 +20,9 @@ import ( log "github.com/Sirupsen/logrus" "github.com/gin-gonic/gin" - "github.com/drone/drone/model" - "github.com/drone/drone/shared/httputil" - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/shared/httputil" + "github.com/laszlocph/drone-oss-08/store" ) var ( diff --git a/server/build.go b/server/build.go index f1d6e8974..45bec6eb6 100644 --- a/server/build.go +++ b/server/build.go @@ -28,13 +28,13 @@ import ( "github.com/cncd/pipeline/pipeline/rpc" "github.com/cncd/pubsub" "github.com/cncd/queue" - "github.com/drone/drone/remote" - "github.com/drone/drone/shared/httputil" - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/shared/httputil" + "github.com/laszlocph/drone-oss-08/store" "github.com/gin-gonic/gin" - "github.com/drone/drone/model" - "github.com/drone/drone/router/middleware/session" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/router/middleware/session" ) func GetBuilds(c *gin.Context) { diff --git a/server/file.go b/server/file.go index 1027391ce..ca4834d08 100644 --- a/server/file.go +++ b/server/file.go @@ -20,8 +20,8 @@ import ( "strconv" "strings" - "github.com/drone/drone/router/middleware/session" - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/router/middleware/session" + "github.com/laszlocph/drone-oss-08/store" "github.com/gin-gonic/gin" ) diff --git a/server/hook.go b/server/hook.go index 7035355a7..6ff7d9842 100644 --- a/server/hook.go +++ b/server/hook.go @@ -29,11 +29,11 @@ import ( "github.com/gin-gonic/gin" "github.com/Sirupsen/logrus" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" - "github.com/drone/drone/shared/httputil" - "github.com/drone/drone/shared/token" - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/shared/httputil" + "github.com/laszlocph/drone-oss-08/shared/token" + "github.com/laszlocph/drone-oss-08/store" "github.com/drone/envsubst" "github.com/cncd/pipeline/pipeline/backend" diff --git a/server/hook_test.go b/server/hook_test.go index 5aedd8c8c..3bd10bfe2 100644 --- a/server/hook_test.go +++ b/server/hook_test.go @@ -17,7 +17,7 @@ package server import ( "testing" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) func TestMultilineEnvsubst(t *testing.T) { diff --git a/server/login.go b/server/login.go index 558f15324..bb783aca7 100644 --- a/server/login.go +++ b/server/login.go @@ -19,11 +19,11 @@ import ( "net/http" "time" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" - "github.com/drone/drone/shared/httputil" - "github.com/drone/drone/shared/token" - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/shared/httputil" + "github.com/laszlocph/drone-oss-08/shared/token" + "github.com/laszlocph/drone-oss-08/store" "github.com/gorilla/securecookie" "github.com/Sirupsen/logrus" diff --git a/server/metrics/prometheus.go b/server/metrics/prometheus.go index b91b5e2a7..7fd0c9acb 100644 --- a/server/metrics/prometheus.go +++ b/server/metrics/prometheus.go @@ -18,7 +18,7 @@ import ( "errors" "fmt" - "github.com/drone/drone/server" + "github.com/laszlocph/drone-oss-08/server" "github.com/gin-gonic/gin" "github.com/prometheus/client_golang/prometheus/promhttp" ) diff --git a/server/registry.go b/server/registry.go index 879edae6d..2b994d7f5 100644 --- a/server/registry.go +++ b/server/registry.go @@ -17,8 +17,8 @@ package server import ( "net/http" - "github.com/drone/drone/model" - "github.com/drone/drone/router/middleware/session" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/router/middleware/session" "github.com/gin-gonic/gin" ) diff --git a/server/repo.go b/server/repo.go index bb57f70bc..7f51db3b6 100644 --- a/server/repo.go +++ b/server/repo.go @@ -23,12 +23,12 @@ import ( "github.com/gin-gonic/gin" "github.com/gorilla/securecookie" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" - "github.com/drone/drone/router/middleware/session" - "github.com/drone/drone/shared/httputil" - "github.com/drone/drone/shared/token" - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/router/middleware/session" + "github.com/laszlocph/drone-oss-08/shared/httputil" + "github.com/laszlocph/drone-oss-08/shared/token" + "github.com/laszlocph/drone-oss-08/store" ) func PostRepo(c *gin.Context) { diff --git a/server/rpc.go b/server/rpc.go index 0bdec222b..fafae0c5c 100644 --- a/server/rpc.go +++ b/server/rpc.go @@ -34,9 +34,9 @@ import ( "github.com/cncd/pubsub" "github.com/cncd/queue" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/store" "github.com/drone/expr" ) diff --git a/server/secret.go b/server/secret.go index deb04c786..ba4015cbc 100644 --- a/server/secret.go +++ b/server/secret.go @@ -17,8 +17,8 @@ package server import ( "net/http" - "github.com/drone/drone/model" - "github.com/drone/drone/router/middleware/session" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/router/middleware/session" "github.com/gin-gonic/gin" ) diff --git a/server/stream.go b/server/stream.go index a592fbc44..f040d02d6 100644 --- a/server/stream.go +++ b/server/stream.go @@ -24,9 +24,9 @@ import ( "github.com/cncd/logging" "github.com/cncd/pubsub" - "github.com/drone/drone/model" - "github.com/drone/drone/router/middleware/session" - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/router/middleware/session" + "github.com/laszlocph/drone-oss-08/store" "github.com/Sirupsen/logrus" "github.com/gin-gonic/gin" diff --git a/server/swagger/swagger.go b/server/swagger/swagger.go index e23ba78b2..c9b8bfa2d 100644 --- a/server/swagger/swagger.go +++ b/server/swagger/swagger.go @@ -17,7 +17,7 @@ package swagger import ( "net/http" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) // swagger:route GET /users/{login} user getUser diff --git a/server/sync.go b/server/sync.go index 6e9091ac3..b448ee338 100644 --- a/server/sync.go +++ b/server/sync.go @@ -17,9 +17,9 @@ package server import ( "time" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/store" ) // Syncer synces the user repository and permissions. diff --git a/server/user.go b/server/user.go index 41f4d5913..24b068277 100644 --- a/server/user.go +++ b/server/user.go @@ -24,11 +24,11 @@ import ( "github.com/gin-gonic/gin" "github.com/gorilla/securecookie" - "github.com/drone/drone/model" - "github.com/drone/drone/remote" - "github.com/drone/drone/router/middleware/session" - "github.com/drone/drone/shared/token" - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/drone-oss-08/router/middleware/session" + "github.com/laszlocph/drone-oss-08/shared/token" + "github.com/laszlocph/drone-oss-08/store" ) func GetSelf(c *gin.Context) { diff --git a/server/users.go b/server/users.go index 49d78683c..ffe656ef0 100644 --- a/server/users.go +++ b/server/users.go @@ -21,8 +21,8 @@ import ( "github.com/gin-gonic/gin" "github.com/gorilla/securecookie" - "github.com/drone/drone/model" - "github.com/drone/drone/store" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/store" ) func GetUsers(c *gin.Context) { diff --git a/server/web/web.go b/server/web/web.go index 2a4635808..0c8ebdb96 100644 --- a/server/web/web.go +++ b/server/web/web.go @@ -24,10 +24,10 @@ import ( "path/filepath" "time" - "github.com/drone/drone-ui/dist" - "github.com/drone/drone/model" - "github.com/drone/drone/shared/token" - "github.com/drone/drone/version" + "github.com/laszlocph/drone-ui/dist" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/shared/token" + "github.com/laszlocph/drone-oss-08/version" "github.com/dimfeld/httptreemux" ) diff --git a/server/z.go b/server/z.go index fcc036f5a..ccb03e244 100644 --- a/server/z.go +++ b/server/z.go @@ -15,8 +15,8 @@ package server import ( - "github.com/drone/drone/store" - "github.com/drone/drone/version" + "github.com/laszlocph/drone-oss-08/store" + "github.com/laszlocph/drone-oss-08/version" "github.com/gin-gonic/gin" ) @@ -32,7 +32,7 @@ func Health(c *gin.Context) { // Version endpoint returns the server version and build information. func Version(c *gin.Context) { c.JSON(200, gin.H{ - "source": "https://github.com/drone/drone", + "source": "https://github.com/laszlocph/drone-oss-08", "version": version.Version.String(), }) } diff --git a/store/datastore/builds.go b/store/datastore/builds.go index 9033e7ee1..5a347fc4f 100644 --- a/store/datastore/builds.go +++ b/store/datastore/builds.go @@ -18,8 +18,8 @@ import ( "fmt" "time" - "github.com/drone/drone/model" - "github.com/drone/drone/store/datastore/sql" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/builds_test.go b/store/datastore/builds_test.go index 3411733c8..cc8f8f12e 100644 --- a/store/datastore/builds_test.go +++ b/store/datastore/builds_test.go @@ -18,7 +18,7 @@ import ( "fmt" "testing" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" "github.com/franela/goblin" ) diff --git a/store/datastore/config.go b/store/datastore/config.go index af976ebb5..7ac585347 100644 --- a/store/datastore/config.go +++ b/store/datastore/config.go @@ -17,8 +17,8 @@ package datastore import ( gosql "database/sql" - "github.com/drone/drone/model" - "github.com/drone/drone/store/datastore/sql" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/config_test.go b/store/datastore/config_test.go index b98461c65..dedef4466 100644 --- a/store/datastore/config_test.go +++ b/store/datastore/config_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) func TestConfig(t *testing.T) { diff --git a/store/datastore/ddl/migrate.go b/store/datastore/ddl/migrate.go index 16283c664..b26fda2f2 100644 --- a/store/datastore/ddl/migrate.go +++ b/store/datastore/ddl/migrate.go @@ -18,9 +18,9 @@ import ( "database/sql" "errors" - "github.com/drone/drone/store/datastore/ddl/mysql" - "github.com/drone/drone/store/datastore/ddl/postgres" - "github.com/drone/drone/store/datastore/ddl/sqlite" + "github.com/laszlocph/drone-oss-08/store/datastore/ddl/mysql" + "github.com/laszlocph/drone-oss-08/store/datastore/ddl/postgres" + "github.com/laszlocph/drone-oss-08/store/datastore/ddl/sqlite" ) // Supported database drivers diff --git a/store/datastore/files.go b/store/datastore/files.go index 765762551..33ed1407a 100644 --- a/store/datastore/files.go +++ b/store/datastore/files.go @@ -19,8 +19,8 @@ import ( "io" "io/ioutil" - "github.com/drone/drone/model" - "github.com/drone/drone/store/datastore/sql" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/files_test.go b/store/datastore/files_test.go index f51230c74..865a399ac 100644 --- a/store/datastore/files_test.go +++ b/store/datastore/files_test.go @@ -19,7 +19,7 @@ import ( "io/ioutil" "testing" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) func TestFileFind(t *testing.T) { diff --git a/store/datastore/logs.go b/store/datastore/logs.go index 6d1460c9a..6b5a0176e 100644 --- a/store/datastore/logs.go +++ b/store/datastore/logs.go @@ -19,8 +19,8 @@ import ( "io" "io/ioutil" - "github.com/drone/drone/model" - "github.com/drone/drone/store/datastore/sql" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/logs_test.go b/store/datastore/logs_test.go index 2d227b0d2..ed6796d99 100644 --- a/store/datastore/logs_test.go +++ b/store/datastore/logs_test.go @@ -19,7 +19,7 @@ import ( "io/ioutil" "testing" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) func TestLogCreateFind(t *testing.T) { diff --git a/store/datastore/perms.go b/store/datastore/perms.go index 4ad7e49b7..61b69a73e 100644 --- a/store/datastore/perms.go +++ b/store/datastore/perms.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/drone/drone/model" - "github.com/drone/drone/store/datastore/sql" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/perms_test.go b/store/datastore/perms_test.go index 030bdd926..f0391c2b4 100644 --- a/store/datastore/perms_test.go +++ b/store/datastore/perms_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) func TestPermFind(t *testing.T) { diff --git a/store/datastore/procs.go b/store/datastore/procs.go index d503e1de9..afe70559b 100644 --- a/store/datastore/procs.go +++ b/store/datastore/procs.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/drone/drone/model" - "github.com/drone/drone/store/datastore/sql" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/procs_test.go b/store/datastore/procs_test.go index c02dfd295..db0aad0c9 100644 --- a/store/datastore/procs_test.go +++ b/store/datastore/procs_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) func TestProcFind(t *testing.T) { diff --git a/store/datastore/registry.go b/store/datastore/registry.go index fc1d9d19e..ec0111e8d 100644 --- a/store/datastore/registry.go +++ b/store/datastore/registry.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/drone/drone/model" - "github.com/drone/drone/store/datastore/sql" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/registry_test.go b/store/datastore/registry_test.go index 66223599e..b511dcf40 100644 --- a/store/datastore/registry_test.go +++ b/store/datastore/registry_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) func TestRegistryFind(t *testing.T) { diff --git a/store/datastore/repos.go b/store/datastore/repos.go index e993c1742..0f187c993 100644 --- a/store/datastore/repos.go +++ b/store/datastore/repos.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/drone/drone/model" - "github.com/drone/drone/store/datastore/sql" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/repos_test.go b/store/datastore/repos_test.go index f180543bf..736233f09 100644 --- a/store/datastore/repos_test.go +++ b/store/datastore/repos_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" "github.com/franela/goblin" ) diff --git a/store/datastore/secret.go b/store/datastore/secret.go index b967974e7..d13924896 100644 --- a/store/datastore/secret.go +++ b/store/datastore/secret.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/drone/drone/model" - "github.com/drone/drone/store/datastore/sql" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/secret_test.go b/store/datastore/secret_test.go index 8b0b8cae8..22141369f 100644 --- a/store/datastore/secret_test.go +++ b/store/datastore/secret_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) func TestSecretFind(t *testing.T) { diff --git a/store/datastore/sender.go b/store/datastore/sender.go index 326cbd4d5..f594b433d 100644 --- a/store/datastore/sender.go +++ b/store/datastore/sender.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/drone/drone/model" - "github.com/drone/drone/store/datastore/sql" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/sender_test.go b/store/datastore/sender_test.go index 433797f65..0edb4cfd2 100644 --- a/store/datastore/sender_test.go +++ b/store/datastore/sender_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) func TestSenderFind(t *testing.T) { diff --git a/store/datastore/sql/lookup.go b/store/datastore/sql/lookup.go index e0e3d46aa..c052e7e2c 100644 --- a/store/datastore/sql/lookup.go +++ b/store/datastore/sql/lookup.go @@ -15,9 +15,9 @@ package sql import ( - "github.com/drone/drone/store/datastore/sql/mysql" - "github.com/drone/drone/store/datastore/sql/postgres" - "github.com/drone/drone/store/datastore/sql/sqlite" + "github.com/laszlocph/drone-oss-08/store/datastore/sql/mysql" + "github.com/laszlocph/drone-oss-08/store/datastore/sql/postgres" + "github.com/laszlocph/drone-oss-08/store/datastore/sql/sqlite" ) // Supported database drivers diff --git a/store/datastore/store.go b/store/datastore/store.go index e3e1401a4..a2dad6296 100644 --- a/store/datastore/store.go +++ b/store/datastore/store.go @@ -19,8 +19,8 @@ import ( "os" "time" - "github.com/drone/drone/store" - "github.com/drone/drone/store/datastore/ddl" + "github.com/laszlocph/drone-oss-08/store" + "github.com/laszlocph/drone-oss-08/store/datastore/ddl" "github.com/russross/meddler" "github.com/Sirupsen/logrus" diff --git a/store/datastore/task.go b/store/datastore/task.go index e095dc29a..617462b35 100644 --- a/store/datastore/task.go +++ b/store/datastore/task.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/drone/drone/model" - "github.com/drone/drone/store/datastore/sql" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/task_test.go b/store/datastore/task_test.go index 118436a5c..2d460f7c5 100644 --- a/store/datastore/task_test.go +++ b/store/datastore/task_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" ) func TestTaskList(t *testing.T) { diff --git a/store/datastore/users.go b/store/datastore/users.go index e37baaee5..e018193f1 100644 --- a/store/datastore/users.go +++ b/store/datastore/users.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/drone/drone/model" - "github.com/drone/drone/store/datastore/sql" + "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/drone-oss-08/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/users_test.go b/store/datastore/users_test.go index 5fd580e6c..a8f772209 100644 --- a/store/datastore/users_test.go +++ b/store/datastore/users_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" "github.com/franela/goblin" ) diff --git a/store/store.go b/store/store.go index b93331a69..0ffd47328 100644 --- a/store/store.go +++ b/store/store.go @@ -17,7 +17,7 @@ package store import ( "io" - "github.com/drone/drone/model" + "github.com/laszlocph/drone-oss-08/model" "golang.org/x/net/context" ) diff --git a/vendor/vendor.json b/vendor/vendor.json index c57b90f83..e0518c5bc 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -1,6 +1,6 @@ { "comment": "", - "ignore": "test github.com/drone/mq/ github.com/tidwall/redlog/ google.golang.org/appengine/ github.com/syndtr/goleveldb/ github.com/drone/drone-ui/ github.com/bradrydzewski/drone-ui-unit/dist/ github.com/golang/protobuf/proto github.com/golang/protobuf/ptypes/any golang.org/x/net/context golang.org/x/net/context/ctxhttp", + "ignore": "test github.com/drone/mq/ github.com/tidwall/redlog/ google.golang.org/appengine/ github.com/syndtr/goleveldb/ github.com/laszlocph/drone-ui/ github.com/bradrydzewski/drone-ui-unit/dist/ github.com/golang/protobuf/proto github.com/golang/protobuf/ptypes/any golang.org/x/net/context golang.org/x/net/context/ctxhttp", "package": [ { "path": "appengine/cloudsql", @@ -1248,5 +1248,5 @@ "revisionTime": "2015-01-19T16:55:52-02:00" } ], - "rootPath": "github.com/drone/drone" + "rootPath": "github.com/laszlocph/drone-oss-08" }