From 630c383181b10c4ec375e500c812c4b76b3c52b8 Mon Sep 17 00:00:00 2001 From: Laszlo Fogas Date: Tue, 27 Aug 2019 13:01:29 +0200 Subject: [PATCH] Project is renamed to Woodpecker --- .cli.sh | 22 ++++++------ .drone.sh | 8 ++--- .drone.yml | 28 +++++++-------- BUILDING | 4 +-- LICENSE | 2 +- README.md | 8 ++--- cli/drone/build/build_approve.go | 2 +- cli/drone/build/build_decline.go | 2 +- cli/drone/build/build_info.go | 2 +- cli/drone/build/build_kill.go | 2 +- cli/drone/build/build_last.go | 2 +- cli/drone/build/build_list.go | 2 +- cli/drone/build/build_ps.go | 2 +- cli/drone/build/build_queue.go | 2 +- cli/drone/build/build_start.go | 2 +- cli/drone/build/build_stop.go | 2 +- cli/drone/deploy/deploy.go | 4 +-- cli/drone/exec/exec.go | 18 +++++----- cli/drone/info/info.go | 2 +- cli/drone/internal/util.go | 2 +- cli/drone/log/log_purge.go | 2 +- cli/drone/main.go | 18 +++++----- cli/drone/registry/registry_add.go | 4 +-- cli/drone/registry/registry_info.go | 2 +- cli/drone/registry/registry_list.go | 2 +- cli/drone/registry/registry_rm.go | 2 +- cli/drone/registry/registry_set.go | 4 +-- cli/drone/repo/repo_add.go | 2 +- cli/drone/repo/repo_chown.go | 2 +- cli/drone/repo/repo_info.go | 2 +- cli/drone/repo/repo_list.go | 2 +- cli/drone/repo/repo_repair.go | 2 +- cli/drone/repo/repo_rm.go | 2 +- cli/drone/repo/repo_sync.go | 2 +- cli/drone/repo/repo_update.go | 4 +-- cli/drone/secret/secret_add.go | 4 +-- cli/drone/secret/secret_info.go | 2 +- cli/drone/secret/secret_list.go | 2 +- cli/drone/secret/secret_rm.go | 2 +- cli/drone/secret/secret_set.go | 4 +-- cli/drone/user/user_add.go | 4 +-- cli/drone/user/user_info.go | 2 +- cli/drone/user/user_list.go | 2 +- cli/drone/user/user_rm.go | 2 +- cmd/drone-agent/agent.go | 10 +++--- cmd/drone-agent/health.go | 4 +-- cmd/drone-agent/main.go | 2 +- cmd/drone-server/main.go | 2 +- cmd/drone-server/server.go | 18 +++++----- cmd/drone-server/setup.go | 34 +++++++++---------- cncd/logging/README | 4 +-- cncd/pipeline/.drone.yml | 8 ++--- cncd/pipeline/pipec/compile.go | 6 ++-- cncd/pipeline/pipec/exec.go | 12 +++---- cncd/pipeline/pipec/lint.go | 4 +-- cncd/pipeline/piped/main.go | 12 +++---- cncd/pipeline/piped/once.go | 4 +-- .../pipeline/backend/docker/convert.go | 2 +- .../pipeline/backend/docker/docker.go | 2 +- cncd/pipeline/pipeline/backend/docker/pool.go | 2 +- .../pipeline/backend/kubernetes/kubernetes.go | 2 +- .../pipeline/frontend/yaml/compiler/cacher.go | 2 +- .../frontend/yaml/compiler/compiler.go | 6 ++-- .../frontend/yaml/compiler/convert.go | 4 +-- .../pipeline/frontend/yaml/compiler/option.go | 2 +- .../frontend/yaml/compiler/option_test.go | 2 +- .../pipeline/frontend/yaml/constraint.go | 4 +-- .../pipeline/frontend/yaml/constraint_test.go | 2 +- .../pipeline/frontend/yaml/linter/linter.go | 2 +- .../frontend/yaml/linter/linter_test.go | 2 +- cncd/pipeline/pipeline/logger.go | 4 +-- cncd/pipeline/pipeline/option.go | 2 +- cncd/pipeline/pipeline/parse.go | 2 +- cncd/pipeline/pipeline/pipeline.go | 4 +-- cncd/pipeline/pipeline/rpc/client_grpc.go | 4 +-- .../pipeline/rpc/client_grpc_health.go | 4 +-- cncd/pipeline/pipeline/rpc/peer.go | 2 +- .../samples/sample_7_redis/pipeline.json | 6 ++-- cncd/pubsub/README | 4 +-- cncd/queue/README | 4 +-- docker-compose.yml | 4 +-- drone-go/README.md | 2 +- drone-go/drone/client_test.go | 2 +- model/queue.go | 2 +- plugins/registry/builtin.go | 2 +- plugins/secrets/builtin.go | 2 +- plugins/sender/builtin.go | 2 +- plugins/sender/plugin.go | 4 +-- remote/bitbucket/bitbucket.go | 8 ++--- remote/bitbucket/bitbucket_test.go | 6 ++-- remote/bitbucket/convert.go | 4 +-- remote/bitbucket/convert_test.go | 4 +-- remote/bitbucket/parse.go | 4 +-- remote/bitbucket/parse_test.go | 2 +- remote/bitbucketserver/bitbucketserver.go | 6 ++-- remote/bitbucketserver/convert.go | 4 +-- remote/bitbucketserver/convert_test.go | 4 +-- remote/bitbucketserver/internal/client.go | 2 +- remote/bitbucketserver/parse.go | 4 +-- remote/coding/coding.go | 8 ++--- remote/coding/coding_test.go | 4 +-- remote/coding/hook.go | 2 +- remote/coding/hook_test.go | 4 +-- remote/gerrit/gerrit.go | 4 +-- remote/gitea/gitea.go | 4 +-- remote/gitea/gitea_test.go | 4 +-- remote/gitea/helper.go | 2 +- remote/gitea/helper_test.go | 4 +-- remote/gitea/parse.go | 2 +- remote/github/convert.go | 2 +- remote/github/convert_test.go | 2 +- remote/github/github.go | 6 ++-- remote/github/github_test.go | 4 +-- remote/github/parse.go | 2 +- remote/github/parse_test.go | 4 +-- remote/gitlab/gitlab.go | 10 +++--- remote/gitlab/gitlab_test.go | 4 +-- remote/gitlab/helper.go | 2 +- remote/gitlab3/gitlab.go | 10 +++--- remote/gitlab3/gitlab_test.go | 4 +-- remote/gitlab3/helper.go | 2 +- remote/gogs/gogs.go | 4 +-- remote/gogs/gogs_test.go | 4 +-- remote/gogs/helper.go | 2 +- remote/gogs/helper_test.go | 4 +-- remote/gogs/parse.go | 2 +- remote/mock/remote.go | 4 +-- remote/remote.go | 2 +- router/middleware/config.go | 2 +- router/middleware/header/header.go | 2 +- router/middleware/remote.go | 2 +- router/middleware/session/agent.go | 2 +- router/middleware/session/repo.go | 6 ++-- router/middleware/session/user.go | 6 ++-- router/middleware/store.go | 2 +- router/middleware/token/token.go | 6 ++-- router/middleware/version.go | 2 +- router/router.go | 14 ++++---- server/badge.go | 6 ++-- server/build.go | 12 +++---- server/configFetcher.go | 4 +-- server/configFetcher_test.go | 4 +-- server/file.go | 4 +-- server/hook.go | 18 +++++----- server/login.go | 10 +++--- server/metrics/prometheus.go | 2 +- server/procBuilder.go | 16 ++++----- server/procBuilder_test.go | 4 +-- server/registry.go | 4 +-- server/repo.go | 12 +++---- server/rpc.go | 16 ++++----- server/secret.go | 4 +-- server/stream.go | 10 +++--- server/swagger/swagger.go | 2 +- server/sync.go | 6 ++-- server/user.go | 10 +++--- server/users.go | 4 +-- server/web/web.go | 6 ++-- server/z.go | 6 ++-- store/datastore/builds.go | 4 +-- store/datastore/builds_test.go | 2 +- store/datastore/config.go | 4 +-- store/datastore/config_test.go | 2 +- store/datastore/ddl/migrate.go | 6 ++-- store/datastore/files.go | 4 +-- store/datastore/files_test.go | 2 +- store/datastore/logs.go | 4 +-- store/datastore/logs_test.go | 2 +- store/datastore/perms.go | 4 +-- store/datastore/perms_test.go | 2 +- store/datastore/procs.go | 4 +-- store/datastore/procs_test.go | 2 +- store/datastore/registry.go | 4 +-- store/datastore/registry_test.go | 2 +- store/datastore/repos.go | 4 +-- store/datastore/repos_test.go | 2 +- store/datastore/secret.go | 4 +-- store/datastore/secret_test.go | 2 +- store/datastore/sender.go | 4 +-- store/datastore/sender_test.go | 2 +- store/datastore/sql/lookup.go | 6 ++-- store/datastore/store.go | 4 +-- store/datastore/task.go | 4 +-- store/datastore/task_test.go | 2 +- store/datastore/users.go | 4 +-- store/datastore/users_test.go | 2 +- store/store.go | 2 +- .../laszlocph/woodpecker-ui/dist/dist_gen.go | 2 +- vendor/vendor.json | 2 +- 189 files changed, 431 insertions(+), 431 deletions(-) diff --git a/.cli.sh b/.cli.sh index 3b37f9045..3ba7e311e 100755 --- a/.cli.sh +++ b/.cli.sh @@ -6,18 +6,18 @@ set -x export CGO_ENABLED=0 # compile for all architectures -GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/amd64/drone github.com/laszlocph/drone-oss-08/cli/drone -GOOS=linux GOARCH=arm64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm64/drone github.com/laszlocph/drone-oss-08/cli/drone -GOOS=linux GOARCH=arm go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm/drone github.com/laszlocph/drone-oss-08/cli/drone -GOOS=windows GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/windows/amd64/drone github.com/laszlocph/drone-oss-08/cli/drone -GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/darwin/amd64/drone github.com/laszlocph/drone-oss-08/cli/drone +GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/amd64/woodpecker github.com/laszlocph/woodpecker/cli/woodpecker +GOOS=linux GOARCH=arm64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm64/woodpecker github.com/laszlocph/woodpecker/cli/woodpecker +GOOS=linux GOARCH=arm go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm/woodpecker github.com/laszlocph/woodpecker/cli/woodpecker +GOOS=windows GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/windows/amd64/woodpecker github.com/laszlocph/woodpecker/cli/woodpecker +GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/darwin/amd64/woodpecker github.com/laszlocph/woodpecker/cli/woodpecker # tar binary files prior to upload -tar -cvzf cli/release/drone_linux_amd64.tar.gz -C cli/release/linux/amd64 drone -tar -cvzf cli/release/drone_linux_arm64.tar.gz -C cli/release/linux/arm64 drone -tar -cvzf cli/release/drone_linux_arm.tar.gz -C cli/release/linux/arm drone -tar -cvzf cli/release/drone_windows_amd64.tar.gz -C cli/release/windows/amd64 drone -tar -cvzf cli/release/drone_darwin_amd64.tar.gz -C cli/release/darwin/amd64 drone +tar -cvzf cli/release/woodpecker_linux_amd64.tar.gz -C cli/release/linux/amd64 woodpecker +tar -cvzf cli/release/woodpecker_linux_arm64.tar.gz -C cli/release/linux/arm64 woodpecker +tar -cvzf cli/release/woodpecker_linux_arm.tar.gz -C cli/release/linux/arm woodpecker +tar -cvzf cli/release/woodpecker_windows_amd64.tar.gz -C cli/release/windows/amd64 woodpecker +tar -cvzf cli/release/woodpecker_darwin_amd64.tar.gz -C cli/release/darwin/amd64 woodpecker # generate shas for tar files -sha256sum cli/release/*.tar.gz > cli/release/drone_checksums.txt +sha256sum cli/release/*.tar.gz > cli/release/woodpecker_checksums.txt diff --git a/.drone.sh b/.drone.sh index c38654db6..029a2a7f3 100755 --- a/.drone.sh +++ b/.drone.sh @@ -3,7 +3,7 @@ set -e set -x -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/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 +go build -ldflags '-extldflags "-static" -X github.com/laszlocph/woodpecker/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/drone-server github.com/laszlocph/woodpecker/cmd/drone-server +GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-X github.com/laszlocph/woodpecker/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent +GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '-X github.com/laszlocph/woodpecker/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/linux/arm64/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent +GOOS=linux GOARCH=arm CGO_ENABLED=0 GOARM=7 go build -ldflags '-X github.com/laszlocph/woodpecker/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/linux/arm/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent diff --git a/.drone.yml b/.drone.yml index bc5005279..e32df4159 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,7 +4,7 @@ clone: workspace: base: /go - path: src/github.com/laszlocph/drone-oss-08 + path: src/github.com/laszlocph/woodpecker pipeline: test: @@ -23,7 +23,7 @@ pipeline: - DATABASE_DRIVER=postgres - DATABASE_CONFIG=host=postgres user=postgres dbname=postgres sslmode=disable commands: - - go test github.com/laszlocph/drone-oss-08/store/datastore + - go test github.com/laszlocph/woodpecker/store/datastore test_mysql: image: golang:1.12.4 @@ -31,7 +31,7 @@ pipeline: - DATABASE_DRIVER=mysql - DATABASE_CONFIG=root@tcp(mysql:3306)/test?parseTime=true commands: - - go test github.com/laszlocph/drone-oss-08/store/datastore + - go test github.com/laszlocph/woodpecker/store/datastore build: image: golang:1.12.4 @@ -41,7 +41,7 @@ pipeline: publish_server_alpine: image: plugins/docker - repo: laszlocloud/drone-oss-08-server + repo: laszlocloud/woodpecker-server dockerfile: Dockerfile.alpine secrets: [ docker_username, docker_password ] tag: [ alpine ] @@ -51,7 +51,7 @@ pipeline: publish_server: image: plugins/docker - repo: laszlocloud/drone-oss-08-server + repo: laszlocloud/woodpecker-server secrets: [ docker_username, docker_password ] tag: [ latest ] when: @@ -60,7 +60,7 @@ pipeline: publish_agent: image: plugins/docker - repo: laszlocloud/drone-oss-08-agent + repo: laszlocloud/woodpecker-agent dockerfile: Dockerfile.agent secrets: [ docker_username, docker_password ] tag: [ latest ] @@ -70,7 +70,7 @@ pipeline: publish_agent_alpine: image: plugins/docker - repo: laszlocloud/drone-oss-08-agent + repo: laszlocloud/woodpecker-agent dockerfile: Dockerfile.agent.alpine secrets: [ docker_username, docker_password ] tag: [ alpine ] @@ -80,7 +80,7 @@ pipeline: publish_agent_arm: image: plugins/docker - repo: laszlocloud/drone-oss-08-agent + repo: laszlocloud/woodpecker-agent dockerfile: Dockerfile.agent.linux.arm secrets: [ docker_username, docker_password ] tag: [ linux-arm ] @@ -90,7 +90,7 @@ pipeline: publish_agent_arm64: image: plugins/docker - repo: laszlocloud/drone-oss-08-agent + repo: laszlocloud/woodpecker-agent dockerfile: Dockerfile.agent.linux.arm64 secrets: [ docker_username, docker_password ] tag: [ linux-arm64 ] @@ -100,7 +100,7 @@ pipeline: publish_agent_amd64: image: plugins/docker - repo: laszlocloud/drone-oss-08-agent + repo: laszlocloud/woodpecker-agent dockerfile: Dockerfile.agent secrets: [ docker_username, docker_password ] tag: [ latest ] @@ -110,7 +110,7 @@ pipeline: release_server_alpine: image: plugins/docker - repo: laszlocloud/drone-oss-08-server + repo: laszlocloud/woodpecker-server dockerfile: Dockerfile.alpine secrets: [ docker_username, docker_password ] tag: "${DRONE_TAG}-alpine" @@ -119,7 +119,7 @@ pipeline: release_agent_alpine: image: plugins/docker - repo: laszlocloud/drone-oss-08-agent + repo: laszlocloud/woodpecker-agent dockerfile: Dockerfile.agent.alpine secrets: [ docker_username, docker_password ] tag: "${DRONE_TAG}-alpine" @@ -128,7 +128,7 @@ pipeline: release_server: image: plugins/docker - repo: laszlocloud/drone-oss-08-server + repo: laszlocloud/woodpecker-server secrets: [ docker_username, docker_password ] tag: ${DRONE_TAG} when: @@ -136,7 +136,7 @@ pipeline: release_agent: image: plugins/docker - repo: laszlocloud/drone-oss-08-agent + repo: laszlocloud/woodpecker-agent dockerfile: Dockerfile.agent secrets: [ docker_username, docker_password ] tag: ${DRONE_TAG} diff --git a/BUILDING b/BUILDING index 3e66d99f7..3554fd219 100644 --- a/BUILDING +++ b/BUILDING @@ -8,8 +8,8 @@ 3. Install binaries to $GOPATH/bin - go install github.com/laszlocph/drone-oss-08/cmd/drone-agent - go install github.com/laszlocph/drone-oss-08/cmd/drone-server + go install github.com/laszlocph/woodpecker/cmd/drone-agent + go install github.com/laszlocph/woodpecker/cmd/drone-server --- diff --git a/LICENSE b/LICENSE index fed1248b2..97028c075 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,3 @@ -Drone-OSS-08 is Apache 2.0 licensed with the source files in this repository having a header indicating which license they are under and what copyrights apply. +Woodpecker is Apache 2.0 licensed with the source files in this repository having a header indicating which license they are under and what copyrights apply. Files under the `docs/` folder is licensed under Creative Commons Attribution-ShareAlike 4.0 International Public License. It is a derivative work of the https://github.com/drone/docs git repository. diff --git a/README.md b/README.md index 3564a40ed..e991f92cc 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ An opinionated fork of the Drone CI system. - Based on the v0.8 code tree - Focused on developer experience. -[![Build Status](https://cloud.drone.io/api/badges/laszlocph/drone-oss-08/status.svg)](https://cloud.drone.io/laszlocph/drone-oss-08) [![Go Report Card](https://goreportcard.com/badge/github.com/laszlocph/drone-oss-08)](https://goreportcard.com/report/github.com/laszlocph/drone-oss-08) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) +[![Build Status](https://cloud.drone.io/api/badges/laszlocph/woodpecker/status.svg)](https://cloud.drone.io/laszlocph/woodpecker) [![Go Report Card](https://goreportcard.com/badge/github.com/laszlocph/woodpecker)](https://goreportcard.com/report/github.com/laszlocph/woodpecker) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -![Drone-OSS-08](docs/drone.png) +![woodpecker](docs/drone.png) ## Table of contents @@ -315,12 +315,12 @@ See the [proxy guide](docs/administration/proxy.md) if you want to see a setup b ## Contributing -Drone-OSS-08 is Apache 2.0 licensed and accepts contributions via GitHub pull requests. +woodpecker is Apache 2.0 licensed and accepts contributions via GitHub pull requests. [How to build the project]() ## License -Drone-OSS-08 is Apache 2.0 licensed with the source files in this repository having a header indicating which license they are under and what copyrights apply. +woodpecker is Apache 2.0 licensed with the source files in this repository having a header indicating which license they are under and what copyrights apply. Files under the `docs/` folder is licensed under Creative Commons Attribution-ShareAlike 4.0 International Public License. It is a derivative work of the https://github.com/drone/docs git repository. diff --git a/cli/drone/build/build_approve.go b/cli/drone/build/build_approve.go index c0876058d..115ea3929 100644 --- a/cli/drone/build/build_approve.go +++ b/cli/drone/build/build_approve.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/build/build_decline.go b/cli/drone/build/build_decline.go index 552511d98..d0b293df2 100644 --- a/cli/drone/build/build_decline.go +++ b/cli/drone/build/build_decline.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/build/build_info.go b/cli/drone/build/build_info.go index 096f3d5fd..1cdd92295 100644 --- a/cli/drone/build/build_info.go +++ b/cli/drone/build/build_info.go @@ -5,7 +5,7 @@ import ( "strconv" "text/template" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/build/build_kill.go b/cli/drone/build/build_kill.go index a30bf4cfa..939907ce3 100644 --- a/cli/drone/build/build_kill.go +++ b/cli/drone/build/build_kill.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/build/build_last.go b/cli/drone/build/build_last.go index a09448a82..1ece2f3a0 100644 --- a/cli/drone/build/build_last.go +++ b/cli/drone/build/build_last.go @@ -4,7 +4,7 @@ import ( "os" "text/template" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/build/build_list.go b/cli/drone/build/build_list.go index 04e05fe3f..0b133ced2 100644 --- a/cli/drone/build/build_list.go +++ b/cli/drone/build/build_list.go @@ -4,7 +4,7 @@ import ( "os" "text/template" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/build/build_ps.go b/cli/drone/build/build_ps.go index 89e2f1b6c..964629c70 100644 --- a/cli/drone/build/build_ps.go +++ b/cli/drone/build/build_ps.go @@ -5,7 +5,7 @@ import ( "strconv" "text/template" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/build/build_queue.go b/cli/drone/build/build_queue.go index 3c4620091..a1bd1fe3d 100644 --- a/cli/drone/build/build_queue.go +++ b/cli/drone/build/build_queue.go @@ -5,7 +5,7 @@ import ( "os" "text/template" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/build/build_start.go b/cli/drone/build/build_start.go index 7041abb5d..22e8759bf 100644 --- a/cli/drone/build/build_start.go +++ b/cli/drone/build/build_start.go @@ -5,7 +5,7 @@ import ( "fmt" "strconv" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/build/build_stop.go b/cli/drone/build/build_stop.go index 114b72e44..05e265bbd 100644 --- a/cli/drone/build/build_stop.go +++ b/cli/drone/build/build_stop.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/deploy/deploy.go b/cli/drone/deploy/deploy.go index 27bec18c1..8ded9b8d3 100644 --- a/cli/drone/deploy/deploy.go +++ b/cli/drone/deploy/deploy.go @@ -6,8 +6,8 @@ import ( "os" "strconv" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" - "github.com/laszlocph/drone-oss-08/drone-go/drone" + "github.com/laszlocph/woodpecker/cli/drone/internal" + "github.com/laszlocph/woodpecker/drone-go/drone" "github.com/urfave/cli" ) diff --git a/cli/drone/exec/exec.go b/cli/drone/exec/exec.go index 0463355c6..1d7388882 100644 --- a/cli/drone/exec/exec.go +++ b/cli/drone/exec/exec.go @@ -11,15 +11,15 @@ import ( "strings" "time" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend/docker" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/compiler" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/linter" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/interrupt" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/compiler" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/linter" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart" "github.com/drone/envsubst" "github.com/urfave/cli" diff --git a/cli/drone/info/info.go b/cli/drone/info/info.go index f702224a7..c112000d7 100644 --- a/cli/drone/info/info.go +++ b/cli/drone/info/info.go @@ -6,7 +6,7 @@ import ( "github.com/urfave/cli" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" ) // Command exports the info command. diff --git a/cli/drone/internal/util.go b/cli/drone/internal/util.go index 8f9d8bba3..c068f3b76 100644 --- a/cli/drone/internal/util.go +++ b/cli/drone/internal/util.go @@ -11,7 +11,7 @@ import ( "golang.org/x/net/proxy" "golang.org/x/oauth2" - "github.com/laszlocph/drone-oss-08/drone-go/drone" + "github.com/laszlocph/woodpecker/drone-go/drone" ) // NewClient returns a new client from the CLI context. diff --git a/cli/drone/log/log_purge.go b/cli/drone/log/log_purge.go index 13ef67c06..c0d147ca3 100644 --- a/cli/drone/log/log_purge.go +++ b/cli/drone/log/log_purge.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/main.go b/cli/drone/main.go index 690eee8a5..57b10519b 100644 --- a/cli/drone/main.go +++ b/cli/drone/main.go @@ -4,15 +4,15 @@ import ( "fmt" "os" - "github.com/laszlocph/drone-oss-08/cli/drone/build" - "github.com/laszlocph/drone-oss-08/cli/drone/deploy" - "github.com/laszlocph/drone-oss-08/cli/drone/exec" - "github.com/laszlocph/drone-oss-08/cli/drone/info" - "github.com/laszlocph/drone-oss-08/cli/drone/log" - "github.com/laszlocph/drone-oss-08/cli/drone/registry" - "github.com/laszlocph/drone-oss-08/cli/drone/repo" - "github.com/laszlocph/drone-oss-08/cli/drone/secret" - "github.com/laszlocph/drone-oss-08/cli/drone/user" + "github.com/laszlocph/woodpecker/cli/drone/build" + "github.com/laszlocph/woodpecker/cli/drone/deploy" + "github.com/laszlocph/woodpecker/cli/drone/exec" + "github.com/laszlocph/woodpecker/cli/drone/info" + "github.com/laszlocph/woodpecker/cli/drone/log" + "github.com/laszlocph/woodpecker/cli/drone/registry" + "github.com/laszlocph/woodpecker/cli/drone/repo" + "github.com/laszlocph/woodpecker/cli/drone/secret" + "github.com/laszlocph/woodpecker/cli/drone/user" _ "github.com/joho/godotenv/autoload" "github.com/urfave/cli" diff --git a/cli/drone/registry/registry_add.go b/cli/drone/registry/registry_add.go index 0378432c0..ee6bf17c2 100644 --- a/cli/drone/registry/registry_add.go +++ b/cli/drone/registry/registry_add.go @@ -4,8 +4,8 @@ import ( "io/ioutil" "strings" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" - "github.com/laszlocph/drone-oss-08/drone-go/drone" + "github.com/laszlocph/woodpecker/cli/drone/internal" + "github.com/laszlocph/woodpecker/drone-go/drone" "github.com/urfave/cli" ) diff --git a/cli/drone/registry/registry_info.go b/cli/drone/registry/registry_info.go index aa80e631f..a3fbad08c 100644 --- a/cli/drone/registry/registry_info.go +++ b/cli/drone/registry/registry_info.go @@ -4,7 +4,7 @@ import ( "html/template" "os" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/registry/registry_list.go b/cli/drone/registry/registry_list.go index 91a777aaa..1f9d93313 100644 --- a/cli/drone/registry/registry_list.go +++ b/cli/drone/registry/registry_list.go @@ -6,7 +6,7 @@ import ( "github.com/urfave/cli" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" ) var registryListCmd = cli.Command{ diff --git a/cli/drone/registry/registry_rm.go b/cli/drone/registry/registry_rm.go index 5e496e97e..99f5243d2 100644 --- a/cli/drone/registry/registry_rm.go +++ b/cli/drone/registry/registry_rm.go @@ -1,7 +1,7 @@ package registry import ( - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/registry/registry_set.go b/cli/drone/registry/registry_set.go index 25ce312f7..d2f77f5a4 100644 --- a/cli/drone/registry/registry_set.go +++ b/cli/drone/registry/registry_set.go @@ -4,8 +4,8 @@ import ( "io/ioutil" "strings" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" - "github.com/laszlocph/drone-oss-08/drone-go/drone" + "github.com/laszlocph/woodpecker/cli/drone/internal" + "github.com/laszlocph/woodpecker/drone-go/drone" "github.com/urfave/cli" ) diff --git a/cli/drone/repo/repo_add.go b/cli/drone/repo/repo_add.go index 99092f2d7..b263217ee 100644 --- a/cli/drone/repo/repo_add.go +++ b/cli/drone/repo/repo_add.go @@ -3,7 +3,7 @@ package repo import ( "fmt" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/repo/repo_chown.go b/cli/drone/repo/repo_chown.go index e3e66c4cc..f4b59eeec 100644 --- a/cli/drone/repo/repo_chown.go +++ b/cli/drone/repo/repo_chown.go @@ -3,7 +3,7 @@ package repo import ( "fmt" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/repo/repo_info.go b/cli/drone/repo/repo_info.go index cf4d10667..7a9b94f8d 100644 --- a/cli/drone/repo/repo_info.go +++ b/cli/drone/repo/repo_info.go @@ -4,7 +4,7 @@ import ( "os" "text/template" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/repo/repo_list.go b/cli/drone/repo/repo_list.go index 715c5c174..855e27ea1 100644 --- a/cli/drone/repo/repo_list.go +++ b/cli/drone/repo/repo_list.go @@ -4,7 +4,7 @@ import ( "os" "text/template" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/repo/repo_repair.go b/cli/drone/repo/repo_repair.go index cd4ac2a6e..044f4de84 100644 --- a/cli/drone/repo/repo_repair.go +++ b/cli/drone/repo/repo_repair.go @@ -1,7 +1,7 @@ package repo import ( - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/repo/repo_rm.go b/cli/drone/repo/repo_rm.go index 68e90f19a..7c6579be2 100644 --- a/cli/drone/repo/repo_rm.go +++ b/cli/drone/repo/repo_rm.go @@ -3,7 +3,7 @@ package repo import ( "fmt" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/repo/repo_sync.go b/cli/drone/repo/repo_sync.go index a5e6e52a3..1548457cb 100644 --- a/cli/drone/repo/repo_sync.go +++ b/cli/drone/repo/repo_sync.go @@ -4,7 +4,7 @@ import ( "os" "text/template" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/repo/repo_update.go b/cli/drone/repo/repo_update.go index d773d237c..f76ac9212 100644 --- a/cli/drone/repo/repo_update.go +++ b/cli/drone/repo/repo_update.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" - "github.com/laszlocph/drone-oss-08/drone-go/drone" + "github.com/laszlocph/woodpecker/cli/drone/internal" + "github.com/laszlocph/woodpecker/drone-go/drone" "github.com/urfave/cli" ) diff --git a/cli/drone/secret/secret_add.go b/cli/drone/secret/secret_add.go index 20879135e..1a974ceeb 100644 --- a/cli/drone/secret/secret_add.go +++ b/cli/drone/secret/secret_add.go @@ -4,8 +4,8 @@ import ( "io/ioutil" "strings" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" - "github.com/laszlocph/drone-oss-08/drone-go/drone" + "github.com/laszlocph/woodpecker/cli/drone/internal" + "github.com/laszlocph/woodpecker/drone-go/drone" "github.com/urfave/cli" ) diff --git a/cli/drone/secret/secret_info.go b/cli/drone/secret/secret_info.go index de5572fda..05819495d 100644 --- a/cli/drone/secret/secret_info.go +++ b/cli/drone/secret/secret_info.go @@ -6,7 +6,7 @@ import ( "github.com/urfave/cli" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" ) var secretInfoCmd = cli.Command{ diff --git a/cli/drone/secret/secret_list.go b/cli/drone/secret/secret_list.go index 51acbfc93..18bcfccf8 100644 --- a/cli/drone/secret/secret_list.go +++ b/cli/drone/secret/secret_list.go @@ -7,7 +7,7 @@ import ( "github.com/urfave/cli" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" ) var secretListCmd = cli.Command{ diff --git a/cli/drone/secret/secret_rm.go b/cli/drone/secret/secret_rm.go index cd7d1246e..fdd824df5 100644 --- a/cli/drone/secret/secret_rm.go +++ b/cli/drone/secret/secret_rm.go @@ -3,7 +3,7 @@ package secret import ( "github.com/urfave/cli" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" ) var secretDeleteCmd = cli.Command{ diff --git a/cli/drone/secret/secret_set.go b/cli/drone/secret/secret_set.go index 080f2dfd6..9d5bb1ed2 100644 --- a/cli/drone/secret/secret_set.go +++ b/cli/drone/secret/secret_set.go @@ -4,8 +4,8 @@ import ( "io/ioutil" "strings" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" - "github.com/laszlocph/drone-oss-08/drone-go/drone" + "github.com/laszlocph/woodpecker/cli/drone/internal" + "github.com/laszlocph/woodpecker/drone-go/drone" "github.com/urfave/cli" ) diff --git a/cli/drone/user/user_add.go b/cli/drone/user/user_add.go index 836be8e7e..63f2a2bbe 100644 --- a/cli/drone/user/user_add.go +++ b/cli/drone/user/user_add.go @@ -3,10 +3,10 @@ package user import ( "fmt" - "github.com/laszlocph/drone-oss-08/drone-go/drone" + "github.com/laszlocph/woodpecker/drone-go/drone" "github.com/urfave/cli" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" ) var userAddCmd = cli.Command{ diff --git a/cli/drone/user/user_info.go b/cli/drone/user/user_info.go index d6c89fd81..db433ba1b 100644 --- a/cli/drone/user/user_info.go +++ b/cli/drone/user/user_info.go @@ -7,7 +7,7 @@ import ( "github.com/urfave/cli" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" ) var userInfoCmd = cli.Command{ diff --git a/cli/drone/user/user_list.go b/cli/drone/user/user_list.go index 321fad6e4..81640bbe8 100644 --- a/cli/drone/user/user_list.go +++ b/cli/drone/user/user_list.go @@ -6,7 +6,7 @@ import ( "github.com/urfave/cli" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" ) var userListCmd = cli.Command{ diff --git a/cli/drone/user/user_rm.go b/cli/drone/user/user_rm.go index d9cc77436..cb7d70334 100644 --- a/cli/drone/user/user_rm.go +++ b/cli/drone/user/user_rm.go @@ -5,7 +5,7 @@ import ( "github.com/urfave/cli" - "github.com/laszlocph/drone-oss-08/cli/drone/internal" + "github.com/laszlocph/woodpecker/cli/drone/internal" ) var userRemoveCmd = cli.Command{ diff --git a/cmd/drone-agent/agent.go b/cmd/drone-agent/agent.go index 5a21040cf..6bd54df3b 100644 --- a/cmd/drone-agent/agent.go +++ b/cmd/drone-agent/agent.go @@ -29,11 +29,11 @@ import ( "google.golang.org/grpc/keepalive" "google.golang.org/grpc/metadata" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend/docker" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc" "github.com/drone/signal" "github.com/rs/zerolog" diff --git a/cmd/drone-agent/health.go b/cmd/drone-agent/health.go index e11649009..b369a30ab 100644 --- a/cmd/drone-agent/health.go +++ b/cmd/drone-agent/health.go @@ -22,7 +22,7 @@ import ( "sync" "time" - "github.com/laszlocph/drone-oss-08/version" + "github.com/laszlocph/woodpecker/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/laszlocph/drone-oss-08", + Source: "https://github.com/laszlocph/woodpecker", Version: version.Version.String(), }) } diff --git a/cmd/drone-agent/main.go b/cmd/drone-agent/main.go index b567e9e3c..a683596c2 100644 --- a/cmd/drone-agent/main.go +++ b/cmd/drone-agent/main.go @@ -19,7 +19,7 @@ import ( "os" "time" - "github.com/laszlocph/drone-oss-08/version" + "github.com/laszlocph/woodpecker/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 347770e5b..0548e9875 100644 --- a/cmd/drone-server/main.go +++ b/cmd/drone-server/main.go @@ -18,7 +18,7 @@ import ( "fmt" "os" - "github.com/laszlocph/drone-oss-08/version" + "github.com/laszlocph/woodpecker/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 18393bdfb..dd723f76a 100644 --- a/cmd/drone-server/server.go +++ b/cmd/drone-server/server.go @@ -33,15 +33,15 @@ import ( "golang.org/x/crypto/acme/autocert" "golang.org/x/sync/errgroup" - "github.com/laszlocph/drone-oss-08/cncd/logging" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc/proto" - "github.com/laszlocph/drone-oss-08/cncd/pubsub" - "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/laszlocph/woodpecker/cncd/logging" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc/proto" + "github.com/laszlocph/woodpecker/cncd/pubsub" + "github.com/laszlocph/woodpecker/plugins/sender" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/router" + "github.com/laszlocph/woodpecker/router/middleware" + droneserver "github.com/laszlocph/woodpecker/server" + "github.com/laszlocph/woodpecker/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 b2adf8f31..d85cbec2f 100644 --- a/cmd/drone-server/setup.go +++ b/cmd/drone-server/setup.go @@ -19,23 +19,23 @@ import ( "time" "github.com/dimfeld/httptreemux" - "github.com/laszlocph/drone-oss-08/cncd/queue" - "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" - droneserver "github.com/laszlocph/drone-oss-08/server" - "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/laszlocph/woodpecker/cncd/queue" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/plugins/registry" + "github.com/laszlocph/woodpecker/plugins/secrets" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/remote/bitbucket" + "github.com/laszlocph/woodpecker/remote/bitbucketserver" + "github.com/laszlocph/woodpecker/remote/coding" + "github.com/laszlocph/woodpecker/remote/gitea" + "github.com/laszlocph/woodpecker/remote/github" + "github.com/laszlocph/woodpecker/remote/gitlab" + "github.com/laszlocph/woodpecker/remote/gitlab3" + "github.com/laszlocph/woodpecker/remote/gogs" + droneserver "github.com/laszlocph/woodpecker/server" + "github.com/laszlocph/woodpecker/server/web" + "github.com/laszlocph/woodpecker/store" + "github.com/laszlocph/woodpecker/store/datastore" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" "golang.org/x/sync/errgroup" diff --git a/cncd/logging/README b/cncd/logging/README index 6053bdf7d..34c87e2cb 100644 --- a/cncd/logging/README +++ b/cncd/logging/README @@ -2,5 +2,5 @@ Go package provides a common interface for storing and streaming logs. Documentation: - http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/logging - http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/logging/gcp + http://godoc.org/github.com/laszlocph/woodpecker/cncd/logging + http://godoc.org/github.com/laszlocph/woodpecker/cncd/logging/gcp diff --git a/cncd/pipeline/.drone.yml b/cncd/pipeline/.drone.yml index df7f85870..81405c049 100644 --- a/cncd/pipeline/.drone.yml +++ b/cncd/pipeline/.drone.yml @@ -1,15 +1,15 @@ workspace: base: /go - path: src/github.com/laszlocph/drone-oss-08/cncd/pipeline + path: src/github.com/laszlocph/woodpecker/cncd/pipeline pipeline: install: image: golang:1.8 commands: - - go install github.com/laszlocph/drone-oss-08/cncd/pipeline/pipec - - go install github.com/laszlocph/drone-oss-08/cncd/pipeline/piped + - go install github.com/laszlocph/woodpecker/cncd/pipeline/pipec + - go install github.com/laszlocph/woodpecker/cncd/pipeline/piped test: image: golang:1.8 commands: - - go test -cover github.com/laszlocph/drone-oss-08/cncd/pipeline/... + - go test -cover github.com/laszlocph/woodpecker/cncd/pipeline/... diff --git a/cncd/pipeline/pipec/compile.go b/cncd/pipeline/pipec/compile.go index c99b339b0..ae49066c5 100644 --- a/cncd/pipeline/pipec/compile.go +++ b/cncd/pipeline/pipec/compile.go @@ -8,9 +8,9 @@ import ( "path/filepath" "strings" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/compiler" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/compiler" "github.com/urfave/cli" ) diff --git a/cncd/pipeline/pipec/exec.go b/cncd/pipeline/pipec/exec.go index afc6c3673..602fe7ca5 100644 --- a/cncd/pipeline/pipec/exec.go +++ b/cncd/pipeline/pipec/exec.go @@ -8,12 +8,12 @@ import ( "strconv" "time" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend/docker" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend/kubernetes" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/interrupt" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/kubernetes" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart" "github.com/urfave/cli" ) diff --git a/cncd/pipeline/pipec/lint.go b/cncd/pipeline/pipec/lint.go index e27d9b38b..f2170c857 100644 --- a/cncd/pipeline/pipec/lint.go +++ b/cncd/pipeline/pipec/lint.go @@ -3,8 +3,8 @@ package main import ( "fmt" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/linter" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/linter" "github.com/kr/pretty" "github.com/urfave/cli" diff --git a/cncd/pipeline/piped/main.go b/cncd/pipeline/piped/main.go index 99ac73f06..5ad613f09 100644 --- a/cncd/pipeline/piped/main.go +++ b/cncd/pipeline/piped/main.go @@ -13,12 +13,12 @@ import ( "sync" "time" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend/docker" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/interrupt" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc" _ "github.com/joho/godotenv/autoload" "github.com/tevino/abool" diff --git a/cncd/pipeline/piped/once.go b/cncd/pipeline/piped/once.go index 37694081d..dd4349995 100644 --- a/cncd/pipeline/piped/once.go +++ b/cncd/pipeline/piped/once.go @@ -7,8 +7,8 @@ import ( "net/url" "time" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/interrupt" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc" _ "github.com/joho/godotenv/autoload" "github.com/urfave/cli" diff --git a/cncd/pipeline/pipeline/backend/docker/convert.go b/cncd/pipeline/pipeline/backend/docker/convert.go index 106fc6832..45a3ccbdc 100644 --- a/cncd/pipeline/pipeline/backend/docker/convert.go +++ b/cncd/pipeline/pipeline/backend/docker/convert.go @@ -6,7 +6,7 @@ import ( "regexp" "strings" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" "github.com/docker/docker/api/types/container" ) diff --git a/cncd/pipeline/pipeline/backend/docker/docker.go b/cncd/pipeline/pipeline/backend/docker/docker.go index 76cc97f9a..a8cb68163 100644 --- a/cncd/pipeline/pipeline/backend/docker/docker.go +++ b/cncd/pipeline/pipeline/backend/docker/docker.go @@ -5,7 +5,7 @@ import ( "io" "os" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" "github.com/docker/docker/api/types" "github.com/docker/docker/api/types/network" diff --git a/cncd/pipeline/pipeline/backend/docker/pool.go b/cncd/pipeline/pipeline/backend/docker/pool.go index 85322e2ec..7e7f98eca 100644 --- a/cncd/pipeline/pipeline/backend/docker/pool.go +++ b/cncd/pipeline/pipeline/backend/docker/pool.go @@ -3,7 +3,7 @@ package docker // import ( // "context" // -// "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" +// "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" // ) // // // Pool manages a pool of Docker clients. diff --git a/cncd/pipeline/pipeline/backend/kubernetes/kubernetes.go b/cncd/pipeline/pipeline/backend/kubernetes/kubernetes.go index ca18ce085..c0ef1be5b 100644 --- a/cncd/pipeline/pipeline/backend/kubernetes/kubernetes.go +++ b/cncd/pipeline/pipeline/backend/kubernetes/kubernetes.go @@ -4,7 +4,7 @@ import ( "context" "io" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" ) type engine struct { diff --git a/cncd/pipeline/pipeline/frontend/yaml/compiler/cacher.go b/cncd/pipeline/pipeline/frontend/yaml/compiler/cacher.go index 6654bbd7f..0cf66b095 100644 --- a/cncd/pipeline/pipeline/frontend/yaml/compiler/cacher.go +++ b/cncd/pipeline/pipeline/frontend/yaml/compiler/cacher.go @@ -4,7 +4,7 @@ import ( "path" "strings" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml" libcompose "github.com/docker/libcompose/yaml" ) diff --git a/cncd/pipeline/pipeline/frontend/yaml/compiler/compiler.go b/cncd/pipeline/pipeline/frontend/yaml/compiler/compiler.go index 4049a10f9..7fe38486f 100644 --- a/cncd/pipeline/pipeline/frontend/yaml/compiler/compiler.go +++ b/cncd/pipeline/pipeline/frontend/yaml/compiler/compiler.go @@ -3,9 +3,9 @@ package compiler import ( "fmt" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml" ) // TODO(bradrydzewski) compiler should handle user-defined volumes from YAML diff --git a/cncd/pipeline/pipeline/frontend/yaml/compiler/convert.go b/cncd/pipeline/pipeline/frontend/yaml/compiler/convert.go index ca3e98e75..683d1ea74 100644 --- a/cncd/pipeline/pipeline/frontend/yaml/compiler/convert.go +++ b/cncd/pipeline/pipeline/frontend/yaml/compiler/convert.go @@ -5,8 +5,8 @@ import ( "path" "strings" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml" ) func (c *Compiler) createProcess(name string, container *yaml.Container, section string) *backend.Step { diff --git a/cncd/pipeline/pipeline/frontend/yaml/compiler/option.go b/cncd/pipeline/pipeline/frontend/yaml/compiler/option.go index 0a1c1046f..7548c34af 100644 --- a/cncd/pipeline/pipeline/frontend/yaml/compiler/option.go +++ b/cncd/pipeline/pipeline/frontend/yaml/compiler/option.go @@ -6,7 +6,7 @@ import ( "path/filepath" "strings" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend" ) // Option configures a compiler option. diff --git a/cncd/pipeline/pipeline/frontend/yaml/compiler/option_test.go b/cncd/pipeline/pipeline/frontend/yaml/compiler/option_test.go index ae09b9305..2995df814 100644 --- a/cncd/pipeline/pipeline/frontend/yaml/compiler/option_test.go +++ b/cncd/pipeline/pipeline/frontend/yaml/compiler/option_test.go @@ -5,7 +5,7 @@ import ( "reflect" "testing" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend" ) func TestWithWorkspace(t *testing.T) { diff --git a/cncd/pipeline/pipeline/frontend/yaml/constraint.go b/cncd/pipeline/pipeline/frontend/yaml/constraint.go index 6cd2e845f..01dd1f1d8 100644 --- a/cncd/pipeline/pipeline/frontend/yaml/constraint.go +++ b/cncd/pipeline/pipeline/frontend/yaml/constraint.go @@ -3,8 +3,8 @@ package yaml import ( "path/filepath" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/types" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/types" libcompose "github.com/docker/libcompose/yaml" ) diff --git a/cncd/pipeline/pipeline/frontend/yaml/constraint_test.go b/cncd/pipeline/pipeline/frontend/yaml/constraint_test.go index 4fe4c12b9..46436d1d5 100644 --- a/cncd/pipeline/pipeline/frontend/yaml/constraint_test.go +++ b/cncd/pipeline/pipeline/frontend/yaml/constraint_test.go @@ -3,7 +3,7 @@ package yaml import ( "testing" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend" "gopkg.in/yaml.v2" ) diff --git a/cncd/pipeline/pipeline/frontend/yaml/linter/linter.go b/cncd/pipeline/pipeline/frontend/yaml/linter/linter.go index dfe5bd78a..f9c10c1d3 100644 --- a/cncd/pipeline/pipeline/frontend/yaml/linter/linter.go +++ b/cncd/pipeline/pipeline/frontend/yaml/linter/linter.go @@ -3,7 +3,7 @@ package linter import ( "fmt" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml" ) const ( diff --git a/cncd/pipeline/pipeline/frontend/yaml/linter/linter_test.go b/cncd/pipeline/pipeline/frontend/yaml/linter/linter_test.go index 5e99800d7..809c15153 100644 --- a/cncd/pipeline/pipeline/frontend/yaml/linter/linter_test.go +++ b/cncd/pipeline/pipeline/frontend/yaml/linter/linter_test.go @@ -3,7 +3,7 @@ package linter import ( "testing" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml" ) func TestLint(t *testing.T) { diff --git a/cncd/pipeline/pipeline/logger.go b/cncd/pipeline/pipeline/logger.go index 5d8f7e746..f19e168e9 100644 --- a/cncd/pipeline/pipeline/logger.go +++ b/cncd/pipeline/pipeline/logger.go @@ -1,8 +1,8 @@ package pipeline import ( - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart" ) // Logger handles the process logging. diff --git a/cncd/pipeline/pipeline/option.go b/cncd/pipeline/pipeline/option.go index 77188e5bd..e9cec2916 100644 --- a/cncd/pipeline/pipeline/option.go +++ b/cncd/pipeline/pipeline/option.go @@ -3,7 +3,7 @@ package pipeline import ( "context" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" ) // Option configures a runtime option. diff --git a/cncd/pipeline/pipeline/parse.go b/cncd/pipeline/pipeline/parse.go index a5cd95570..65e76f1cc 100644 --- a/cncd/pipeline/pipeline/parse.go +++ b/cncd/pipeline/pipeline/parse.go @@ -6,7 +6,7 @@ import ( "os" "strings" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" ) // Parse parses the pipeline config from an io.Reader. diff --git a/cncd/pipeline/pipeline/pipeline.go b/cncd/pipeline/pipeline/pipeline.go index 01ecc4963..5e37c95ee 100644 --- a/cncd/pipeline/pipeline/pipeline.go +++ b/cncd/pipeline/pipeline/pipeline.go @@ -6,8 +6,8 @@ import ( "golang.org/x/sync/errgroup" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart" ) type ( diff --git a/cncd/pipeline/pipeline/rpc/client_grpc.go b/cncd/pipeline/pipeline/rpc/client_grpc.go index 030732076..0baca63ae 100644 --- a/cncd/pipeline/pipeline/rpc/client_grpc.go +++ b/cncd/pipeline/pipeline/rpc/client_grpc.go @@ -6,8 +6,8 @@ import ( "time" "log" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc/proto" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc/proto" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/cncd/pipeline/pipeline/rpc/client_grpc_health.go b/cncd/pipeline/pipeline/rpc/client_grpc_health.go index 5323ed8ce..e5b981e72 100644 --- a/cncd/pipeline/pipeline/rpc/client_grpc_health.go +++ b/cncd/pipeline/pipeline/rpc/client_grpc_health.go @@ -5,8 +5,8 @@ import ( // "encoding/json" "time" - // "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc/proto" + // "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc/proto" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/cncd/pipeline/pipeline/rpc/peer.go b/cncd/pipeline/pipeline/rpc/peer.go index 028ee347c..41e498ad3 100644 --- a/cncd/pipeline/pipeline/rpc/peer.go +++ b/cncd/pipeline/pipeline/rpc/peer.go @@ -3,7 +3,7 @@ package rpc import ( "context" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" ) // ErrCancelled signals the pipeine is cancelled. diff --git a/cncd/pipeline/samples/sample_7_redis/pipeline.json b/cncd/pipeline/samples/sample_7_redis/pipeline.json index 41b50dd4c..f062829db 100644 --- a/cncd/pipeline/samples/sample_7_redis/pipeline.json +++ b/cncd/pipeline/samples/sample_7_redis/pipeline.json @@ -23,7 +23,7 @@ "DRONE_WORKSPACE": "/go/src/github.com/drone/envsubst" }, "volumes": [ - "/Users/bradrydzewski/code/src/github.com/laszlocph/drone-oss-08/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst" + "/Users/bradrydzewski/code/src/github.com/laszlocph/woodpecker/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst" ], "networks": [ { @@ -55,7 +55,7 @@ "DRONE_WORKSPACE": "/go/src/github.com/drone/envsubst" }, "volumes": [ - "/Users/bradrydzewski/code/src/github.com/laszlocph/drone-oss-08/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst" + "/Users/bradrydzewski/code/src/github.com/laszlocph/woodpecker/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst" ], "networks": [ { @@ -103,7 +103,7 @@ "echo $CI_SCRIPT | base64 -d | /bin/sh -e" ], "volumes": [ - "/Users/bradrydzewski/code/src/github.com/laszlocph/drone-oss-08/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst" + "/Users/bradrydzewski/code/src/github.com/laszlocph/woodpecker/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst" ], "networks": [ { diff --git a/cncd/pubsub/README b/cncd/pubsub/README index 7f8d9c92d..e21ac9d45 100644 --- a/cncd/pubsub/README +++ b/cncd/pubsub/README @@ -2,5 +2,5 @@ Go package provides a common interface for publish-subscriber messaging. Documentation: - http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/pubsub - http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/pubsub/gcp + http://godoc.org/github.com/laszlocph/woodpecker/cncd/pubsub + http://godoc.org/github.com/laszlocph/woodpecker/cncd/pubsub/gcp diff --git a/cncd/queue/README b/cncd/queue/README index bceb940f0..d678a6574 100644 --- a/cncd/queue/README +++ b/cncd/queue/README @@ -2,5 +2,5 @@ Go package provides a common interface for working with task queues. Documentation: - http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/queue - http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/queue/gcp + http://godoc.org/github.com/laszlocph/woodpecker/cncd/queue + http://godoc.org/github.com/laszlocph/woodpecker/cncd/queue/gcp diff --git a/docker-compose.yml b/docker-compose.yml index e90443644..2e14a8ee9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: build: context: . dockerfile: Dockerfile - image: laszlocloud/drone-oss-08-server:local + image: laszlocloud/woodpecker-server:local ports: - 8000:8000 volumes: @@ -22,7 +22,7 @@ services: build: context: . dockerfile: Dockerfile.agent - image: laszlocloud/drone-oss-08-agent:local + image: laszlocloud/woodpecker-agent:local volumes: - /var/run/docker.sock:/var/run/docker.sock environment: diff --git a/drone-go/README.md b/drone-go/README.md index 5975e458f..b26b392cc 100644 --- a/drone-go/README.md +++ b/drone-go/README.md @@ -2,7 +2,7 @@ ```Go import ( - "github.com/laszlocph/drone-oss-08/drone-go/drone" + "github.com/laszlocph/woodpecker/drone-go/drone" "golang.org/x/oauth2" ) diff --git a/drone-go/drone/client_test.go b/drone-go/drone/client_test.go index 4d355e11b..ef2106c3f 100644 --- a/drone-go/drone/client_test.go +++ b/drone-go/drone/client_test.go @@ -17,7 +17,7 @@ func Test_QueueInfo(t *testing.T) { "data": "", "labels": { "platform": "linux/amd64", - "repo": "laszlocph/drone-oss-08" + "repo": "laszlocph/woodpecker" }, "Dependencies": [], "DepStatus": {}, diff --git a/model/queue.go b/model/queue.go index 5fa83c7f4..6e5148692 100644 --- a/model/queue.go +++ b/model/queue.go @@ -18,7 +18,7 @@ import ( "context" "github.com/Sirupsen/logrus" - "github.com/laszlocph/drone-oss-08/cncd/queue" + "github.com/laszlocph/woodpecker/cncd/queue" ) // Task defines scheduled pipeline Task. diff --git a/plugins/registry/builtin.go b/plugins/registry/builtin.go index 285fb44b6..22520d098 100644 --- a/plugins/registry/builtin.go +++ b/plugins/registry/builtin.go @@ -1,7 +1,7 @@ package registry import ( - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) type builtin struct { diff --git a/plugins/secrets/builtin.go b/plugins/secrets/builtin.go index fd7ae60a7..268ec58de 100644 --- a/plugins/secrets/builtin.go +++ b/plugins/secrets/builtin.go @@ -1,7 +1,7 @@ package secrets import ( - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) type builtin struct { diff --git a/plugins/sender/builtin.go b/plugins/sender/builtin.go index dc19051f2..8b28ec0cd 100644 --- a/plugins/sender/builtin.go +++ b/plugins/sender/builtin.go @@ -1,7 +1,7 @@ package sender import ( - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) type builtin struct { diff --git a/plugins/sender/plugin.go b/plugins/sender/plugin.go index 6419c8355..173c47bf8 100644 --- a/plugins/sender/plugin.go +++ b/plugins/sender/plugin.go @@ -3,8 +3,8 @@ package sender import ( "fmt" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/plugins/internal" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/plugins/internal" ) type plugin struct { diff --git a/remote/bitbucket/bitbucket.go b/remote/bitbucket/bitbucket.go index 19c337ea3..62133d8f0 100644 --- a/remote/bitbucket/bitbucket.go +++ b/remote/bitbucket/bitbucket.go @@ -19,10 +19,10 @@ import ( "net/http" "net/url" - "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" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/remote/bitbucket/internal" + "github.com/laszlocph/woodpecker/shared/httputil" "golang.org/x/oauth2" ) diff --git a/remote/bitbucket/bitbucket_test.go b/remote/bitbucket/bitbucket_test.go index 854007c9e..c1fe69d99 100644 --- a/remote/bitbucket/bitbucket_test.go +++ b/remote/bitbucket/bitbucket_test.go @@ -20,9 +20,9 @@ import ( "net/http/httptest" "testing" - "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/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote/bitbucket/fixtures" + "github.com/laszlocph/woodpecker/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 53f7096e0..0db9e0647 100644 --- a/remote/bitbucket/convert.go +++ b/remote/bitbucket/convert.go @@ -20,8 +20,8 @@ import ( "regexp" "strings" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/bitbucket/internal" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote/bitbucket/internal" "golang.org/x/oauth2" ) diff --git a/remote/bitbucket/convert_test.go b/remote/bitbucket/convert_test.go index 0288e0c57..531ab04c5 100644 --- a/remote/bitbucket/convert_test.go +++ b/remote/bitbucket/convert_test.go @@ -18,8 +18,8 @@ import ( "testing" "time" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/bitbucket/internal" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote/bitbucket/internal" "github.com/franela/goblin" "golang.org/x/oauth2" diff --git a/remote/bitbucket/parse.go b/remote/bitbucket/parse.go index b39c40c16..b88337d5d 100644 --- a/remote/bitbucket/parse.go +++ b/remote/bitbucket/parse.go @@ -19,8 +19,8 @@ import ( "io/ioutil" "net/http" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/bitbucket/internal" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote/bitbucket/internal" ) const ( diff --git a/remote/bitbucket/parse_test.go b/remote/bitbucket/parse_test.go index aee7ab3ba..d4e61b7a4 100644 --- a/remote/bitbucket/parse_test.go +++ b/remote/bitbucket/parse_test.go @@ -19,7 +19,7 @@ import ( "net/http" "testing" - "github.com/laszlocph/drone-oss-08/remote/bitbucket/fixtures" + "github.com/laszlocph/woodpecker/remote/bitbucket/fixtures" "github.com/franela/goblin" ) diff --git a/remote/bitbucketserver/bitbucketserver.go b/remote/bitbucketserver/bitbucketserver.go index e0b747327..c0f569092 100644 --- a/remote/bitbucketserver/bitbucketserver.go +++ b/remote/bitbucketserver/bitbucketserver.go @@ -28,9 +28,9 @@ import ( "net/url" "strings" - "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/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/remote/bitbucketserver/internal" "github.com/mrjones/oauth" ) diff --git a/remote/bitbucketserver/convert.go b/remote/bitbucketserver/convert.go index b3640dd75..623dd3838 100644 --- a/remote/bitbucketserver/convert.go +++ b/remote/bitbucketserver/convert.go @@ -22,8 +22,8 @@ import ( "strings" "time" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/bitbucketserver/internal" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote/bitbucketserver/internal" "github.com/mrjones/oauth" ) diff --git a/remote/bitbucketserver/convert_test.go b/remote/bitbucketserver/convert_test.go index c248c1ecb..f861ac689 100644 --- a/remote/bitbucketserver/convert_test.go +++ b/remote/bitbucketserver/convert_test.go @@ -17,8 +17,8 @@ package bitbucketserver import ( "testing" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/bitbucketserver/internal" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/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 3813bcf47..35b9dcd97 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/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" "github.com/mrjones/oauth" ) diff --git a/remote/bitbucketserver/parse.go b/remote/bitbucketserver/parse.go index 43b320420..3a584954c 100644 --- a/remote/bitbucketserver/parse.go +++ b/remote/bitbucketserver/parse.go @@ -17,8 +17,8 @@ package bitbucketserver import ( "encoding/json" "fmt" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/bitbucketserver/internal" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote/bitbucketserver/internal" "net/http" ) diff --git a/remote/coding/coding.go b/remote/coding/coding.go index 7255b2448..30b6a9f66 100644 --- a/remote/coding/coding.go +++ b/remote/coding/coding.go @@ -20,10 +20,10 @@ import ( "net/http" "strings" - "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" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/remote/coding/internal" + "github.com/laszlocph/woodpecker/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 f24f34d33..ff6387fb7 100644 --- a/remote/coding/coding_test.go +++ b/remote/coding/coding_test.go @@ -20,8 +20,8 @@ import ( "net/http/httptest" "testing" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/coding/fixtures" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/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 b2ee5160b..9694261b7 100644 --- a/remote/coding/hook.go +++ b/remote/coding/hook.go @@ -22,7 +22,7 @@ import ( "regexp" "strings" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) const ( diff --git a/remote/coding/hook_test.go b/remote/coding/hook_test.go index e310ed2d1..9558a1f50 100644 --- a/remote/coding/hook_test.go +++ b/remote/coding/hook_test.go @@ -20,8 +20,8 @@ import ( "strings" "testing" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/coding/fixtures" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote/coding/fixtures" "github.com/franela/goblin" ) diff --git a/remote/gerrit/gerrit.go b/remote/gerrit/gerrit.go index f5fd526c3..6bf437c5f 100644 --- a/remote/gerrit/gerrit.go +++ b/remote/gerrit/gerrit.go @@ -20,8 +20,8 @@ import ( "net/http" "net/url" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/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 14b4bdb54..60aff3ee9 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/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" ) // Opts defines configuration options. diff --git a/remote/gitea/gitea_test.go b/remote/gitea/gitea_test.go index ab0933c2c..2a0bdd014 100644 --- a/remote/gitea/gitea_test.go +++ b/remote/gitea/gitea_test.go @@ -20,8 +20,8 @@ import ( "github.com/franela/goblin" "github.com/gin-gonic/gin" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/gitea/fixtures" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote/gitea/fixtures" ) func Test_gitea(t *testing.T) { diff --git a/remote/gitea/helper.go b/remote/gitea/helper.go index 25dfc949e..322ab11bb 100644 --- a/remote/gitea/helper.go +++ b/remote/gitea/helper.go @@ -23,7 +23,7 @@ import ( "time" "code.gitea.io/sdk/gitea" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/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 679859b44..7812625de 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/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/gitea/fixtures" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote/gitea/fixtures" "github.com/franela/goblin" ) diff --git a/remote/gitea/parse.go b/remote/gitea/parse.go index 1e77918ec..5841db450 100644 --- a/remote/gitea/parse.go +++ b/remote/gitea/parse.go @@ -18,7 +18,7 @@ import ( "io" "net/http" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) const ( diff --git a/remote/github/convert.go b/remote/github/convert.go index 4fde67e4c..a18a1006b 100644 --- a/remote/github/convert.go +++ b/remote/github/convert.go @@ -18,7 +18,7 @@ import ( "fmt" "strings" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" "github.com/google/go-github/github" ) diff --git a/remote/github/convert_test.go b/remote/github/convert_test.go index a8da21cbb..67b5e3d31 100644 --- a/remote/github/convert_test.go +++ b/remote/github/convert_test.go @@ -17,7 +17,7 @@ package github import ( "testing" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" "github.com/google/go-github/github" "github.com/franela/goblin" diff --git a/remote/github/github.go b/remote/github/github.go index c5471a0f6..732792454 100644 --- a/remote/github/github.go +++ b/remote/github/github.go @@ -24,9 +24,9 @@ import ( "strconv" "strings" - "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/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/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 2acf08d26..21d73a2c2 100644 --- a/remote/github/github_test.go +++ b/remote/github/github_test.go @@ -18,8 +18,8 @@ import ( "net/http/httptest" "testing" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/github/fixtures" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/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 14b87d311..fad707d2b 100644 --- a/remote/github/parse.go +++ b/remote/github/parse.go @@ -21,7 +21,7 @@ import ( "io/ioutil" "net/http" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) const ( diff --git a/remote/github/parse_test.go b/remote/github/parse_test.go index 5d2c76e5a..cc8cd4530 100644 --- a/remote/github/parse_test.go +++ b/remote/github/parse_test.go @@ -19,8 +19,8 @@ import ( "net/http" "testing" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/github/fixtures" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote/github/fixtures" "github.com/franela/goblin" ) diff --git a/remote/gitlab/gitlab.go b/remote/gitlab/gitlab.go index 910433ea8..a06b2ab19 100644 --- a/remote/gitlab/gitlab.go +++ b/remote/gitlab/gitlab.go @@ -24,12 +24,12 @@ import ( "strconv" "strings" - "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/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/shared/httputil" + "github.com/laszlocph/woodpecker/shared/oauth2" - "github.com/laszlocph/drone-oss-08/remote/gitlab/client" + "github.com/laszlocph/woodpecker/remote/gitlab/client" ) const DefaultScope = "api" diff --git a/remote/gitlab/gitlab_test.go b/remote/gitlab/gitlab_test.go index f2a1df109..a61687179 100644 --- a/remote/gitlab/gitlab_test.go +++ b/remote/gitlab/gitlab_test.go @@ -19,8 +19,8 @@ import ( "net/http" "testing" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/gitlab/testdata" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote/gitlab/testdata" "github.com/franela/goblin" ) diff --git a/remote/gitlab/helper.go b/remote/gitlab/helper.go index aec9322c1..97f05cd30 100644 --- a/remote/gitlab/helper.go +++ b/remote/gitlab/helper.go @@ -22,7 +22,7 @@ import ( "strconv" "strings" - "github.com/laszlocph/drone-oss-08/remote/gitlab/client" + "github.com/laszlocph/woodpecker/remote/gitlab/client" ) const ( diff --git a/remote/gitlab3/gitlab.go b/remote/gitlab3/gitlab.go index 73aafdbdf..242387a49 100644 --- a/remote/gitlab3/gitlab.go +++ b/remote/gitlab3/gitlab.go @@ -24,12 +24,12 @@ import ( "strconv" "strings" - "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/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/shared/httputil" + "github.com/laszlocph/woodpecker/shared/oauth2" - "github.com/laszlocph/drone-oss-08/remote/gitlab3/client" + "github.com/laszlocph/woodpecker/remote/gitlab3/client" ) const DefaultScope = "api" diff --git a/remote/gitlab3/gitlab_test.go b/remote/gitlab3/gitlab_test.go index 82ab5aae2..11a761496 100644 --- a/remote/gitlab3/gitlab_test.go +++ b/remote/gitlab3/gitlab_test.go @@ -19,8 +19,8 @@ import ( "net/http" "testing" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/gitlab3/testdata" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote/gitlab3/testdata" "github.com/franela/goblin" ) diff --git a/remote/gitlab3/helper.go b/remote/gitlab3/helper.go index 38deaf26d..01ca2632f 100644 --- a/remote/gitlab3/helper.go +++ b/remote/gitlab3/helper.go @@ -22,7 +22,7 @@ import ( "strconv" "strings" - "github.com/laszlocph/drone-oss-08/remote/gitlab3/client" + "github.com/laszlocph/woodpecker/remote/gitlab3/client" ) const ( diff --git a/remote/gogs/gogs.go b/remote/gogs/gogs.go index 7b641384e..950d85b3e 100644 --- a/remote/gogs/gogs.go +++ b/remote/gogs/gogs.go @@ -23,8 +23,8 @@ import ( "strings" "github.com/gogits/go-gogs-client" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" ) // Opts defines configuration options. diff --git a/remote/gogs/gogs_test.go b/remote/gogs/gogs_test.go index 20f847646..a443d00c1 100644 --- a/remote/gogs/gogs_test.go +++ b/remote/gogs/gogs_test.go @@ -18,8 +18,8 @@ import ( "net/http/httptest" "testing" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/gogs/fixtures" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/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 35829a2fa..f8d6d1e61 100644 --- a/remote/gogs/helper.go +++ b/remote/gogs/helper.go @@ -22,7 +22,7 @@ import ( "strings" "time" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" "github.com/gogits/go-gogs-client" ) diff --git a/remote/gogs/helper_test.go b/remote/gogs/helper_test.go index 73a13c3da..b3a81be8d 100644 --- a/remote/gogs/helper_test.go +++ b/remote/gogs/helper_test.go @@ -18,8 +18,8 @@ import ( "bytes" "testing" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/gogs/fixtures" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/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 c83424a24..c02aff862 100644 --- a/remote/gogs/parse.go +++ b/remote/gogs/parse.go @@ -18,7 +18,7 @@ import ( "io" "net/http" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) const ( diff --git a/remote/mock/remote.go b/remote/mock/remote.go index 096a25fad..ab63632e2 100644 --- a/remote/mock/remote.go +++ b/remote/mock/remote.go @@ -4,8 +4,8 @@ package mocks import http "net/http" import mock "github.com/stretchr/testify/mock" -import model "github.com/laszlocph/drone-oss-08/model" -import remote "github.com/laszlocph/drone-oss-08/remote" +import model "github.com/laszlocph/woodpecker/model" +import remote "github.com/laszlocph/woodpecker/remote" // Remote is an autogenerated mock type for the Remote type type Remote struct { diff --git a/remote/remote.go b/remote/remote.go index 558aae222..4d17a888e 100644 --- a/remote/remote.go +++ b/remote/remote.go @@ -19,7 +19,7 @@ package remote import ( "net/http" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" "golang.org/x/net/context" ) diff --git a/router/middleware/config.go b/router/middleware/config.go index 875ad995b..27e692bbc 100644 --- a/router/middleware/config.go +++ b/router/middleware/config.go @@ -15,7 +15,7 @@ package middleware import ( - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/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 30efc847f..81ed7332f 100644 --- a/router/middleware/header/header.go +++ b/router/middleware/header/header.go @@ -18,7 +18,7 @@ import ( "net/http" "time" - "github.com/laszlocph/drone-oss-08/version" + "github.com/laszlocph/woodpecker/version" "github.com/gin-gonic/gin" ) diff --git a/router/middleware/remote.go b/router/middleware/remote.go index ecce5171e..ef0233e6a 100644 --- a/router/middleware/remote.go +++ b/router/middleware/remote.go @@ -15,7 +15,7 @@ package middleware import ( - "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/woodpecker/remote" "github.com/gin-gonic/gin" ) diff --git a/router/middleware/session/agent.go b/router/middleware/session/agent.go index 68d2202cf..0fd8f8f96 100644 --- a/router/middleware/session/agent.go +++ b/router/middleware/session/agent.go @@ -15,7 +15,7 @@ package session import ( - "github.com/laszlocph/drone-oss-08/shared/token" + "github.com/laszlocph/woodpecker/shared/token" "github.com/gin-gonic/gin" ) diff --git a/router/middleware/session/repo.go b/router/middleware/session/repo.go index d61283868..b165af8f9 100644 --- a/router/middleware/session/repo.go +++ b/router/middleware/session/repo.go @@ -18,9 +18,9 @@ import ( "net/http" "time" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote" - "github.com/laszlocph/drone-oss-08/store" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/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 fb92fdd69..9303efd10 100644 --- a/router/middleware/session/user.go +++ b/router/middleware/session/user.go @@ -17,9 +17,9 @@ package session import ( "net/http" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/shared/token" - "github.com/laszlocph/drone-oss-08/store" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/shared/token" + "github.com/laszlocph/woodpecker/store" "github.com/gin-gonic/gin" ) diff --git a/router/middleware/store.go b/router/middleware/store.go index b81f9868f..5dcafec87 100644 --- a/router/middleware/store.go +++ b/router/middleware/store.go @@ -15,7 +15,7 @@ package middleware import ( - "github.com/laszlocph/drone-oss-08/store" + "github.com/laszlocph/woodpecker/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 41acbfaa1..f77d35990 100644 --- a/router/middleware/token/token.go +++ b/router/middleware/token/token.go @@ -17,9 +17,9 @@ package token import ( "time" - "github.com/laszlocph/drone-oss-08/remote" - "github.com/laszlocph/drone-oss-08/router/middleware/session" - "github.com/laszlocph/drone-oss-08/store" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/router/middleware/session" + "github.com/laszlocph/woodpecker/store" log "github.com/Sirupsen/logrus" "github.com/gin-gonic/gin" diff --git a/router/middleware/version.go b/router/middleware/version.go index a73348337..02c0c6217 100644 --- a/router/middleware/version.go +++ b/router/middleware/version.go @@ -15,7 +15,7 @@ package middleware import ( - "github.com/laszlocph/drone-oss-08/version" + "github.com/laszlocph/woodpecker/version" "github.com/gin-gonic/gin" ) diff --git a/router/router.go b/router/router.go index 2d3dc2a4e..82bcaab8e 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/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" + "github.com/laszlocph/woodpecker/router/middleware/header" + "github.com/laszlocph/woodpecker/router/middleware/session" + "github.com/laszlocph/woodpecker/router/middleware/token" + "github.com/laszlocph/woodpecker/server" + "github.com/laszlocph/woodpecker/server/debug" + "github.com/laszlocph/woodpecker/server/metrics" + "github.com/laszlocph/woodpecker/server/web" ) // Load loads the router diff --git a/server/badge.go b/server/badge.go index c74afff9f..4548f07e0 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/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/shared/httputil" - "github.com/laszlocph/drone-oss-08/store" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/shared/httputil" + "github.com/laszlocph/woodpecker/store" ) var ( diff --git a/server/build.go b/server/build.go index 65f7e39da..74edae3e6 100644 --- a/server/build.go +++ b/server/build.go @@ -25,13 +25,13 @@ import ( "github.com/Sirupsen/logrus" "github.com/gin-gonic/gin" - "github.com/laszlocph/drone-oss-08/cncd/queue" - "github.com/laszlocph/drone-oss-08/remote" - "github.com/laszlocph/drone-oss-08/shared/httputil" - "github.com/laszlocph/drone-oss-08/store" + "github.com/laszlocph/woodpecker/cncd/queue" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/shared/httputil" + "github.com/laszlocph/woodpecker/store" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/router/middleware/session" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/router/middleware/session" ) func GetBuilds(c *gin.Context) { diff --git a/server/configFetcher.go b/server/configFetcher.go index b4977ff06..53e782de1 100644 --- a/server/configFetcher.go +++ b/server/configFetcher.go @@ -4,8 +4,8 @@ import ( "strings" "time" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" ) type configFetcher struct { diff --git a/server/configFetcher_test.go b/server/configFetcher_test.go index 1ac3f6825..0e8ae2fea 100644 --- a/server/configFetcher_test.go +++ b/server/configFetcher_test.go @@ -3,8 +3,8 @@ package server import ( "testing" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote/github" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote/github" ) func TestFetchGithub(t *testing.T) { diff --git a/server/file.go b/server/file.go index ca4834d08..b7cbfe60c 100644 --- a/server/file.go +++ b/server/file.go @@ -20,8 +20,8 @@ import ( "strconv" "strings" - "github.com/laszlocph/drone-oss-08/router/middleware/session" - "github.com/laszlocph/drone-oss-08/store" + "github.com/laszlocph/woodpecker/router/middleware/session" + "github.com/laszlocph/woodpecker/store" "github.com/gin-gonic/gin" ) diff --git a/server/hook.go b/server/hook.go index 89818441d..c3af7e1fa 100644 --- a/server/hook.go +++ b/server/hook.go @@ -28,16 +28,16 @@ import ( "github.com/gin-gonic/gin" "github.com/Sirupsen/logrus" - "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/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/shared/httputil" + "github.com/laszlocph/woodpecker/shared/token" + "github.com/laszlocph/woodpecker/store" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc" - "github.com/laszlocph/drone-oss-08/cncd/pubsub" - "github.com/laszlocph/drone-oss-08/cncd/queue" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc" + "github.com/laszlocph/woodpecker/cncd/pubsub" + "github.com/laszlocph/woodpecker/cncd/queue" ) var skipRe = regexp.MustCompile(`\[(?i:ci *skip|skip *ci)\]`) diff --git a/server/login.go b/server/login.go index a401a2981..aa23d34c6 100644 --- a/server/login.go +++ b/server/login.go @@ -20,11 +20,11 @@ import ( "time" "github.com/gorilla/securecookie" - "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/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/shared/httputil" + "github.com/laszlocph/woodpecker/shared/token" + "github.com/laszlocph/woodpecker/store" "github.com/Sirupsen/logrus" "github.com/gin-gonic/gin" diff --git a/server/metrics/prometheus.go b/server/metrics/prometheus.go index 7fd0c9acb..c2ecaecb1 100644 --- a/server/metrics/prometheus.go +++ b/server/metrics/prometheus.go @@ -18,7 +18,7 @@ import ( "errors" "fmt" - "github.com/laszlocph/drone-oss-08/server" + "github.com/laszlocph/woodpecker/server" "github.com/gin-gonic/gin" "github.com/prometheus/client_golang/prometheus/promhttp" ) diff --git a/server/procBuilder.go b/server/procBuilder.go index 45858847c..f606f70d2 100644 --- a/server/procBuilder.go +++ b/server/procBuilder.go @@ -22,14 +22,14 @@ import ( "strings" "github.com/drone/envsubst" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/compiler" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/linter" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/matrix" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/compiler" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/linter" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/matrix" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" ) // Takes the hook data and the yaml and returns in internal data model diff --git a/server/procBuilder_test.go b/server/procBuilder_test.go index 904a7204b..ef7033495 100644 --- a/server/procBuilder_test.go +++ b/server/procBuilder_test.go @@ -18,8 +18,8 @@ import ( "fmt" "testing" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" ) func TestMultilineEnvsubst(t *testing.T) { diff --git a/server/registry.go b/server/registry.go index 2b994d7f5..5e5b06575 100644 --- a/server/registry.go +++ b/server/registry.go @@ -17,8 +17,8 @@ package server import ( "net/http" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/router/middleware/session" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/router/middleware/session" "github.com/gin-gonic/gin" ) diff --git a/server/repo.go b/server/repo.go index 46c8ff07e..0824751a0 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/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" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/router/middleware/session" + "github.com/laszlocph/woodpecker/shared/httputil" + "github.com/laszlocph/woodpecker/shared/token" + "github.com/laszlocph/woodpecker/store" ) func PostRepo(c *gin.Context) { diff --git a/server/rpc.go b/server/rpc.go index 438dcd423..34b301d2b 100644 --- a/server/rpc.go +++ b/server/rpc.go @@ -28,17 +28,17 @@ import ( "google.golang.org/grpc/metadata" "github.com/Sirupsen/logrus" - "github.com/laszlocph/drone-oss-08/cncd/logging" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc" - "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc/proto" - "github.com/laszlocph/drone-oss-08/cncd/pubsub" - "github.com/laszlocph/drone-oss-08/cncd/queue" + "github.com/laszlocph/woodpecker/cncd/logging" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc" + "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc/proto" + "github.com/laszlocph/woodpecker/cncd/pubsub" + "github.com/laszlocph/woodpecker/cncd/queue" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote" - "github.com/laszlocph/drone-oss-08/store" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/store" "github.com/drone/expr" ) diff --git a/server/secret.go b/server/secret.go index ba4015cbc..c4e6cfee3 100644 --- a/server/secret.go +++ b/server/secret.go @@ -17,8 +17,8 @@ package server import ( "net/http" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/router/middleware/session" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/router/middleware/session" "github.com/gin-gonic/gin" ) diff --git a/server/stream.go b/server/stream.go index c4d42341c..10a602b12 100644 --- a/server/stream.go +++ b/server/stream.go @@ -22,11 +22,11 @@ import ( "strconv" "time" - "github.com/laszlocph/drone-oss-08/cncd/logging" - "github.com/laszlocph/drone-oss-08/cncd/pubsub" - "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/laszlocph/woodpecker/cncd/logging" + "github.com/laszlocph/woodpecker/cncd/pubsub" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/router/middleware/session" + "github.com/laszlocph/woodpecker/store" "github.com/Sirupsen/logrus" "github.com/gin-gonic/gin" diff --git a/server/swagger/swagger.go b/server/swagger/swagger.go index c9b8bfa2d..659a6d03d 100644 --- a/server/swagger/swagger.go +++ b/server/swagger/swagger.go @@ -17,7 +17,7 @@ package swagger import ( "net/http" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) // swagger:route GET /users/{login} user getUser diff --git a/server/sync.go b/server/sync.go index 59da137cc..a14cde446 100644 --- a/server/sync.go +++ b/server/sync.go @@ -17,9 +17,9 @@ package server import ( "time" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/remote" - "github.com/laszlocph/drone-oss-08/store" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/store" ) // Syncer synces the user repository and permissions. diff --git a/server/user.go b/server/user.go index be4fc663d..4f96f1fcd 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/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" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/remote" + "github.com/laszlocph/woodpecker/router/middleware/session" + "github.com/laszlocph/woodpecker/shared/token" + "github.com/laszlocph/woodpecker/store" ) func GetSelf(c *gin.Context) { diff --git a/server/users.go b/server/users.go index ffe656ef0..4475a0dfa 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/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/store" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/store" ) func GetUsers(c *gin.Context) { diff --git a/server/web/web.go b/server/web/web.go index 75fbb2e53..db42511a1 100644 --- a/server/web/web.go +++ b/server/web/web.go @@ -24,9 +24,9 @@ import ( "path/filepath" "time" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/shared/token" - "github.com/laszlocph/drone-oss-08/version" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/shared/token" + "github.com/laszlocph/woodpecker/version" "github.com/laszlocph/woodpecker-ui/dist" "github.com/dimfeld/httptreemux" diff --git a/server/z.go b/server/z.go index ccb03e244..32949fbd7 100644 --- a/server/z.go +++ b/server/z.go @@ -15,8 +15,8 @@ package server import ( - "github.com/laszlocph/drone-oss-08/store" - "github.com/laszlocph/drone-oss-08/version" + "github.com/laszlocph/woodpecker/store" + "github.com/laszlocph/woodpecker/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/laszlocph/drone-oss-08", + "source": "https://github.com/laszlocph/woodpecker", "version": version.Version.String(), }) } diff --git a/store/datastore/builds.go b/store/datastore/builds.go index ed7977152..a8ceb6041 100644 --- a/store/datastore/builds.go +++ b/store/datastore/builds.go @@ -18,8 +18,8 @@ import ( "fmt" "time" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/store/datastore/sql" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/builds_test.go b/store/datastore/builds_test.go index 452936e1c..687774d87 100644 --- a/store/datastore/builds_test.go +++ b/store/datastore/builds_test.go @@ -19,7 +19,7 @@ import ( "testing" "github.com/franela/goblin" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) func TestBuilds(t *testing.T) { diff --git a/store/datastore/config.go b/store/datastore/config.go index 1be819bff..bc9d246bd 100644 --- a/store/datastore/config.go +++ b/store/datastore/config.go @@ -17,8 +17,8 @@ package datastore import ( gosql "database/sql" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/store/datastore/sql" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/config_test.go b/store/datastore/config_test.go index 35f2d2398..513084bb2 100644 --- a/store/datastore/config_test.go +++ b/store/datastore/config_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) func TestConfig(t *testing.T) { diff --git a/store/datastore/ddl/migrate.go b/store/datastore/ddl/migrate.go index b26fda2f2..0aca92e30 100644 --- a/store/datastore/ddl/migrate.go +++ b/store/datastore/ddl/migrate.go @@ -18,9 +18,9 @@ import ( "database/sql" "errors" - "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" + "github.com/laszlocph/woodpecker/store/datastore/ddl/mysql" + "github.com/laszlocph/woodpecker/store/datastore/ddl/postgres" + "github.com/laszlocph/woodpecker/store/datastore/ddl/sqlite" ) // Supported database drivers diff --git a/store/datastore/files.go b/store/datastore/files.go index 33ed1407a..dad4d9358 100644 --- a/store/datastore/files.go +++ b/store/datastore/files.go @@ -19,8 +19,8 @@ import ( "io" "io/ioutil" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/store/datastore/sql" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/files_test.go b/store/datastore/files_test.go index 865a399ac..a44dd919f 100644 --- a/store/datastore/files_test.go +++ b/store/datastore/files_test.go @@ -19,7 +19,7 @@ import ( "io/ioutil" "testing" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) func TestFileFind(t *testing.T) { diff --git a/store/datastore/logs.go b/store/datastore/logs.go index 6b5a0176e..395990971 100644 --- a/store/datastore/logs.go +++ b/store/datastore/logs.go @@ -19,8 +19,8 @@ import ( "io" "io/ioutil" - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/store/datastore/sql" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/logs_test.go b/store/datastore/logs_test.go index ed6796d99..70861bcc4 100644 --- a/store/datastore/logs_test.go +++ b/store/datastore/logs_test.go @@ -19,7 +19,7 @@ import ( "io/ioutil" "testing" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) func TestLogCreateFind(t *testing.T) { diff --git a/store/datastore/perms.go b/store/datastore/perms.go index 61b69a73e..dc0e407be 100644 --- a/store/datastore/perms.go +++ b/store/datastore/perms.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/store/datastore/sql" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/perms_test.go b/store/datastore/perms_test.go index f0391c2b4..9c474fd74 100644 --- a/store/datastore/perms_test.go +++ b/store/datastore/perms_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) func TestPermFind(t *testing.T) { diff --git a/store/datastore/procs.go b/store/datastore/procs.go index afe70559b..c7b78ad43 100644 --- a/store/datastore/procs.go +++ b/store/datastore/procs.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/store/datastore/sql" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/procs_test.go b/store/datastore/procs_test.go index db0aad0c9..b8f1e7dc8 100644 --- a/store/datastore/procs_test.go +++ b/store/datastore/procs_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) func TestProcFind(t *testing.T) { diff --git a/store/datastore/registry.go b/store/datastore/registry.go index ec0111e8d..285957508 100644 --- a/store/datastore/registry.go +++ b/store/datastore/registry.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/store/datastore/sql" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/registry_test.go b/store/datastore/registry_test.go index b511dcf40..edddeea14 100644 --- a/store/datastore/registry_test.go +++ b/store/datastore/registry_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) func TestRegistryFind(t *testing.T) { diff --git a/store/datastore/repos.go b/store/datastore/repos.go index eef5a4b9d..e059f3cba 100644 --- a/store/datastore/repos.go +++ b/store/datastore/repos.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/store/datastore/sql" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/repos_test.go b/store/datastore/repos_test.go index 736233f09..0ef77e068 100644 --- a/store/datastore/repos_test.go +++ b/store/datastore/repos_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" "github.com/franela/goblin" ) diff --git a/store/datastore/secret.go b/store/datastore/secret.go index d13924896..2378fe15a 100644 --- a/store/datastore/secret.go +++ b/store/datastore/secret.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/store/datastore/sql" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/secret_test.go b/store/datastore/secret_test.go index 22141369f..9ee03654b 100644 --- a/store/datastore/secret_test.go +++ b/store/datastore/secret_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) func TestSecretFind(t *testing.T) { diff --git a/store/datastore/sender.go b/store/datastore/sender.go index f594b433d..e2d338180 100644 --- a/store/datastore/sender.go +++ b/store/datastore/sender.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/store/datastore/sql" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/sender_test.go b/store/datastore/sender_test.go index 0edb4cfd2..b72519300 100644 --- a/store/datastore/sender_test.go +++ b/store/datastore/sender_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) func TestSenderFind(t *testing.T) { diff --git a/store/datastore/sql/lookup.go b/store/datastore/sql/lookup.go index c052e7e2c..4ef888c80 100644 --- a/store/datastore/sql/lookup.go +++ b/store/datastore/sql/lookup.go @@ -15,9 +15,9 @@ package sql import ( - "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" + "github.com/laszlocph/woodpecker/store/datastore/sql/mysql" + "github.com/laszlocph/woodpecker/store/datastore/sql/postgres" + "github.com/laszlocph/woodpecker/store/datastore/sql/sqlite" ) // Supported database drivers diff --git a/store/datastore/store.go b/store/datastore/store.go index a2dad6296..bb90f6965 100644 --- a/store/datastore/store.go +++ b/store/datastore/store.go @@ -19,8 +19,8 @@ import ( "os" "time" - "github.com/laszlocph/drone-oss-08/store" - "github.com/laszlocph/drone-oss-08/store/datastore/ddl" + "github.com/laszlocph/woodpecker/store" + "github.com/laszlocph/woodpecker/store/datastore/ddl" "github.com/russross/meddler" "github.com/Sirupsen/logrus" diff --git a/store/datastore/task.go b/store/datastore/task.go index 617462b35..e79ba8e8d 100644 --- a/store/datastore/task.go +++ b/store/datastore/task.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/store/datastore/sql" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/task_test.go b/store/datastore/task_test.go index 2d460f7c5..0fab63829 100644 --- a/store/datastore/task_test.go +++ b/store/datastore/task_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" ) func TestTaskList(t *testing.T) { diff --git a/store/datastore/users.go b/store/datastore/users.go index e018193f1..9485e9582 100644 --- a/store/datastore/users.go +++ b/store/datastore/users.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/drone-oss-08/model" - "github.com/laszlocph/drone-oss-08/store/datastore/sql" + "github.com/laszlocph/woodpecker/model" + "github.com/laszlocph/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/users_test.go b/store/datastore/users_test.go index a8f772209..2bcf2575d 100644 --- a/store/datastore/users_test.go +++ b/store/datastore/users_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" "github.com/franela/goblin" ) diff --git a/store/store.go b/store/store.go index f0849fa2c..eca28fcc0 100644 --- a/store/store.go +++ b/store/store.go @@ -17,7 +17,7 @@ package store import ( "io" - "github.com/laszlocph/drone-oss-08/model" + "github.com/laszlocph/woodpecker/model" "golang.org/x/net/context" ) diff --git a/vendor/github.com/laszlocph/woodpecker-ui/dist/dist_gen.go b/vendor/github.com/laszlocph/woodpecker-ui/dist/dist_gen.go index 303c11e05..91d29c37e 100644 --- a/vendor/github.com/laszlocph/woodpecker-ui/dist/dist_gen.go +++ b/vendor/github.com/laszlocph/woodpecker-ui/dist/dist_gen.go @@ -3829,7 +3829,7 @@ var LOGO = _react2["default"].createElement( _react2["default"].createElement( "a", { - href: "https://github.com/laszlocph/drone-oss-08/", + href: "https://github.com/laszlocph/woodpecker/", target: "_blank", rel: "noopener noreferrer" }, diff --git a/vendor/vendor.json b/vendor/vendor.json index 8b048ea70..3246fdc8e 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -907,5 +907,5 @@ "revisionTime": "2015-01-19T16:55:52-02:00" } ], - "rootPath": "github.com/laszlocph/drone-oss-08" + "rootPath": "github.com/laszlocph/woodpecker" }