diff --git a/.cli.sh b/.cli.sh index 5bb119011..bda21c69e 100755 --- a/.cli.sh +++ b/.cli.sh @@ -6,11 +6,11 @@ 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/woodpecker github.com/laszlocph/woodpecker/cli/drone -GOOS=linux GOARCH=arm64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm64/woodpecker github.com/laszlocph/woodpecker/cli/drone -GOOS=linux GOARCH=arm go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm/woodpecker github.com/laszlocph/woodpecker/cli/drone -GOOS=windows GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/windows/amd64/woodpecker github.com/laszlocph/woodpecker/cli/drone -GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/darwin/amd64/woodpecker github.com/laszlocph/woodpecker/cli/drone +GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/amd64/woodpecker github.com/woodpecker-ci/woodpecker/cli/drone +GOOS=linux GOARCH=arm64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm64/woodpecker github.com/woodpecker-ci/woodpecker/cli/drone +GOOS=linux GOARCH=arm go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm/woodpecker github.com/woodpecker-ci/woodpecker/cli/drone +GOOS=windows GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/windows/amd64/woodpecker github.com/woodpecker-ci/woodpecker/cli/drone +GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/darwin/amd64/woodpecker github.com/woodpecker-ci/woodpecker/cli/drone # tar binary files prior to upload tar -cvzf cli/release/woodpecker_linux_amd64.tar.gz -C cli/release/linux/amd64 woodpecker diff --git a/.drone.sh b/.drone.sh index 2bd678805..cfb230c88 100755 --- a/.drone.sh +++ b/.drone.sh @@ -11,5 +11,5 @@ fi echo "Building $VERSION" -go build -ldflags '-extldflags "-static" -X github.com/laszlocph/woodpecker/version.Version='${VERSION} -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.Version='${VERSION} -o release/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent +go build -ldflags '-extldflags "-static" -X github.com/woodpecker-ci/woodpecker/version.Version='${VERSION} -o release/drone-server github.com/woodpecker-ci/woodpecker/cmd/drone-server +GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-X github.com/woodpecker-ci/woodpecker/version.Version='${VERSION} -o release/drone-agent github.com/woodpecker-ci/woodpecker/cmd/drone-agent diff --git a/.drone.yml b/.drone.yml index 5c3e71bb8..8462661f2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,7 +26,7 @@ pipeline: - DATABASE_DRIVER=postgres - DATABASE_CONFIG=host=postgres user=postgres dbname=postgres sslmode=disable commands: - - go test -timeout 30s github.com/laszlocph/woodpecker/store/datastore + - go test -timeout 30s github.com/woodpecker-ci/woodpecker/store/datastore test-mysql: image: golang:1.16 @@ -35,7 +35,7 @@ pipeline: - DATABASE_DRIVER=mysql - DATABASE_CONFIG=root@tcp(mysql:3306)/test?parseTime=true commands: - - go test -timeout 30s github.com/laszlocph/woodpecker/store/datastore + - go test -timeout 30s github.com/woodpecker-ci/woodpecker/store/datastore build-frontend: image: node:10.17.0-stretch diff --git a/Makefile b/Makefile index 7e9f7baf6..2eaf78850 100644 --- a/Makefile +++ b/Makefile @@ -22,28 +22,28 @@ format: @gofmt -w ${GOFILES_NOVENDOR} test-agent: - $(DOCKER_RUN) go test -race -timeout 30s github.com/laszlocph/woodpecker/cmd/drone-agent $(go list ./... | grep -v /vendor/) + $(DOCKER_RUN) go test -race -timeout 30s github.com/woodpecker-ci/woodpecker/cmd/drone-agent $(go list ./... | grep -v /vendor/) test-server: - $(DOCKER_RUN) go test -race -timeout 30s github.com/laszlocph/woodpecker/cmd/drone-server + $(DOCKER_RUN) go test -race -timeout 30s github.com/woodpecker-ci/woodpecker/cmd/drone-server test-frontend: (cd web/; yarn run test) test-lib: - go get github.com/laszlocph/woodpecker/cncd/pipeline/pipec - go get github.com/laszlocph/woodpecker/remote/mock - go get github.com/laszlocph/woodpecker/cli/drone/internal - go get -t github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml + go get github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipec + go get github.com/woodpecker-ci/woodpecker/remote/mock + go get github.com/woodpecker-ci/woodpecker/cli/drone/internal + go get -t github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml $(DOCKER_RUN) go test -race -timeout 30s $(shell go list ./... | grep -v '/cmd/') test: test-lib test-agent test-server build-agent: - $(DOCKER_RUN) go build -o build/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent + $(DOCKER_RUN) go build -o build/drone-agent github.com/woodpecker-ci/woodpecker/cmd/drone-agent build-server: - $(DOCKER_RUN) go build -o build/drone-server github.com/laszlocph/woodpecker/cmd/drone-server + $(DOCKER_RUN) go build -o build/drone-server github.com/woodpecker-ci/woodpecker/cmd/drone-server build-frontend: (cd web/; yarn run build) @@ -52,5 +52,5 @@ build-frontend: build: build-agent build-server install: - go install github.com/laszlocph/woodpecker/cmd/drone-agent - go install github.com/laszlocph/woodpecker/cmd/drone-server \ No newline at end of file + go install github.com/woodpecker-ci/woodpecker/cmd/drone-agent + go install github.com/woodpecker-ci/woodpecker/cmd/drone-server \ No newline at end of file diff --git a/README.md b/README.md index 99f866bc3..ef7c1b90c 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A fork of the Drone CI system. - Based on the v0.8 code tree - Fully Apache 2.0, no tiers -[![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) [![https://discord.gg/fcMQqSMXJy](https://img.shields.io/discord/838698813463724034.svg)](https://discord.gg/fcMQqSMXJy) +[![Go Report Card](https://goreportcard.com/badge/github.com/woodpecker-ci/woodpecker)](https://goreportcard.com/report/github.com/woodpecker-ci/woodpecker) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![https://discord.gg/fcMQqSMXJy](https://img.shields.io/discord/838698813463724034.svg)](https://discord.gg/fcMQqSMXJy) ![woodpecker](docs/docs/images/woodpecker.png) @@ -95,7 +95,7 @@ https://woodpecker.laszlo.cloud Currently, I know of one organization using this fork. With 50+ users, 130+ repos and more than 1100 builds a week. -Leave a note here if you are using it: https://github.com/laszlocph/woodpecker/issues/122 +Leave a note here if you are using it: https://github.com/woodpecker-ci/woodpecker/issues/122 ## License diff --git a/charts/woodpecker-agent/Chart.yaml b/charts/woodpecker-agent/Chart.yaml index 7e5669963..c71bbf1fa 100644 --- a/charts/woodpecker-agent/Chart.yaml +++ b/charts/woodpecker-agent/Chart.yaml @@ -11,7 +11,7 @@ keywords: - docker - go sources: -- https://github.com/laszlocph/woodpecker +- https://github.com/woodpecker-ci/woodpecker maintainers: - name: Laszlo Fogas email: laszlo@laszlo.cloud diff --git a/charts/woodpecker-server/Chart.yaml b/charts/woodpecker-server/Chart.yaml index f4a42c3c7..b83a1b3a7 100644 --- a/charts/woodpecker-server/Chart.yaml +++ b/charts/woodpecker-server/Chart.yaml @@ -11,7 +11,7 @@ keywords: - docker - go sources: -- https://github.com/laszlocph/woodpecker +- https://github.com/woodpecker-ci/woodpecker maintainers: - name: Laszlo Fogas email: laszlo@laszlo.cloud diff --git a/cli/drone/build/build_approve.go b/cli/drone/build/build_approve.go index 115ea3929..602ec9c1e 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 d0b293df2..1ca1084a9 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 1cdd92295..81e70ac6e 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 939907ce3..5874d127e 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 1ece2f3a0..b1aef1b72 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 0b133ced2..45342c28d 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 964629c70..1319360b8 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 a1bd1fe3d..301c18bce 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 22e8759bf..6cdab511b 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 05e265bbd..c213fd415 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/deploy/deploy.go b/cli/drone/deploy/deploy.go index 8ded9b8d3..77e12c03b 100644 --- a/cli/drone/deploy/deploy.go +++ b/cli/drone/deploy/deploy.go @@ -6,8 +6,8 @@ import ( "os" "strconv" - "github.com/laszlocph/woodpecker/cli/drone/internal" - "github.com/laszlocph/woodpecker/drone-go/drone" + "github.com/woodpecker-ci/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/woodpecker/drone-go/drone" "github.com/urfave/cli" ) diff --git a/cli/drone/exec/exec.go b/cli/drone/exec/exec.go index bec0d72ad..d654b2c1e 100644 --- a/cli/drone/exec/exec.go +++ b/cli/drone/exec/exec.go @@ -14,16 +14,16 @@ import ( "time" "github.com/drone/envsubst" - "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/frontend/yaml/matrix" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend/docker" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml/compiler" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml/linter" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml/matrix" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/interrupt" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/multipart" "github.com/urfave/cli" ) diff --git a/cli/drone/info/info.go b/cli/drone/info/info.go index c112000d7..b19067f00 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/woodpecker/cli/drone/internal" ) // Command exports the info command. diff --git a/cli/drone/internal/util.go b/cli/drone/internal/util.go index c068f3b76..93c9d60c4 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/woodpecker/drone-go/drone" + "github.com/woodpecker-ci/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 c0d147ca3..1a4f1c39f 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/woodpecker/cli/drone/internal" "github.com/urfave/cli" ) diff --git a/cli/drone/main.go b/cli/drone/main.go index a6eb08aee..bf1233ad5 100644 --- a/cli/drone/main.go +++ b/cli/drone/main.go @@ -4,15 +4,15 @@ import ( "fmt" "os" - "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/woodpecker-ci/woodpecker/cli/drone/build" + "github.com/woodpecker-ci/woodpecker/cli/drone/deploy" + "github.com/woodpecker-ci/woodpecker/cli/drone/exec" + "github.com/woodpecker-ci/woodpecker/cli/drone/info" + "github.com/woodpecker-ci/woodpecker/cli/drone/log" + "github.com/woodpecker-ci/woodpecker/cli/drone/registry" + "github.com/woodpecker-ci/woodpecker/cli/drone/repo" + "github.com/woodpecker-ci/woodpecker/cli/drone/secret" + "github.com/woodpecker-ci/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 ee6bf17c2..50b82399e 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/woodpecker/cli/drone/internal" - "github.com/laszlocph/woodpecker/drone-go/drone" + "github.com/woodpecker-ci/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 a3fbad08c..0c7b27fbe 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 1f9d93313..f85342685 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 99f5243d2..214e806ae 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 d2f77f5a4..4cf86cc72 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/woodpecker/cli/drone/internal" - "github.com/laszlocph/woodpecker/drone-go/drone" + "github.com/woodpecker-ci/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 b263217ee..a91b51f55 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 f4b59eeec..1db82bedc 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 7a9b94f8d..8e91f560e 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 855e27ea1..a64c47059 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 044f4de84..e68557593 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 7c6579be2..bdf375368 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 1548457cb..d85f7213b 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 f76ac9212..f26d19660 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/woodpecker/cli/drone/internal" - "github.com/laszlocph/woodpecker/drone-go/drone" + "github.com/woodpecker-ci/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 1a974ceeb..9d9fb800c 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/woodpecker/cli/drone/internal" - "github.com/laszlocph/woodpecker/drone-go/drone" + "github.com/woodpecker-ci/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 05819495d..75a83b5bb 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 18bcfccf8..2d7ac897a 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 fdd824df5..c396f04df 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 9d5bb1ed2..2d2135c4e 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/woodpecker/cli/drone/internal" - "github.com/laszlocph/woodpecker/drone-go/drone" + "github.com/woodpecker-ci/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 63f2a2bbe..c81816f36 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/woodpecker/drone-go/drone" + "github.com/woodpecker-ci/woodpecker/drone-go/drone" "github.com/urfave/cli" - "github.com/laszlocph/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 db433ba1b..bfcc83137 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 81640bbe8..24738141c 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/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 cb7d70334..7af753c0b 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/woodpecker/cli/drone/internal" + "github.com/woodpecker-ci/woodpecker/cli/drone/internal" ) var userRemoveCmd = cli.Command{ diff --git a/cmd/drone-agent/agent.go b/cmd/drone-agent/agent.go index c2ffa481f..2bd3ea203 100644 --- a/cmd/drone-agent/agent.go +++ b/cmd/drone-agent/agent.go @@ -31,11 +31,11 @@ import ( "google.golang.org/grpc/keepalive" "google.golang.org/grpc/metadata" - "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/woodpecker-ci/woodpecker/cncd/pipeline/pipeline" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend/docker" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/multipart" + "github.com/woodpecker-ci/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 fdb9acf95..c724cfabb 100644 --- a/cmd/drone-agent/health.go +++ b/cmd/drone-agent/health.go @@ -22,7 +22,7 @@ import ( "sync" "time" - "github.com/laszlocph/woodpecker/version" + "github.com/woodpecker-ci/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/woodpecker", + Source: "https://github.com/woodpecker-ci/woodpecker", Version: version.String(), }) } diff --git a/cmd/drone-agent/main.go b/cmd/drone-agent/main.go index c506a4da5..4e0531b87 100644 --- a/cmd/drone-agent/main.go +++ b/cmd/drone-agent/main.go @@ -19,7 +19,7 @@ import ( "os" "time" - "github.com/laszlocph/woodpecker/version" + "github.com/woodpecker-ci/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 ecba5dce7..69d6549a6 100644 --- a/cmd/drone-server/main.go +++ b/cmd/drone-server/main.go @@ -18,7 +18,7 @@ import ( "fmt" "os" - "github.com/laszlocph/woodpecker/version" + "github.com/woodpecker-ci/woodpecker/version" "github.com/joho/godotenv" _ "github.com/joho/godotenv/autoload" diff --git a/cmd/drone-server/server.go b/cmd/drone-server/server.go index d259fa748..9da92dad1 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/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/woodpecker-ci/woodpecker/cncd/logging" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/rpc/proto" + "github.com/woodpecker-ci/woodpecker/cncd/pubsub" + "github.com/woodpecker-ci/woodpecker/plugins/sender" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/router" + "github.com/woodpecker-ci/woodpecker/router/middleware" + droneserver "github.com/woodpecker-ci/woodpecker/server" + "github.com/woodpecker-ci/woodpecker/store" "github.com/gin-gonic/contrib/ginrus" "github.com/sirupsen/logrus" diff --git a/cmd/drone-server/setup.go b/cmd/drone-server/setup.go index 09a051203..ac4f7f83a 100644 --- a/cmd/drone-server/setup.go +++ b/cmd/drone-server/setup.go @@ -19,24 +19,24 @@ import ( "time" "github.com/dimfeld/httptreemux" - "github.com/laszlocph/woodpecker/cncd/queue" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/plugins/environments" - "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/woodpecker-ci/woodpecker/cncd/queue" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/plugins/environments" + "github.com/woodpecker-ci/woodpecker/plugins/registry" + "github.com/woodpecker-ci/woodpecker/plugins/secrets" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/remote/bitbucket" + "github.com/woodpecker-ci/woodpecker/remote/bitbucketserver" + "github.com/woodpecker-ci/woodpecker/remote/coding" + "github.com/woodpecker-ci/woodpecker/remote/gitea" + "github.com/woodpecker-ci/woodpecker/remote/github" + "github.com/woodpecker-ci/woodpecker/remote/gitlab" + "github.com/woodpecker-ci/woodpecker/remote/gitlab3" + "github.com/woodpecker-ci/woodpecker/remote/gogs" + droneserver "github.com/woodpecker-ci/woodpecker/server" + "github.com/woodpecker-ci/woodpecker/server/web" + "github.com/woodpecker-ci/woodpecker/store" + "github.com/woodpecker-ci/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 34c87e2cb..f4aa23094 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/woodpecker/cncd/logging - http://godoc.org/github.com/laszlocph/woodpecker/cncd/logging/gcp + http://godoc.org/github.com/woodpecker-ci/woodpecker/cncd/logging + http://godoc.org/github.com/woodpecker-ci/woodpecker/cncd/logging/gcp diff --git a/cncd/pipeline/.drone.yml b/cncd/pipeline/.drone.yml index 4097aa625..89da6f434 100644 --- a/cncd/pipeline/.drone.yml +++ b/cncd/pipeline/.drone.yml @@ -1,15 +1,15 @@ workspace: base: /go - path: src/github.com/laszlocph/woodpecker/cncd/pipeline + path: src/github.com/woodpecker-ci/woodpecker/cncd/pipeline pipeline: install: image: golang:1.8 commands: - - go install github.com/laszlocph/woodpecker/cncd/pipeline/pipec - - go install github.com/laszlocph/woodpecker/cncd/pipeline/piped + - go install github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipec + - go install github.com/woodpecker-ci/woodpecker/cncd/pipeline/piped test: image: golang:1.8 commands: - - go test -cover -timeout 30s github.com/laszlocph/woodpecker/cncd/pipeline/... + - go test -cover -timeout 30s github.com/woodpecker-ci/woodpecker/cncd/pipeline/... diff --git a/cncd/pipeline/pipec/compile.go b/cncd/pipeline/pipec/compile.go index ae49066c5..a363c7fdb 100644 --- a/cncd/pipeline/pipec/compile.go +++ b/cncd/pipeline/pipec/compile.go @@ -8,9 +8,9 @@ import ( "path/filepath" "strings" - "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/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml" + "github.com/woodpecker-ci/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 602fe7ca5..28bd74bb6 100644 --- a/cncd/pipeline/pipec/exec.go +++ b/cncd/pipeline/pipec/exec.go @@ -8,12 +8,12 @@ import ( "strconv" "time" - "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/woodpecker-ci/woodpecker/cncd/pipeline/pipeline" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend/docker" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend/kubernetes" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/interrupt" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/multipart" "github.com/urfave/cli" ) diff --git a/cncd/pipeline/pipec/lint.go b/cncd/pipeline/pipec/lint.go index f2170c857..9603b3e89 100644 --- a/cncd/pipeline/pipec/lint.go +++ b/cncd/pipeline/pipec/lint.go @@ -3,8 +3,8 @@ package main import ( "fmt" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/linter" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml" + "github.com/woodpecker-ci/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 5ad613f09..a62164dd1 100644 --- a/cncd/pipeline/piped/main.go +++ b/cncd/pipeline/piped/main.go @@ -13,12 +13,12 @@ import ( "sync" "time" - "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/woodpecker-ci/woodpecker/cncd/pipeline/pipeline" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend/docker" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/interrupt" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/multipart" + "github.com/woodpecker-ci/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 dd4349995..531265c90 100644 --- a/cncd/pipeline/piped/once.go +++ b/cncd/pipeline/piped/once.go @@ -7,8 +7,8 @@ import ( "net/url" "time" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/interrupt" + "github.com/woodpecker-ci/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 5eaedeef6..56b1657e5 100644 --- a/cncd/pipeline/pipeline/backend/docker/convert.go +++ b/cncd/pipeline/pipeline/backend/docker/convert.go @@ -7,7 +7,7 @@ import ( "regexp" "strings" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend" ) // returns a container configuration. diff --git a/cncd/pipeline/pipeline/backend/docker/docker.go b/cncd/pipeline/pipeline/backend/docker/docker.go index d6a6c3f1b..0bcdefbf6 100644 --- a/cncd/pipeline/pipeline/backend/docker/docker.go +++ b/cncd/pipeline/pipeline/backend/docker/docker.go @@ -8,7 +8,7 @@ import ( "io" "os" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend" "docker.io/go-docker" "docker.io/go-docker/api/types" diff --git a/cncd/pipeline/pipeline/backend/docker/pool.go b/cncd/pipeline/pipeline/backend/docker/pool.go index 7e7f98eca..0de6f8bd0 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/woodpecker/cncd/pipeline/pipeline/backend" +// "github.com/woodpecker-ci/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 c0ef1be5b..0ad6331c8 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/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/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 0cf66b095..02605aad4 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/woodpecker/cncd/pipeline/pipeline/frontend/yaml" + "github.com/woodpecker-ci/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 bcf6dcb81..178b38366 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/woodpecker/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend" + "github.com/woodpecker-ci/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 683d1ea74..25924db7b 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/woodpecker/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/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 7548c34af..4517efdca 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/woodpecker/cncd/pipeline/pipeline/frontend" + "github.com/woodpecker-ci/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 2995df814..e723ba347 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/woodpecker/cncd/pipeline/pipeline/frontend" + "github.com/woodpecker-ci/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 f6a46ee0a..33e22de95 100644 --- a/cncd/pipeline/pipeline/frontend/yaml/constraint.go +++ b/cncd/pipeline/pipeline/frontend/yaml/constraint.go @@ -5,8 +5,8 @@ import ( "path/filepath" libcompose "github.com/docker/libcompose/yaml" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/types" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml/types" "gopkg.in/yaml.v3" ) diff --git a/cncd/pipeline/pipeline/frontend/yaml/constraint_test.go b/cncd/pipeline/pipeline/frontend/yaml/constraint_test.go index 77cfef800..8c3b7dd3b 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/woodpecker/cncd/pipeline/pipeline/frontend" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend" "gopkg.in/yaml.v3" ) diff --git a/cncd/pipeline/pipeline/frontend/yaml/linter/linter.go b/cncd/pipeline/pipeline/frontend/yaml/linter/linter.go index f9c10c1d3..61537213b 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/woodpecker/cncd/pipeline/pipeline/frontend/yaml" + "github.com/woodpecker-ci/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 809c15153..de83571bb 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/woodpecker/cncd/pipeline/pipeline/frontend/yaml" + "github.com/woodpecker-ci/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 f19e168e9..7401b73aa 100644 --- a/cncd/pipeline/pipeline/logger.go +++ b/cncd/pipeline/pipeline/logger.go @@ -1,8 +1,8 @@ package pipeline import ( - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/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 e9cec2916..030d3cbcb 100644 --- a/cncd/pipeline/pipeline/option.go +++ b/cncd/pipeline/pipeline/option.go @@ -3,7 +3,7 @@ package pipeline import ( "context" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/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 65e76f1cc..1a097b8ed 100644 --- a/cncd/pipeline/pipeline/parse.go +++ b/cncd/pipeline/pipeline/parse.go @@ -6,7 +6,7 @@ import ( "os" "strings" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/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 5e37c95ee..572f03629 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/woodpecker/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/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 9e5f78c8d..6015f1a8d 100644 --- a/cncd/pipeline/pipeline/rpc/client_grpc.go +++ b/cncd/pipeline/pipeline/rpc/client_grpc.go @@ -6,8 +6,8 @@ import ( "log" "time" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc/proto" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/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 e5b981e72..3b96ecc7d 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/woodpecker/cncd/pipeline/pipeline/backend" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc/proto" + // "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/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 41e498ad3..8402a8319 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/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/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 f062829db..9d948580f 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/woodpecker/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst" + "/Users/bradrydzewski/code/src/github.com/woodpecker-ci/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/woodpecker/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst" + "/Users/bradrydzewski/code/src/github.com/woodpecker-ci/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/woodpecker/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst" + "/Users/bradrydzewski/code/src/github.com/woodpecker-ci/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 e21ac9d45..f67819968 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/woodpecker/cncd/pubsub - http://godoc.org/github.com/laszlocph/woodpecker/cncd/pubsub/gcp + http://godoc.org/github.com/woodpecker-ci/woodpecker/cncd/pubsub + http://godoc.org/github.com/woodpecker-ci/woodpecker/cncd/pubsub/gcp diff --git a/cncd/queue/README b/cncd/queue/README index d678a6574..9cbfe07ac 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/woodpecker/cncd/queue - http://godoc.org/github.com/laszlocph/woodpecker/cncd/queue/gcp + http://godoc.org/github.com/woodpecker-ci/woodpecker/cncd/queue + http://godoc.org/github.com/woodpecker-ci/woodpecker/cncd/queue/gcp diff --git a/docs/docs/administration/prometheus.md b/docs/docs/administration/prometheus.md index b69c391cf..926538b94 100644 --- a/docs/docs/administration/prometheus.md +++ b/docs/docs/administration/prometheus.md @@ -37,12 +37,12 @@ List of prometheus metrics specific to Woodpecker: ``` # HELP drone_build_count Build count. # TYPE drone_build_count counter -drone_build_count{branch="master",pipeline="total",repo="laszlocph/woodpecker",status="success"} 3 -drone_build_count{branch="mkdocs",pipeline="total",repo="laszlocph/woodpecker",status="success"} 3 +drone_build_count{branch="master",pipeline="total",repo="woodpecker-ci/woodpecker",status="success"} 3 +drone_build_count{branch="mkdocs",pipeline="total",repo="woodpecker-ci/woodpecker",status="success"} 3 # HELP drone_build_time Build time. # TYPE drone_build_time gauge -drone_build_time{branch="master",pipeline="total",repo="laszlocph/woodpecker",status="success"} 116 -drone_build_time{branch="mkdocs",pipeline="total",repo="laszlocph/woodpecker",status="success"} 155 +drone_build_time{branch="master",pipeline="total",repo="woodpecker-ci/woodpecker",status="success"} 116 +drone_build_time{branch="mkdocs",pipeline="total",repo="woodpecker-ci/woodpecker",status="success"} 155 # HELP drone_build_total_count Total number of builds. # TYPE drone_build_total_count gauge drone_build_total_count 1025 diff --git a/docs/docs/multi-pipeline.md b/docs/docs/multi-pipeline.md index 9d7643e37..f2c723cb6 100644 --- a/docs/docs/multi-pipeline.md +++ b/docs/docs/multi-pipeline.md @@ -1,7 +1,7 @@ # Multi-pipeline builds -**NOTE: Feature is only available for Github repositories. Follow [this](https://github.com/laszlocph/woodpecker/issues/131) issue to support further development.** +**NOTE: Feature is only available for Github repositories. Follow [this](https://github.com/woodpecker-ci/woodpecker/issues/131) issue to support further development.** By default, Woodpecker looks for the pipeline definition in `.drone.yml` in the project root. diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 6129688a9..d92f49eba 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -1,6 +1,6 @@ site_name: Woodpecker -repo_name: 'laszlocph/woodpecker' -repo_url: 'https://github.com/laszlocph/woodpecker' +repo_name: 'woodpecker-ci/woodpecker' +repo_url: 'https://github.com/woodpecker-ci/woodpecker' edit_uri: 'blob/master/docs/docs/' copyright: 'Creative Commons Attribution-ShareAlike 4.0 International Public License.
It is a derivative work of the https://github.com/drone/docs git repository' nav: diff --git a/drone-go/README.md b/drone-go/README.md index b26b392cc..a19df5d15 100644 --- a/drone-go/README.md +++ b/drone-go/README.md @@ -2,7 +2,7 @@ ```Go import ( - "github.com/laszlocph/woodpecker/drone-go/drone" + "github.com/woodpecker-ci/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 ef2106c3f..b2aa1a160 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/woodpecker" + "repo": "woodpecker-ci/woodpecker" }, "Dependencies": [], "DepStatus": {}, diff --git a/go.mod b/go.mod index 5049cedeb..649553963 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/laszlocph/woodpecker +module github.com/woodpecker-ci/woodpecker go 1.16 diff --git a/model/queue.go b/model/queue.go index 0f5ddc85b..bcc8bd1bf 100644 --- a/model/queue.go +++ b/model/queue.go @@ -17,7 +17,7 @@ package model import ( "context" - "github.com/laszlocph/woodpecker/cncd/queue" + "github.com/woodpecker-ci/woodpecker/cncd/queue" "github.com/sirupsen/logrus" ) diff --git a/plugins/environments/filesystem.go b/plugins/environments/filesystem.go index 4298e4913..c64e13a88 100644 --- a/plugins/environments/filesystem.go +++ b/plugins/environments/filesystem.go @@ -1,7 +1,7 @@ package environments import ( - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" "strings" ) diff --git a/plugins/registry/combine.go b/plugins/registry/combine.go index b1efb3541..e88a96a20 100644 --- a/plugins/registry/combine.go +++ b/plugins/registry/combine.go @@ -1,7 +1,7 @@ package registry import ( - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) type combined struct { diff --git a/plugins/registry/db.go b/plugins/registry/db.go index 6327175e7..b9b9d415f 100644 --- a/plugins/registry/db.go +++ b/plugins/registry/db.go @@ -1,7 +1,7 @@ package registry import ( - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) type db struct { diff --git a/plugins/registry/filesystem.go b/plugins/registry/filesystem.go index e1765eab4..8efca3efc 100644 --- a/plugins/registry/filesystem.go +++ b/plugins/registry/filesystem.go @@ -6,7 +6,7 @@ import ( "fmt" "github.com/docker/cli/cli/config/configfile" "github.com/docker/cli/cli/config/types" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" "os" "strings" ) diff --git a/plugins/secrets/builtin.go b/plugins/secrets/builtin.go index 268ec58de..a6d57c9ea 100644 --- a/plugins/secrets/builtin.go +++ b/plugins/secrets/builtin.go @@ -1,7 +1,7 @@ package secrets import ( - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) type builtin struct { diff --git a/plugins/sender/builtin.go b/plugins/sender/builtin.go index 8b28ec0cd..8324621ae 100644 --- a/plugins/sender/builtin.go +++ b/plugins/sender/builtin.go @@ -1,7 +1,7 @@ package sender import ( - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) type builtin struct { diff --git a/plugins/sender/plugin.go b/plugins/sender/plugin.go index 173c47bf8..e6f4da49a 100644 --- a/plugins/sender/plugin.go +++ b/plugins/sender/plugin.go @@ -3,8 +3,8 @@ package sender import ( "fmt" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/plugins/internal" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/plugins/internal" ) type plugin struct { diff --git a/remote/bitbucket/bitbucket.go b/remote/bitbucket/bitbucket.go index 62133d8f0..7d23c69a3 100644 --- a/remote/bitbucket/bitbucket.go +++ b/remote/bitbucket/bitbucket.go @@ -19,10 +19,10 @@ import ( "net/http" "net/url" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote" - "github.com/laszlocph/woodpecker/remote/bitbucket/internal" - "github.com/laszlocph/woodpecker/shared/httputil" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/remote/bitbucket/internal" + "github.com/woodpecker-ci/woodpecker/shared/httputil" "golang.org/x/oauth2" ) diff --git a/remote/bitbucket/bitbucket_test.go b/remote/bitbucket/bitbucket_test.go index 4e4cc5bd4..6d41a56c1 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/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/bitbucket/fixtures" - "github.com/laszlocph/woodpecker/remote/bitbucket/internal" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote/bitbucket/fixtures" + "github.com/woodpecker-ci/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 0db9e0647..ac33147bb 100644 --- a/remote/bitbucket/convert.go +++ b/remote/bitbucket/convert.go @@ -20,8 +20,8 @@ import ( "regexp" "strings" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/bitbucket/internal" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote/bitbucket/internal" "golang.org/x/oauth2" ) diff --git a/remote/bitbucket/convert_test.go b/remote/bitbucket/convert_test.go index 531ab04c5..f1da400c3 100644 --- a/remote/bitbucket/convert_test.go +++ b/remote/bitbucket/convert_test.go @@ -18,8 +18,8 @@ import ( "testing" "time" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/bitbucket/internal" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/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 b88337d5d..ca165e690 100644 --- a/remote/bitbucket/parse.go +++ b/remote/bitbucket/parse.go @@ -19,8 +19,8 @@ import ( "io/ioutil" "net/http" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/bitbucket/internal" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote/bitbucket/internal" ) const ( diff --git a/remote/bitbucket/parse_test.go b/remote/bitbucket/parse_test.go index d4e61b7a4..bb0cf7d25 100644 --- a/remote/bitbucket/parse_test.go +++ b/remote/bitbucket/parse_test.go @@ -19,7 +19,7 @@ import ( "net/http" "testing" - "github.com/laszlocph/woodpecker/remote/bitbucket/fixtures" + "github.com/woodpecker-ci/woodpecker/remote/bitbucket/fixtures" "github.com/franela/goblin" ) diff --git a/remote/bitbucketserver/bitbucketserver.go b/remote/bitbucketserver/bitbucketserver.go index c0f569092..369dddbff 100644 --- a/remote/bitbucketserver/bitbucketserver.go +++ b/remote/bitbucketserver/bitbucketserver.go @@ -28,9 +28,9 @@ import ( "net/url" "strings" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote" - "github.com/laszlocph/woodpecker/remote/bitbucketserver/internal" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/remote/bitbucketserver/internal" "github.com/mrjones/oauth" ) diff --git a/remote/bitbucketserver/convert.go b/remote/bitbucketserver/convert.go index 623dd3838..4039ee7ff 100644 --- a/remote/bitbucketserver/convert.go +++ b/remote/bitbucketserver/convert.go @@ -22,8 +22,8 @@ import ( "strings" "time" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/bitbucketserver/internal" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote/bitbucketserver/internal" "github.com/mrjones/oauth" ) diff --git a/remote/bitbucketserver/convert_test.go b/remote/bitbucketserver/convert_test.go index 13d6659b1..0bb03c84a 100644 --- a/remote/bitbucketserver/convert_test.go +++ b/remote/bitbucketserver/convert_test.go @@ -18,8 +18,8 @@ import ( "testing" "github.com/franela/goblin" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/bitbucketserver/internal" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote/bitbucketserver/internal" "github.com/mrjones/oauth" ) diff --git a/remote/bitbucketserver/internal/client.go b/remote/bitbucketserver/internal/client.go index 0d8c1fbcc..651c90bc5 100644 --- a/remote/bitbucketserver/internal/client.go +++ b/remote/bitbucketserver/internal/client.go @@ -25,7 +25,7 @@ import ( "strings" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" "github.com/mrjones/oauth" log "github.com/sirupsen/logrus" ) diff --git a/remote/bitbucketserver/parse.go b/remote/bitbucketserver/parse.go index 3a584954c..2f9c5dcbc 100644 --- a/remote/bitbucketserver/parse.go +++ b/remote/bitbucketserver/parse.go @@ -17,8 +17,8 @@ package bitbucketserver import ( "encoding/json" "fmt" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/bitbucketserver/internal" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote/bitbucketserver/internal" "net/http" ) diff --git a/remote/coding/coding.go b/remote/coding/coding.go index 30b6a9f66..2848c0179 100644 --- a/remote/coding/coding.go +++ b/remote/coding/coding.go @@ -20,10 +20,10 @@ import ( "net/http" "strings" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote" - "github.com/laszlocph/woodpecker/remote/coding/internal" - "github.com/laszlocph/woodpecker/shared/httputil" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/remote/coding/internal" + "github.com/woodpecker-ci/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 ff6387fb7..6599a25e6 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/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/coding/fixtures" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/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 9694261b7..0a3704635 100644 --- a/remote/coding/hook.go +++ b/remote/coding/hook.go @@ -22,7 +22,7 @@ import ( "regexp" "strings" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) const ( diff --git a/remote/coding/hook_test.go b/remote/coding/hook_test.go index 9558a1f50..3744d9c6f 100644 --- a/remote/coding/hook_test.go +++ b/remote/coding/hook_test.go @@ -20,8 +20,8 @@ import ( "strings" "testing" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/coding/fixtures" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote/coding/fixtures" "github.com/franela/goblin" ) diff --git a/remote/gerrit/gerrit.go b/remote/gerrit/gerrit.go index 6bf437c5f..208f79aad 100644 --- a/remote/gerrit/gerrit.go +++ b/remote/gerrit/gerrit.go @@ -20,8 +20,8 @@ import ( "net/http" "net/url" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/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 7780895a6..2a3bd6556 100644 --- a/remote/gitea/gitea.go +++ b/remote/gitea/gitea.go @@ -25,8 +25,8 @@ import ( "net/url" "code.gitea.io/sdk/gitea" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" ) // Opts defines configuration options. diff --git a/remote/gitea/gitea_test.go b/remote/gitea/gitea_test.go index 2a0bdd014..8aa62ed7d 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/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/gitea/fixtures" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote/gitea/fixtures" ) func Test_gitea(t *testing.T) { diff --git a/remote/gitea/helper.go b/remote/gitea/helper.go index 322ab11bb..a9fe0a9f0 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/woodpecker/model" + "github.com/woodpecker-ci/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 3ff90ad58..1b9300fe1 100644 --- a/remote/gitea/helper_test.go +++ b/remote/gitea/helper_test.go @@ -20,8 +20,8 @@ import ( "code.gitea.io/sdk/gitea" "github.com/franela/goblin" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/gitea/fixtures" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote/gitea/fixtures" ) func Test_parse(t *testing.T) { diff --git a/remote/gitea/parse.go b/remote/gitea/parse.go index 5841db450..90c34d7a4 100644 --- a/remote/gitea/parse.go +++ b/remote/gitea/parse.go @@ -18,7 +18,7 @@ import ( "io" "net/http" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) const ( diff --git a/remote/github/convert.go b/remote/github/convert.go index a18a1006b..8ca4f70d0 100644 --- a/remote/github/convert.go +++ b/remote/github/convert.go @@ -18,7 +18,7 @@ import ( "fmt" "strings" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" "github.com/google/go-github/github" ) diff --git a/remote/github/convert_test.go b/remote/github/convert_test.go index 12af5a084..862082898 100644 --- a/remote/github/convert_test.go +++ b/remote/github/convert_test.go @@ -18,7 +18,7 @@ import ( "testing" "github.com/google/go-github/github" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" "github.com/franela/goblin" ) diff --git a/remote/github/github.go b/remote/github/github.go index 732792454..100ae562a 100644 --- a/remote/github/github.go +++ b/remote/github/github.go @@ -24,9 +24,9 @@ import ( "strconv" "strings" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote" - "github.com/laszlocph/woodpecker/shared/httputil" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/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 21d73a2c2..d2a3e417f 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/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/github/fixtures" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/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 fad707d2b..8ccf47b41 100644 --- a/remote/github/parse.go +++ b/remote/github/parse.go @@ -21,7 +21,7 @@ import ( "io/ioutil" "net/http" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) const ( diff --git a/remote/github/parse_test.go b/remote/github/parse_test.go index a2c957363..4684bc04f 100644 --- a/remote/github/parse_test.go +++ b/remote/github/parse_test.go @@ -20,8 +20,8 @@ import ( "testing" "github.com/franela/goblin" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/github/fixtures" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote/github/fixtures" ) func Test_parser(t *testing.T) { diff --git a/remote/gitlab/gitlab.go b/remote/gitlab/gitlab.go index a06b2ab19..c401cc23e 100644 --- a/remote/gitlab/gitlab.go +++ b/remote/gitlab/gitlab.go @@ -24,12 +24,12 @@ import ( "strconv" "strings" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote" - "github.com/laszlocph/woodpecker/shared/httputil" - "github.com/laszlocph/woodpecker/shared/oauth2" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/shared/httputil" + "github.com/woodpecker-ci/woodpecker/shared/oauth2" - "github.com/laszlocph/woodpecker/remote/gitlab/client" + "github.com/woodpecker-ci/woodpecker/remote/gitlab/client" ) const DefaultScope = "api" diff --git a/remote/gitlab/gitlab_test.go b/remote/gitlab/gitlab_test.go index 150a9c30e..d3c21cb19 100644 --- a/remote/gitlab/gitlab_test.go +++ b/remote/gitlab/gitlab_test.go @@ -20,8 +20,8 @@ import ( "testing" "github.com/franela/goblin" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/gitlab/testdata" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote/gitlab/testdata" ) func Test_Gitlab(t *testing.T) { diff --git a/remote/gitlab/helper.go b/remote/gitlab/helper.go index 97f05cd30..0aa34d068 100644 --- a/remote/gitlab/helper.go +++ b/remote/gitlab/helper.go @@ -22,7 +22,7 @@ import ( "strconv" "strings" - "github.com/laszlocph/woodpecker/remote/gitlab/client" + "github.com/woodpecker-ci/woodpecker/remote/gitlab/client" ) const ( diff --git a/remote/gitlab3/gitlab.go b/remote/gitlab3/gitlab.go index 242387a49..4d34cd31a 100644 --- a/remote/gitlab3/gitlab.go +++ b/remote/gitlab3/gitlab.go @@ -24,12 +24,12 @@ import ( "strconv" "strings" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote" - "github.com/laszlocph/woodpecker/shared/httputil" - "github.com/laszlocph/woodpecker/shared/oauth2" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/shared/httputil" + "github.com/woodpecker-ci/woodpecker/shared/oauth2" - "github.com/laszlocph/woodpecker/remote/gitlab3/client" + "github.com/woodpecker-ci/woodpecker/remote/gitlab3/client" ) const DefaultScope = "api" diff --git a/remote/gitlab3/gitlab_test.go b/remote/gitlab3/gitlab_test.go index 99a707f7c..a5bda77b1 100644 --- a/remote/gitlab3/gitlab_test.go +++ b/remote/gitlab3/gitlab_test.go @@ -20,8 +20,8 @@ import ( "testing" "github.com/franela/goblin" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/gitlab3/testdata" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote/gitlab3/testdata" ) func Test_Gitlab(t *testing.T) { diff --git a/remote/gitlab3/helper.go b/remote/gitlab3/helper.go index 01ca2632f..2cc7df181 100644 --- a/remote/gitlab3/helper.go +++ b/remote/gitlab3/helper.go @@ -22,7 +22,7 @@ import ( "strconv" "strings" - "github.com/laszlocph/woodpecker/remote/gitlab3/client" + "github.com/woodpecker-ci/woodpecker/remote/gitlab3/client" ) const ( diff --git a/remote/gogs/gogs.go b/remote/gogs/gogs.go index 950d85b3e..f0bb1da68 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/woodpecker/model" - "github.com/laszlocph/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" ) // Opts defines configuration options. diff --git a/remote/gogs/gogs_test.go b/remote/gogs/gogs_test.go index a443d00c1..4ac4b2e26 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/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/gogs/fixtures" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/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 8fe2547fc..ded5e31ff 100644 --- a/remote/gogs/helper.go +++ b/remote/gogs/helper.go @@ -23,7 +23,7 @@ import ( "time" "github.com/gogits/go-gogs-client" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) // helper function that converts a Gogs repository to a Drone repository. diff --git a/remote/gogs/helper_test.go b/remote/gogs/helper_test.go index b3a81be8d..2621cd12c 100644 --- a/remote/gogs/helper_test.go +++ b/remote/gogs/helper_test.go @@ -18,8 +18,8 @@ import ( "bytes" "testing" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/gogs/fixtures" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/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 c02aff862..3836fa61b 100644 --- a/remote/gogs/parse.go +++ b/remote/gogs/parse.go @@ -18,7 +18,7 @@ import ( "io" "net/http" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) const ( diff --git a/remote/mock/remote.go b/remote/mock/remote.go index ab63632e2..0881c6a91 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/woodpecker/model" -import remote "github.com/laszlocph/woodpecker/remote" +import model "github.com/woodpecker-ci/woodpecker/model" +import remote "github.com/woodpecker-ci/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 4d17a888e..6e8f19f7d 100644 --- a/remote/remote.go +++ b/remote/remote.go @@ -19,7 +19,7 @@ package remote import ( "net/http" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" "golang.org/x/net/context" ) diff --git a/router/middleware/config.go b/router/middleware/config.go index e107585e7..60a5da2f6 100644 --- a/router/middleware/config.go +++ b/router/middleware/config.go @@ -15,7 +15,7 @@ package middleware import ( - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" "github.com/gin-gonic/gin" "github.com/urfave/cli" diff --git a/router/middleware/remote.go b/router/middleware/remote.go index a7b1f04c4..1798944d5 100644 --- a/router/middleware/remote.go +++ b/router/middleware/remote.go @@ -16,7 +16,7 @@ package middleware import ( "github.com/gin-gonic/gin" - "github.com/laszlocph/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/remote" ) // Remote is a middleware function that initializes the Remote and attaches to diff --git a/router/middleware/session/agent.go b/router/middleware/session/agent.go index dba23645f..2c639fc1f 100644 --- a/router/middleware/session/agent.go +++ b/router/middleware/session/agent.go @@ -16,7 +16,7 @@ package session import ( "github.com/gin-gonic/gin" - "github.com/laszlocph/woodpecker/shared/token" + "github.com/woodpecker-ci/woodpecker/shared/token" ) // AuthorizeAgent authorizes requsts from build agents to access the queue. diff --git a/router/middleware/session/repo.go b/router/middleware/session/repo.go index 55a8bf638..2f5fcf17b 100644 --- a/router/middleware/session/repo.go +++ b/router/middleware/session/repo.go @@ -18,9 +18,9 @@ import ( "net/http" "time" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote" - "github.com/laszlocph/woodpecker/store" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/store" "github.com/gin-gonic/gin" log "github.com/sirupsen/logrus" diff --git a/router/middleware/session/user.go b/router/middleware/session/user.go index 25ee9646b..f036d8211 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/woodpecker/model" - "github.com/laszlocph/woodpecker/shared/token" - "github.com/laszlocph/woodpecker/store" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/shared/token" + "github.com/woodpecker-ci/woodpecker/store" "github.com/gin-gonic/gin" ) diff --git a/router/middleware/store.go b/router/middleware/store.go index 5dcafec87..f51c4b449 100644 --- a/router/middleware/store.go +++ b/router/middleware/store.go @@ -15,7 +15,7 @@ package middleware import ( - "github.com/laszlocph/woodpecker/store" + "github.com/woodpecker-ci/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 4cbde66d5..0ed8d241f 100644 --- a/router/middleware/token/token.go +++ b/router/middleware/token/token.go @@ -17,9 +17,9 @@ package token import ( "time" - "github.com/laszlocph/woodpecker/remote" - "github.com/laszlocph/woodpecker/router/middleware/session" - "github.com/laszlocph/woodpecker/store" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/router/middleware/session" + "github.com/woodpecker-ci/woodpecker/store" "github.com/gin-gonic/gin" log "github.com/sirupsen/logrus" diff --git a/router/middleware/version.go b/router/middleware/version.go index 1a3c566c9..5fa390541 100644 --- a/router/middleware/version.go +++ b/router/middleware/version.go @@ -16,7 +16,7 @@ package middleware import ( "github.com/gin-gonic/gin" - "github.com/laszlocph/woodpecker/version" + "github.com/woodpecker-ci/woodpecker/version" ) // Version is a middleware function that appends the Drone version information diff --git a/router/router.go b/router/router.go index 7e2125270..a69578726 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/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" + "github.com/woodpecker-ci/woodpecker/router/middleware/header" + "github.com/woodpecker-ci/woodpecker/router/middleware/session" + "github.com/woodpecker-ci/woodpecker/router/middleware/token" + "github.com/woodpecker-ci/woodpecker/server" + "github.com/woodpecker-ci/woodpecker/server/debug" + "github.com/woodpecker-ci/woodpecker/server/metrics" + "github.com/woodpecker-ci/woodpecker/server/web" ) // Load loads the router diff --git a/server/badge.go b/server/badge.go index b48dfb6fa..f9bcc9bab 100644 --- a/server/badge.go +++ b/server/badge.go @@ -20,9 +20,9 @@ import ( "github.com/gin-gonic/gin" log "github.com/sirupsen/logrus" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/shared/httputil" - "github.com/laszlocph/woodpecker/store" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/shared/httputil" + "github.com/woodpecker-ci/woodpecker/store" ) var ( diff --git a/server/build.go b/server/build.go index 236223224..1ca2b027d 100644 --- a/server/build.go +++ b/server/build.go @@ -25,14 +25,14 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/laszlocph/woodpecker/cncd/queue" - "github.com/laszlocph/woodpecker/remote" - "github.com/laszlocph/woodpecker/shared/httputil" - "github.com/laszlocph/woodpecker/store" + "github.com/woodpecker-ci/woodpecker/cncd/queue" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/shared/httputil" + "github.com/woodpecker-ci/woodpecker/store" "github.com/sirupsen/logrus" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/router/middleware/session" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/router/middleware/session" ) func GetBuilds(c *gin.Context) { diff --git a/server/buildStatus_test.go b/server/buildStatus_test.go index f987009bd..7318b757c 100644 --- a/server/buildStatus_test.go +++ b/server/buildStatus_test.go @@ -19,7 +19,7 @@ import ( "testing" "time" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) type mockUpdateBuildStore struct { diff --git a/server/builsStatus.go b/server/builsStatus.go index b03b91736..88eb31b7d 100644 --- a/server/builsStatus.go +++ b/server/builsStatus.go @@ -17,7 +17,7 @@ package server import ( "time" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) type UpdateBuildStore interface { diff --git a/server/configFetcher.go b/server/configFetcher.go index 53e782de1..a20eeabf5 100644 --- a/server/configFetcher.go +++ b/server/configFetcher.go @@ -4,8 +4,8 @@ import ( "strings" "time" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" ) type configFetcher struct { diff --git a/server/configFetcher_test.go b/server/configFetcher_test.go index 9d6d1a25a..ac11ff880 100644 --- a/server/configFetcher_test.go +++ b/server/configFetcher_test.go @@ -3,8 +3,8 @@ package server import ( "testing" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote/github" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote/github" ) func TestFetchGithub(t *testing.T) { diff --git a/server/file.go b/server/file.go index efa497761..ee114aca5 100644 --- a/server/file.go +++ b/server/file.go @@ -21,8 +21,8 @@ import ( "strings" "github.com/gin-gonic/gin" - "github.com/laszlocph/woodpecker/router/middleware/session" - "github.com/laszlocph/woodpecker/store" + "github.com/woodpecker-ci/woodpecker/router/middleware/session" + "github.com/woodpecker-ci/woodpecker/store" ) // FileList gets a list file by build. diff --git a/server/hook.go b/server/hook.go index d661c4782..1485a9b29 100644 --- a/server/hook.go +++ b/server/hook.go @@ -27,17 +27,17 @@ import ( "github.com/gin-gonic/gin" - "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/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/shared/httputil" + "github.com/woodpecker-ci/woodpecker/shared/token" + "github.com/woodpecker-ci/woodpecker/store" "github.com/sirupsen/logrus" - "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" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/rpc" + "github.com/woodpecker-ci/woodpecker/cncd/pubsub" + "github.com/woodpecker-ci/woodpecker/cncd/queue" ) var skipRe = regexp.MustCompile(`\[(?i:ci *skip|skip *ci)\]`) diff --git a/server/login.go b/server/login.go index 241252468..abe0f1d88 100644 --- a/server/login.go +++ b/server/login.go @@ -20,11 +20,11 @@ import ( "time" "github.com/gorilla/securecookie" - "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/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/shared/httputil" + "github.com/woodpecker-ci/woodpecker/shared/token" + "github.com/woodpecker-ci/woodpecker/store" "github.com/gin-gonic/gin" "github.com/sirupsen/logrus" diff --git a/server/metrics/prometheus.go b/server/metrics/prometheus.go index 9f6dbb01c..7bc9a995f 100644 --- a/server/metrics/prometheus.go +++ b/server/metrics/prometheus.go @@ -19,7 +19,7 @@ import ( "fmt" "github.com/gin-gonic/gin" - "github.com/laszlocph/woodpecker/server" + "github.com/woodpecker-ci/woodpecker/server" "github.com/prometheus/client_golang/prometheus/promhttp" ) diff --git a/server/procBuilder.go b/server/procBuilder.go index f606f70d2..518ab2b07 100644 --- a/server/procBuilder.go +++ b/server/procBuilder.go @@ -22,14 +22,14 @@ import ( "strings" "github.com/drone/envsubst" - "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" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/backend" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml/compiler" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml/linter" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/frontend/yaml/matrix" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/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 c2eecc898..02a906b65 100644 --- a/server/procBuilder_test.go +++ b/server/procBuilder_test.go @@ -18,8 +18,8 @@ import ( "fmt" "testing" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" ) func TestMultilineEnvsubst(t *testing.T) { diff --git a/server/procStatus.go b/server/procStatus.go index 6808a070f..f5866fa19 100644 --- a/server/procStatus.go +++ b/server/procStatus.go @@ -17,8 +17,8 @@ package server import ( "time" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/rpc" + "github.com/woodpecker-ci/woodpecker/model" ) type UpdateProcStore interface { diff --git a/server/procStatus_test.go b/server/procStatus_test.go index 64cf8011a..548ad84ec 100644 --- a/server/procStatus_test.go +++ b/server/procStatus_test.go @@ -18,8 +18,8 @@ import ( "testing" "time" - "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/rpc" + "github.com/woodpecker-ci/woodpecker/model" ) type mockUpdateProcStore struct { diff --git a/server/registry.go b/server/registry.go index 5e5b06575..616f423f7 100644 --- a/server/registry.go +++ b/server/registry.go @@ -17,8 +17,8 @@ package server import ( "net/http" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/router/middleware/session" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/router/middleware/session" "github.com/gin-gonic/gin" ) diff --git a/server/repo.go b/server/repo.go index 0824751a0..0288cb919 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/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" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/router/middleware/session" + "github.com/woodpecker-ci/woodpecker/shared/httputil" + "github.com/woodpecker-ci/woodpecker/shared/token" + "github.com/woodpecker-ci/woodpecker/store" ) func PostRepo(c *gin.Context) { diff --git a/server/rpc.go b/server/rpc.go index dab240f7f..2c807666e 100644 --- a/server/rpc.go +++ b/server/rpc.go @@ -27,18 +27,18 @@ import ( "google.golang.org/grpc/metadata" - "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/woodpecker-ci/woodpecker/cncd/logging" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/rpc" + "github.com/woodpecker-ci/woodpecker/cncd/pipeline/pipeline/rpc/proto" + "github.com/woodpecker-ci/woodpecker/cncd/pubsub" + "github.com/woodpecker-ci/woodpecker/cncd/queue" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" "github.com/sirupsen/logrus" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote" - "github.com/laszlocph/woodpecker/store" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/store" "github.com/drone/expr" ) diff --git a/server/secret.go b/server/secret.go index c4e6cfee3..ce7abde6e 100644 --- a/server/secret.go +++ b/server/secret.go @@ -17,8 +17,8 @@ package server import ( "net/http" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/router/middleware/session" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/router/middleware/session" "github.com/gin-gonic/gin" ) diff --git a/server/stream.go b/server/stream.go index afc93abe2..515745f45 100644 --- a/server/stream.go +++ b/server/stream.go @@ -22,11 +22,11 @@ import ( "strconv" "time" - "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/woodpecker-ci/woodpecker/cncd/logging" + "github.com/woodpecker-ci/woodpecker/cncd/pubsub" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/router/middleware/session" + "github.com/woodpecker-ci/woodpecker/store" "github.com/gin-gonic/gin" "github.com/sirupsen/logrus" diff --git a/server/swagger/swagger.go b/server/swagger/swagger.go index 659a6d03d..2a3791749 100644 --- a/server/swagger/swagger.go +++ b/server/swagger/swagger.go @@ -17,7 +17,7 @@ package swagger import ( "net/http" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) // swagger:route GET /users/{login} user getUser diff --git a/server/sync.go b/server/sync.go index 0c1e5537f..6ecf64e52 100644 --- a/server/sync.go +++ b/server/sync.go @@ -17,9 +17,9 @@ package server import ( "time" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/remote" - "github.com/laszlocph/woodpecker/store" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/store" ) // Syncer synces the user repository and permissions. diff --git a/server/user.go b/server/user.go index deefbbc52..24945990c 100644 --- a/server/user.go +++ b/server/user.go @@ -24,11 +24,11 @@ import ( "github.com/gorilla/securecookie" "github.com/sirupsen/logrus" - "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" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/remote" + "github.com/woodpecker-ci/woodpecker/router/middleware/session" + "github.com/woodpecker-ci/woodpecker/shared/token" + "github.com/woodpecker-ci/woodpecker/store" ) func GetSelf(c *gin.Context) { diff --git a/server/users.go b/server/users.go index 4475a0dfa..c2335e960 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/woodpecker/model" - "github.com/laszlocph/woodpecker/store" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/store" ) func GetUsers(c *gin.Context) { diff --git a/server/web/web.go b/server/web/web.go index f83d72196..9faa9e5e5 100644 --- a/server/web/web.go +++ b/server/web/web.go @@ -24,10 +24,10 @@ import ( "path/filepath" "time" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/shared/token" - "github.com/laszlocph/woodpecker/version" - "github.com/laszlocph/woodpecker/web/dist" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/shared/token" + "github.com/woodpecker-ci/woodpecker/version" + "github.com/woodpecker-ci/woodpecker/web/dist" "github.com/dimfeld/httptreemux" ) diff --git a/server/z.go b/server/z.go index e7e35ced0..93032cc5f 100644 --- a/server/z.go +++ b/server/z.go @@ -16,8 +16,8 @@ package server import ( "github.com/gin-gonic/gin" - "github.com/laszlocph/woodpecker/store" - "github.com/laszlocph/woodpecker/version" + "github.com/woodpecker-ci/woodpecker/store" + "github.com/woodpecker-ci/woodpecker/version" ) // Health endpoint returns a 500 if the server state is unhealthy. @@ -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/woodpecker", + "source": "https://github.com/woodpecker-ci/woodpecker", "version": version.String(), }) } diff --git a/store/datastore/builds.go b/store/datastore/builds.go index a8ceb6041..92a58e1e2 100644 --- a/store/datastore/builds.go +++ b/store/datastore/builds.go @@ -18,8 +18,8 @@ import ( "fmt" "time" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/store/datastore/sql" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/builds_test.go b/store/datastore/builds_test.go index 687774d87..5349b629a 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/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) func TestBuilds(t *testing.T) { diff --git a/store/datastore/config.go b/store/datastore/config.go index bc9d246bd..43e5e1ce5 100644 --- a/store/datastore/config.go +++ b/store/datastore/config.go @@ -17,8 +17,8 @@ package datastore import ( gosql "database/sql" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/store/datastore/sql" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/config_test.go b/store/datastore/config_test.go index 513084bb2..965d18e39 100644 --- a/store/datastore/config_test.go +++ b/store/datastore/config_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) func TestConfig(t *testing.T) { diff --git a/store/datastore/ddl/migrate.go b/store/datastore/ddl/migrate.go index 0aca92e30..cbef1e184 100644 --- a/store/datastore/ddl/migrate.go +++ b/store/datastore/ddl/migrate.go @@ -18,9 +18,9 @@ import ( "database/sql" "errors" - "github.com/laszlocph/woodpecker/store/datastore/ddl/mysql" - "github.com/laszlocph/woodpecker/store/datastore/ddl/postgres" - "github.com/laszlocph/woodpecker/store/datastore/ddl/sqlite" + "github.com/woodpecker-ci/woodpecker/store/datastore/ddl/mysql" + "github.com/woodpecker-ci/woodpecker/store/datastore/ddl/postgres" + "github.com/woodpecker-ci/woodpecker/store/datastore/ddl/sqlite" ) // Supported database drivers diff --git a/store/datastore/files.go b/store/datastore/files.go index dad4d9358..b66f14a13 100644 --- a/store/datastore/files.go +++ b/store/datastore/files.go @@ -19,8 +19,8 @@ import ( "io" "io/ioutil" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/store/datastore/sql" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/files_test.go b/store/datastore/files_test.go index a44dd919f..422ba00d9 100644 --- a/store/datastore/files_test.go +++ b/store/datastore/files_test.go @@ -19,7 +19,7 @@ import ( "io/ioutil" "testing" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) func TestFileFind(t *testing.T) { diff --git a/store/datastore/logs.go b/store/datastore/logs.go index 395990971..36528098e 100644 --- a/store/datastore/logs.go +++ b/store/datastore/logs.go @@ -19,8 +19,8 @@ import ( "io" "io/ioutil" - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/store/datastore/sql" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/logs_test.go b/store/datastore/logs_test.go index 70861bcc4..fc2148a72 100644 --- a/store/datastore/logs_test.go +++ b/store/datastore/logs_test.go @@ -19,7 +19,7 @@ import ( "io/ioutil" "testing" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) func TestLogCreateFind(t *testing.T) { diff --git a/store/datastore/perms.go b/store/datastore/perms.go index dc0e407be..bf7d718ff 100644 --- a/store/datastore/perms.go +++ b/store/datastore/perms.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/store/datastore/sql" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/perms_test.go b/store/datastore/perms_test.go index 9c474fd74..f6d1a5e72 100644 --- a/store/datastore/perms_test.go +++ b/store/datastore/perms_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) func TestPermFind(t *testing.T) { diff --git a/store/datastore/procs.go b/store/datastore/procs.go index c7b78ad43..2cbba4dda 100644 --- a/store/datastore/procs.go +++ b/store/datastore/procs.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/store/datastore/sql" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/procs_test.go b/store/datastore/procs_test.go index b8f1e7dc8..35298c795 100644 --- a/store/datastore/procs_test.go +++ b/store/datastore/procs_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) func TestProcFind(t *testing.T) { diff --git a/store/datastore/registry.go b/store/datastore/registry.go index 285957508..c4c67b158 100644 --- a/store/datastore/registry.go +++ b/store/datastore/registry.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/store/datastore/sql" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/registry_test.go b/store/datastore/registry_test.go index edddeea14..7f36be216 100644 --- a/store/datastore/registry_test.go +++ b/store/datastore/registry_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) func TestRegistryFind(t *testing.T) { diff --git a/store/datastore/repos.go b/store/datastore/repos.go index e059f3cba..0b7966a65 100644 --- a/store/datastore/repos.go +++ b/store/datastore/repos.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/store/datastore/sql" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/repos_test.go b/store/datastore/repos_test.go index 9f7b909a3..6c02bdebb 100644 --- a/store/datastore/repos_test.go +++ b/store/datastore/repos_test.go @@ -18,7 +18,7 @@ import ( "testing" "github.com/franela/goblin" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) func TestRepos(t *testing.T) { diff --git a/store/datastore/secret.go b/store/datastore/secret.go index 2378fe15a..ad49a3c3b 100644 --- a/store/datastore/secret.go +++ b/store/datastore/secret.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/store/datastore/sql" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/secret_test.go b/store/datastore/secret_test.go index 9ee03654b..259f37421 100644 --- a/store/datastore/secret_test.go +++ b/store/datastore/secret_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) func TestSecretFind(t *testing.T) { diff --git a/store/datastore/sender.go b/store/datastore/sender.go index e2d338180..1ebb03e5e 100644 --- a/store/datastore/sender.go +++ b/store/datastore/sender.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/store/datastore/sql" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/sender_test.go b/store/datastore/sender_test.go index b72519300..1910f1090 100644 --- a/store/datastore/sender_test.go +++ b/store/datastore/sender_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) func TestSenderFind(t *testing.T) { diff --git a/store/datastore/sql/lookup.go b/store/datastore/sql/lookup.go index 4ef888c80..2655124ca 100644 --- a/store/datastore/sql/lookup.go +++ b/store/datastore/sql/lookup.go @@ -15,9 +15,9 @@ package sql import ( - "github.com/laszlocph/woodpecker/store/datastore/sql/mysql" - "github.com/laszlocph/woodpecker/store/datastore/sql/postgres" - "github.com/laszlocph/woodpecker/store/datastore/sql/sqlite" + "github.com/woodpecker-ci/woodpecker/store/datastore/sql/mysql" + "github.com/woodpecker-ci/woodpecker/store/datastore/sql/postgres" + "github.com/woodpecker-ci/woodpecker/store/datastore/sql/sqlite" ) // Supported database drivers diff --git a/store/datastore/store.go b/store/datastore/store.go index e47baa007..72d0ccb8e 100644 --- a/store/datastore/store.go +++ b/store/datastore/store.go @@ -19,8 +19,8 @@ import ( "os" "time" - "github.com/laszlocph/woodpecker/store" - "github.com/laszlocph/woodpecker/store/datastore/ddl" + "github.com/woodpecker-ci/woodpecker/store" + "github.com/woodpecker-ci/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 e79ba8e8d..5460a486d 100644 --- a/store/datastore/task.go +++ b/store/datastore/task.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/store/datastore/sql" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/task_test.go b/store/datastore/task_test.go index 0fab63829..5bd886df8 100644 --- a/store/datastore/task_test.go +++ b/store/datastore/task_test.go @@ -17,7 +17,7 @@ package datastore import ( "testing" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) func TestTaskList(t *testing.T) { diff --git a/store/datastore/users.go b/store/datastore/users.go index 9485e9582..f2dd4b7f4 100644 --- a/store/datastore/users.go +++ b/store/datastore/users.go @@ -15,8 +15,8 @@ package datastore import ( - "github.com/laszlocph/woodpecker/model" - "github.com/laszlocph/woodpecker/store/datastore/sql" + "github.com/woodpecker-ci/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/store/datastore/sql" "github.com/russross/meddler" ) diff --git a/store/datastore/users_test.go b/store/datastore/users_test.go index 7ba76c9d0..79740a8d9 100644 --- a/store/datastore/users_test.go +++ b/store/datastore/users_test.go @@ -18,7 +18,7 @@ import ( "testing" "github.com/franela/goblin" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" ) func TestUsers(t *testing.T) { diff --git a/store/store.go b/store/store.go index 52cd13dcb..0f3db06ac 100644 --- a/store/store.go +++ b/store/store.go @@ -17,7 +17,7 @@ package store import ( "io" - "github.com/laszlocph/woodpecker/model" + "github.com/woodpecker-ci/woodpecker/model" "golang.org/x/net/context" )