1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00

Project is renamed to Woodpecker

This commit is contained in:
Laszlo Fogas 2019-08-27 13:01:29 +02:00
parent 7d43fa2c66
commit 630c383181
189 changed files with 431 additions and 431 deletions

22
.cli.sh
View File

@ -6,18 +6,18 @@ set -x
export CGO_ENABLED=0
# compile for all architectures
GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/amd64/drone github.com/laszlocph/drone-oss-08/cli/drone
GOOS=linux GOARCH=arm64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm64/drone github.com/laszlocph/drone-oss-08/cli/drone
GOOS=linux GOARCH=arm go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm/drone github.com/laszlocph/drone-oss-08/cli/drone
GOOS=windows GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/windows/amd64/drone github.com/laszlocph/drone-oss-08/cli/drone
GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/darwin/amd64/drone github.com/laszlocph/drone-oss-08/cli/drone
GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/amd64/woodpecker github.com/laszlocph/woodpecker/cli/woodpecker
GOOS=linux GOARCH=arm64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm64/woodpecker github.com/laszlocph/woodpecker/cli/woodpecker
GOOS=linux GOARCH=arm go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/linux/arm/woodpecker github.com/laszlocph/woodpecker/cli/woodpecker
GOOS=windows GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/windows/amd64/woodpecker github.com/laszlocph/woodpecker/cli/woodpecker
GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.version=${DRONE_TAG##v}" -o cli/release/darwin/amd64/woodpecker github.com/laszlocph/woodpecker/cli/woodpecker
# tar binary files prior to upload
tar -cvzf cli/release/drone_linux_amd64.tar.gz -C cli/release/linux/amd64 drone
tar -cvzf cli/release/drone_linux_arm64.tar.gz -C cli/release/linux/arm64 drone
tar -cvzf cli/release/drone_linux_arm.tar.gz -C cli/release/linux/arm drone
tar -cvzf cli/release/drone_windows_amd64.tar.gz -C cli/release/windows/amd64 drone
tar -cvzf cli/release/drone_darwin_amd64.tar.gz -C cli/release/darwin/amd64 drone
tar -cvzf cli/release/woodpecker_linux_amd64.tar.gz -C cli/release/linux/amd64 woodpecker
tar -cvzf cli/release/woodpecker_linux_arm64.tar.gz -C cli/release/linux/arm64 woodpecker
tar -cvzf cli/release/woodpecker_linux_arm.tar.gz -C cli/release/linux/arm woodpecker
tar -cvzf cli/release/woodpecker_windows_amd64.tar.gz -C cli/release/windows/amd64 woodpecker
tar -cvzf cli/release/woodpecker_darwin_amd64.tar.gz -C cli/release/darwin/amd64 woodpecker
# generate shas for tar files
sha256sum cli/release/*.tar.gz > cli/release/drone_checksums.txt
sha256sum cli/release/*.tar.gz > cli/release/woodpecker_checksums.txt

View File

@ -3,7 +3,7 @@
set -e
set -x
go build -ldflags '-extldflags "-static" -X github.com/laszlocph/drone-oss-08/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/drone-server github.com/laszlocph/drone-oss-08/cmd/drone-server
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-X github.com/laszlocph/drone-oss-08/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/drone-agent github.com/laszlocph/drone-oss-08/cmd/drone-agent
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '-X github.com/laszlocph/drone-oss-08/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/linux/arm64/drone-agent github.com/laszlocph/drone-oss-08/cmd/drone-agent
GOOS=linux GOARCH=arm CGO_ENABLED=0 GOARM=7 go build -ldflags '-X github.com/laszlocph/drone-oss-08/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/linux/arm/drone-agent github.com/laszlocph/drone-oss-08/cmd/drone-agent
go build -ldflags '-extldflags "-static" -X github.com/laszlocph/woodpecker/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/drone-server github.com/laszlocph/woodpecker/cmd/drone-server
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-X github.com/laszlocph/woodpecker/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags '-X github.com/laszlocph/woodpecker/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/linux/arm64/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent
GOOS=linux GOARCH=arm CGO_ENABLED=0 GOARM=7 go build -ldflags '-X github.com/laszlocph/woodpecker/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -o release/linux/arm/drone-agent github.com/laszlocph/woodpecker/cmd/drone-agent

View File

@ -4,7 +4,7 @@ clone:
workspace:
base: /go
path: src/github.com/laszlocph/drone-oss-08
path: src/github.com/laszlocph/woodpecker
pipeline:
test:
@ -23,7 +23,7 @@ pipeline:
- DATABASE_DRIVER=postgres
- DATABASE_CONFIG=host=postgres user=postgres dbname=postgres sslmode=disable
commands:
- go test github.com/laszlocph/drone-oss-08/store/datastore
- go test github.com/laszlocph/woodpecker/store/datastore
test_mysql:
image: golang:1.12.4
@ -31,7 +31,7 @@ pipeline:
- DATABASE_DRIVER=mysql
- DATABASE_CONFIG=root@tcp(mysql:3306)/test?parseTime=true
commands:
- go test github.com/laszlocph/drone-oss-08/store/datastore
- go test github.com/laszlocph/woodpecker/store/datastore
build:
image: golang:1.12.4
@ -41,7 +41,7 @@ pipeline:
publish_server_alpine:
image: plugins/docker
repo: laszlocloud/drone-oss-08-server
repo: laszlocloud/woodpecker-server
dockerfile: Dockerfile.alpine
secrets: [ docker_username, docker_password ]
tag: [ alpine ]
@ -51,7 +51,7 @@ pipeline:
publish_server:
image: plugins/docker
repo: laszlocloud/drone-oss-08-server
repo: laszlocloud/woodpecker-server
secrets: [ docker_username, docker_password ]
tag: [ latest ]
when:
@ -60,7 +60,7 @@ pipeline:
publish_agent:
image: plugins/docker
repo: laszlocloud/drone-oss-08-agent
repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent
secrets: [ docker_username, docker_password ]
tag: [ latest ]
@ -70,7 +70,7 @@ pipeline:
publish_agent_alpine:
image: plugins/docker
repo: laszlocloud/drone-oss-08-agent
repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent.alpine
secrets: [ docker_username, docker_password ]
tag: [ alpine ]
@ -80,7 +80,7 @@ pipeline:
publish_agent_arm:
image: plugins/docker
repo: laszlocloud/drone-oss-08-agent
repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent.linux.arm
secrets: [ docker_username, docker_password ]
tag: [ linux-arm ]
@ -90,7 +90,7 @@ pipeline:
publish_agent_arm64:
image: plugins/docker
repo: laszlocloud/drone-oss-08-agent
repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent.linux.arm64
secrets: [ docker_username, docker_password ]
tag: [ linux-arm64 ]
@ -100,7 +100,7 @@ pipeline:
publish_agent_amd64:
image: plugins/docker
repo: laszlocloud/drone-oss-08-agent
repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent
secrets: [ docker_username, docker_password ]
tag: [ latest ]
@ -110,7 +110,7 @@ pipeline:
release_server_alpine:
image: plugins/docker
repo: laszlocloud/drone-oss-08-server
repo: laszlocloud/woodpecker-server
dockerfile: Dockerfile.alpine
secrets: [ docker_username, docker_password ]
tag: "${DRONE_TAG}-alpine"
@ -119,7 +119,7 @@ pipeline:
release_agent_alpine:
image: plugins/docker
repo: laszlocloud/drone-oss-08-agent
repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent.alpine
secrets: [ docker_username, docker_password ]
tag: "${DRONE_TAG}-alpine"
@ -128,7 +128,7 @@ pipeline:
release_server:
image: plugins/docker
repo: laszlocloud/drone-oss-08-server
repo: laszlocloud/woodpecker-server
secrets: [ docker_username, docker_password ]
tag: ${DRONE_TAG}
when:
@ -136,7 +136,7 @@ pipeline:
release_agent:
image: plugins/docker
repo: laszlocloud/drone-oss-08-agent
repo: laszlocloud/woodpecker-agent
dockerfile: Dockerfile.agent
secrets: [ docker_username, docker_password ]
tag: ${DRONE_TAG}

View File

@ -8,8 +8,8 @@
3. Install binaries to $GOPATH/bin
go install github.com/laszlocph/drone-oss-08/cmd/drone-agent
go install github.com/laszlocph/drone-oss-08/cmd/drone-server
go install github.com/laszlocph/woodpecker/cmd/drone-agent
go install github.com/laszlocph/woodpecker/cmd/drone-server
---

View File

@ -1,3 +1,3 @@
Drone-OSS-08 is Apache 2.0 licensed with the source files in this repository having a header indicating which license they are under and what copyrights apply.
Woodpecker is Apache 2.0 licensed with the source files in this repository having a header indicating which license they are under and what copyrights apply.
Files under the `docs/` folder is licensed under Creative Commons Attribution-ShareAlike 4.0 International Public License. It is a derivative work of the https://github.com/drone/docs git repository.

View File

@ -5,9 +5,9 @@ An opinionated fork of the Drone CI system.
- Based on the v0.8 code tree
- Focused on developer experience.
[![Build Status](https://cloud.drone.io/api/badges/laszlocph/drone-oss-08/status.svg)](https://cloud.drone.io/laszlocph/drone-oss-08) [![Go Report Card](https://goreportcard.com/badge/github.com/laszlocph/drone-oss-08)](https://goreportcard.com/report/github.com/laszlocph/drone-oss-08) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Build Status](https://cloud.drone.io/api/badges/laszlocph/woodpecker/status.svg)](https://cloud.drone.io/laszlocph/woodpecker) [![Go Report Card](https://goreportcard.com/badge/github.com/laszlocph/woodpecker)](https://goreportcard.com/report/github.com/laszlocph/woodpecker) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
![Drone-OSS-08](docs/drone.png)
![woodpecker](docs/drone.png)
## Table of contents
@ -315,12 +315,12 @@ See the [proxy guide](docs/administration/proxy.md) if you want to see a setup b
## Contributing
Drone-OSS-08 is Apache 2.0 licensed and accepts contributions via GitHub pull requests.
woodpecker is Apache 2.0 licensed and accepts contributions via GitHub pull requests.
[How to build the project]()
## License
Drone-OSS-08 is Apache 2.0 licensed with the source files in this repository having a header indicating which license they are under and what copyrights apply.
woodpecker is Apache 2.0 licensed with the source files in this repository having a header indicating which license they are under and what copyrights apply.
Files under the `docs/` folder is licensed under Creative Commons Attribution-ShareAlike 4.0 International Public License. It is a derivative work of the https://github.com/drone/docs git repository.

View File

@ -4,7 +4,7 @@ import (
"fmt"
"strconv"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -4,7 +4,7 @@ import (
"fmt"
"strconv"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -5,7 +5,7 @@ import (
"strconv"
"text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -4,7 +4,7 @@ import (
"fmt"
"strconv"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -4,7 +4,7 @@ import (
"os"
"text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -4,7 +4,7 @@ import (
"os"
"text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -5,7 +5,7 @@ import (
"strconv"
"text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -5,7 +5,7 @@ import (
"os"
"text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -5,7 +5,7 @@ import (
"fmt"
"strconv"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -4,7 +4,7 @@ import (
"fmt"
"strconv"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -6,8 +6,8 @@ import (
"os"
"strconv"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/drone-oss-08/drone-go/drone"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/laszlocph/woodpecker/drone-go/drone"
"github.com/urfave/cli"
)

View File

@ -11,15 +11,15 @@ import (
"strings"
"time"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend/docker"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/compiler"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/linter"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/interrupt"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/compiler"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/linter"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
"github.com/drone/envsubst"
"github.com/urfave/cli"

View File

@ -6,7 +6,7 @@ import (
"github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
)
// Command exports the info command.

View File

@ -11,7 +11,7 @@ import (
"golang.org/x/net/proxy"
"golang.org/x/oauth2"
"github.com/laszlocph/drone-oss-08/drone-go/drone"
"github.com/laszlocph/woodpecker/drone-go/drone"
)
// NewClient returns a new client from the CLI context.

View File

@ -4,7 +4,7 @@ import (
"fmt"
"strconv"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -4,15 +4,15 @@ import (
"fmt"
"os"
"github.com/laszlocph/drone-oss-08/cli/drone/build"
"github.com/laszlocph/drone-oss-08/cli/drone/deploy"
"github.com/laszlocph/drone-oss-08/cli/drone/exec"
"github.com/laszlocph/drone-oss-08/cli/drone/info"
"github.com/laszlocph/drone-oss-08/cli/drone/log"
"github.com/laszlocph/drone-oss-08/cli/drone/registry"
"github.com/laszlocph/drone-oss-08/cli/drone/repo"
"github.com/laszlocph/drone-oss-08/cli/drone/secret"
"github.com/laszlocph/drone-oss-08/cli/drone/user"
"github.com/laszlocph/woodpecker/cli/drone/build"
"github.com/laszlocph/woodpecker/cli/drone/deploy"
"github.com/laszlocph/woodpecker/cli/drone/exec"
"github.com/laszlocph/woodpecker/cli/drone/info"
"github.com/laszlocph/woodpecker/cli/drone/log"
"github.com/laszlocph/woodpecker/cli/drone/registry"
"github.com/laszlocph/woodpecker/cli/drone/repo"
"github.com/laszlocph/woodpecker/cli/drone/secret"
"github.com/laszlocph/woodpecker/cli/drone/user"
_ "github.com/joho/godotenv/autoload"
"github.com/urfave/cli"

View File

@ -4,8 +4,8 @@ import (
"io/ioutil"
"strings"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/drone-oss-08/drone-go/drone"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/laszlocph/woodpecker/drone-go/drone"
"github.com/urfave/cli"
)

View File

@ -4,7 +4,7 @@ import (
"html/template"
"os"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -6,7 +6,7 @@ import (
"github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
)
var registryListCmd = cli.Command{

View File

@ -1,7 +1,7 @@
package registry
import (
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -4,8 +4,8 @@ import (
"io/ioutil"
"strings"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/drone-oss-08/drone-go/drone"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/laszlocph/woodpecker/drone-go/drone"
"github.com/urfave/cli"
)

View File

@ -3,7 +3,7 @@ package repo
import (
"fmt"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -3,7 +3,7 @@ package repo
import (
"fmt"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -4,7 +4,7 @@ import (
"os"
"text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -4,7 +4,7 @@ import (
"os"
"text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -1,7 +1,7 @@
package repo
import (
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -3,7 +3,7 @@ package repo
import (
"fmt"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -4,7 +4,7 @@ import (
"os"
"text/template"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/urfave/cli"
)

View File

@ -4,8 +4,8 @@ import (
"fmt"
"time"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/drone-oss-08/drone-go/drone"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/laszlocph/woodpecker/drone-go/drone"
"github.com/urfave/cli"
)

View File

@ -4,8 +4,8 @@ import (
"io/ioutil"
"strings"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/drone-oss-08/drone-go/drone"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/laszlocph/woodpecker/drone-go/drone"
"github.com/urfave/cli"
)

View File

@ -6,7 +6,7 @@ import (
"github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
)
var secretInfoCmd = cli.Command{

View File

@ -7,7 +7,7 @@ import (
"github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
)
var secretListCmd = cli.Command{

View File

@ -3,7 +3,7 @@ package secret
import (
"github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
)
var secretDeleteCmd = cli.Command{

View File

@ -4,8 +4,8 @@ import (
"io/ioutil"
"strings"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/drone-oss-08/drone-go/drone"
"github.com/laszlocph/woodpecker/cli/drone/internal"
"github.com/laszlocph/woodpecker/drone-go/drone"
"github.com/urfave/cli"
)

View File

@ -3,10 +3,10 @@ package user
import (
"fmt"
"github.com/laszlocph/drone-oss-08/drone-go/drone"
"github.com/laszlocph/woodpecker/drone-go/drone"
"github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
)
var userAddCmd = cli.Command{

View File

@ -7,7 +7,7 @@ import (
"github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
)
var userInfoCmd = cli.Command{

View File

@ -6,7 +6,7 @@ import (
"github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
)
var userListCmd = cli.Command{

View File

@ -5,7 +5,7 @@ import (
"github.com/urfave/cli"
"github.com/laszlocph/drone-oss-08/cli/drone/internal"
"github.com/laszlocph/woodpecker/cli/drone/internal"
)
var userRemoveCmd = cli.Command{

View File

@ -29,11 +29,11 @@ import (
"google.golang.org/grpc/keepalive"
"google.golang.org/grpc/metadata"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend/docker"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc"
"github.com/drone/signal"
"github.com/rs/zerolog"

View File

@ -22,7 +22,7 @@ import (
"sync"
"time"
"github.com/laszlocph/drone-oss-08/version"
"github.com/laszlocph/woodpecker/version"
"github.com/urfave/cli"
)
@ -48,7 +48,7 @@ func handleVersion(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(200)
w.Header().Add("Content-Type", "text/json")
json.NewEncoder(w).Encode(versionResp{
Source: "https://github.com/laszlocph/drone-oss-08",
Source: "https://github.com/laszlocph/woodpecker",
Version: version.Version.String(),
})
}

View File

@ -19,7 +19,7 @@ import (
"os"
"time"
"github.com/laszlocph/drone-oss-08/version"
"github.com/laszlocph/woodpecker/version"
_ "github.com/joho/godotenv/autoload"
"github.com/urfave/cli"

View File

@ -18,7 +18,7 @@ import (
"fmt"
"os"
"github.com/laszlocph/drone-oss-08/version"
"github.com/laszlocph/woodpecker/version"
_ "github.com/joho/godotenv/autoload"
"github.com/urfave/cli"

View File

@ -33,15 +33,15 @@ import (
"golang.org/x/crypto/acme/autocert"
"golang.org/x/sync/errgroup"
"github.com/laszlocph/drone-oss-08/cncd/logging"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc/proto"
"github.com/laszlocph/drone-oss-08/cncd/pubsub"
"github.com/laszlocph/drone-oss-08/plugins/sender"
"github.com/laszlocph/drone-oss-08/remote"
"github.com/laszlocph/drone-oss-08/router"
"github.com/laszlocph/drone-oss-08/router/middleware"
droneserver "github.com/laszlocph/drone-oss-08/server"
"github.com/laszlocph/drone-oss-08/store"
"github.com/laszlocph/woodpecker/cncd/logging"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc/proto"
"github.com/laszlocph/woodpecker/cncd/pubsub"
"github.com/laszlocph/woodpecker/plugins/sender"
"github.com/laszlocph/woodpecker/remote"
"github.com/laszlocph/woodpecker/router"
"github.com/laszlocph/woodpecker/router/middleware"
droneserver "github.com/laszlocph/woodpecker/server"
"github.com/laszlocph/woodpecker/store"
"github.com/Sirupsen/logrus"
"github.com/gin-gonic/contrib/ginrus"

View File

@ -19,23 +19,23 @@ import (
"time"
"github.com/dimfeld/httptreemux"
"github.com/laszlocph/drone-oss-08/cncd/queue"
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/drone-oss-08/plugins/registry"
"github.com/laszlocph/drone-oss-08/plugins/secrets"
"github.com/laszlocph/drone-oss-08/remote"
"github.com/laszlocph/drone-oss-08/remote/bitbucket"
"github.com/laszlocph/drone-oss-08/remote/bitbucketserver"
"github.com/laszlocph/drone-oss-08/remote/coding"
"github.com/laszlocph/drone-oss-08/remote/gitea"
"github.com/laszlocph/drone-oss-08/remote/github"
"github.com/laszlocph/drone-oss-08/remote/gitlab"
"github.com/laszlocph/drone-oss-08/remote/gitlab3"
"github.com/laszlocph/drone-oss-08/remote/gogs"
droneserver "github.com/laszlocph/drone-oss-08/server"
"github.com/laszlocph/drone-oss-08/server/web"
"github.com/laszlocph/drone-oss-08/store"
"github.com/laszlocph/drone-oss-08/store/datastore"
"github.com/laszlocph/woodpecker/cncd/queue"
"github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/woodpecker/plugins/registry"
"github.com/laszlocph/woodpecker/plugins/secrets"
"github.com/laszlocph/woodpecker/remote"
"github.com/laszlocph/woodpecker/remote/bitbucket"
"github.com/laszlocph/woodpecker/remote/bitbucketserver"
"github.com/laszlocph/woodpecker/remote/coding"
"github.com/laszlocph/woodpecker/remote/gitea"
"github.com/laszlocph/woodpecker/remote/github"
"github.com/laszlocph/woodpecker/remote/gitlab"
"github.com/laszlocph/woodpecker/remote/gitlab3"
"github.com/laszlocph/woodpecker/remote/gogs"
droneserver "github.com/laszlocph/woodpecker/server"
"github.com/laszlocph/woodpecker/server/web"
"github.com/laszlocph/woodpecker/store"
"github.com/laszlocph/woodpecker/store/datastore"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
"golang.org/x/sync/errgroup"

View File

@ -2,5 +2,5 @@ Go package provides a common interface for storing and streaming logs.
Documentation:
http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/logging
http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/logging/gcp
http://godoc.org/github.com/laszlocph/woodpecker/cncd/logging
http://godoc.org/github.com/laszlocph/woodpecker/cncd/logging/gcp

View File

@ -1,15 +1,15 @@
workspace:
base: /go
path: src/github.com/laszlocph/drone-oss-08/cncd/pipeline
path: src/github.com/laszlocph/woodpecker/cncd/pipeline
pipeline:
install:
image: golang:1.8
commands:
- go install github.com/laszlocph/drone-oss-08/cncd/pipeline/pipec
- go install github.com/laszlocph/drone-oss-08/cncd/pipeline/piped
- go install github.com/laszlocph/woodpecker/cncd/pipeline/pipec
- go install github.com/laszlocph/woodpecker/cncd/pipeline/piped
test:
image: golang:1.8
commands:
- go test -cover github.com/laszlocph/drone-oss-08/cncd/pipeline/...
- go test -cover github.com/laszlocph/woodpecker/cncd/pipeline/...

View File

@ -8,9 +8,9 @@ import (
"path/filepath"
"strings"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/compiler"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/compiler"
"github.com/urfave/cli"
)

View File

@ -8,12 +8,12 @@ import (
"strconv"
"time"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend/docker"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend/kubernetes"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/interrupt"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/kubernetes"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
"github.com/urfave/cli"
)

View File

@ -3,8 +3,8 @@ package main
import (
"fmt"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/linter"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/linter"
"github.com/kr/pretty"
"github.com/urfave/cli"

View File

@ -13,12 +13,12 @@ import (
"sync"
"time"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend/docker"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/interrupt"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend/docker"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc"
_ "github.com/joho/godotenv/autoload"
"github.com/tevino/abool"

View File

@ -7,8 +7,8 @@ import (
"net/url"
"time"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/interrupt"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/interrupt"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc"
_ "github.com/joho/godotenv/autoload"
"github.com/urfave/cli"

View File

@ -6,7 +6,7 @@ import (
"regexp"
"strings"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/docker/docker/api/types/container"
)

View File

@ -5,7 +5,7 @@ import (
"io"
"os"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/network"

View File

@ -3,7 +3,7 @@ package docker
// import (
// "context"
//
// "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
// "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
// )
//
// // Pool manages a pool of Docker clients.

View File

@ -4,7 +4,7 @@ import (
"context"
"io"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
)
type engine struct {

View File

@ -4,7 +4,7 @@ import (
"path"
"strings"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
libcompose "github.com/docker/libcompose/yaml"
)

View File

@ -3,9 +3,9 @@ package compiler
import (
"fmt"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
)
// TODO(bradrydzewski) compiler should handle user-defined volumes from YAML

View File

@ -5,8 +5,8 @@ import (
"path"
"strings"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
)
func (c *Compiler) createProcess(name string, container *yaml.Container, section string) *backend.Step {

View File

@ -6,7 +6,7 @@ import (
"path/filepath"
"strings"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
)
// Option configures a compiler option.

View File

@ -5,7 +5,7 @@ import (
"reflect"
"testing"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
)
func TestWithWorkspace(t *testing.T) {

View File

@ -3,8 +3,8 @@ package yaml
import (
"path/filepath"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml/types"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml/types"
libcompose "github.com/docker/libcompose/yaml"
)

View File

@ -3,7 +3,7 @@ package yaml
import (
"testing"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend"
"gopkg.in/yaml.v2"
)

View File

@ -3,7 +3,7 @@ package linter
import (
"fmt"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
)
const (

View File

@ -3,7 +3,7 @@ package linter
import (
"testing"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/frontend/yaml"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/frontend/yaml"
)
func TestLint(t *testing.T) {

View File

@ -1,8 +1,8 @@
package pipeline
import (
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
)
// Logger handles the process logging.

View File

@ -3,7 +3,7 @@ package pipeline
import (
"context"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
)
// Option configures a runtime option.

View File

@ -6,7 +6,7 @@ import (
"os"
"strings"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
)
// Parse parses the pipeline config from an io.Reader.

View File

@ -6,8 +6,8 @@ import (
"golang.org/x/sync/errgroup"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/multipart"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/multipart"
)
type (

View File

@ -6,8 +6,8 @@ import (
"time"
"log"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc/proto"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc/proto"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"

View File

@ -5,8 +5,8 @@ import (
// "encoding/json"
"time"
// "github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/rpc/proto"
// "github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/rpc/proto"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"

View File

@ -3,7 +3,7 @@ package rpc
import (
"context"
"github.com/laszlocph/drone-oss-08/cncd/pipeline/pipeline/backend"
"github.com/laszlocph/woodpecker/cncd/pipeline/pipeline/backend"
)
// ErrCancelled signals the pipeine is cancelled.

View File

@ -23,7 +23,7 @@
"DRONE_WORKSPACE": "/go/src/github.com/drone/envsubst"
},
"volumes": [
"/Users/bradrydzewski/code/src/github.com/laszlocph/drone-oss-08/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst"
"/Users/bradrydzewski/code/src/github.com/laszlocph/woodpecker/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst"
],
"networks": [
{
@ -55,7 +55,7 @@
"DRONE_WORKSPACE": "/go/src/github.com/drone/envsubst"
},
"volumes": [
"/Users/bradrydzewski/code/src/github.com/laszlocph/drone-oss-08/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst"
"/Users/bradrydzewski/code/src/github.com/laszlocph/woodpecker/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst"
],
"networks": [
{
@ -103,7 +103,7 @@
"echo $CI_SCRIPT | base64 -d | /bin/sh -e"
],
"volumes": [
"/Users/bradrydzewski/code/src/github.com/laszlocph/drone-oss-08/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst"
"/Users/bradrydzewski/code/src/github.com/laszlocph/woodpecker/cncd/pipeline/samples/sample_7_redis:/go/src/github.com/drone/envsubst"
],
"networks": [
{

View File

@ -2,5 +2,5 @@ Go package provides a common interface for publish-subscriber messaging.
Documentation:
http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/pubsub
http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/pubsub/gcp
http://godoc.org/github.com/laszlocph/woodpecker/cncd/pubsub
http://godoc.org/github.com/laszlocph/woodpecker/cncd/pubsub/gcp

View File

@ -2,5 +2,5 @@ Go package provides a common interface for working with task queues.
Documentation:
http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/queue
http://godoc.org/github.com/laszlocph/drone-oss-08/cncd/queue/gcp
http://godoc.org/github.com/laszlocph/woodpecker/cncd/queue
http://godoc.org/github.com/laszlocph/woodpecker/cncd/queue/gcp

View File

@ -5,7 +5,7 @@ services:
build:
context: .
dockerfile: Dockerfile
image: laszlocloud/drone-oss-08-server:local
image: laszlocloud/woodpecker-server:local
ports:
- 8000:8000
volumes:
@ -22,7 +22,7 @@ services:
build:
context: .
dockerfile: Dockerfile.agent
image: laszlocloud/drone-oss-08-agent:local
image: laszlocloud/woodpecker-agent:local
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:

View File

@ -2,7 +2,7 @@
```Go
import (
"github.com/laszlocph/drone-oss-08/drone-go/drone"
"github.com/laszlocph/woodpecker/drone-go/drone"
"golang.org/x/oauth2"
)

View File

@ -17,7 +17,7 @@ func Test_QueueInfo(t *testing.T) {
"data": "",
"labels": {
"platform": "linux/amd64",
"repo": "laszlocph/drone-oss-08"
"repo": "laszlocph/woodpecker"
},
"Dependencies": [],
"DepStatus": {},

View File

@ -18,7 +18,7 @@ import (
"context"
"github.com/Sirupsen/logrus"
"github.com/laszlocph/drone-oss-08/cncd/queue"
"github.com/laszlocph/woodpecker/cncd/queue"
)
// Task defines scheduled pipeline Task.

View File

@ -1,7 +1,7 @@
package registry
import (
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/woodpecker/model"
)
type builtin struct {

View File

@ -1,7 +1,7 @@
package secrets
import (
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/woodpecker/model"
)
type builtin struct {

View File

@ -1,7 +1,7 @@
package sender
import (
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/woodpecker/model"
)
type builtin struct {

View File

@ -3,8 +3,8 @@ package sender
import (
"fmt"
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/drone-oss-08/plugins/internal"
"github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/woodpecker/plugins/internal"
)
type plugin struct {

View File

@ -19,10 +19,10 @@ import (
"net/http"
"net/url"
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/drone-oss-08/remote"
"github.com/laszlocph/drone-oss-08/remote/bitbucket/internal"
"github.com/laszlocph/drone-oss-08/shared/httputil"
"github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/woodpecker/remote"
"github.com/laszlocph/woodpecker/remote/bitbucket/internal"
"github.com/laszlocph/woodpecker/shared/httputil"
"golang.org/x/oauth2"
)

View File

@ -20,9 +20,9 @@ import (
"net/http/httptest"
"testing"
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/drone-oss-08/remote/bitbucket/fixtures"
"github.com/laszlocph/drone-oss-08/remote/bitbucket/internal"
"github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/woodpecker/remote/bitbucket/fixtures"
"github.com/laszlocph/woodpecker/remote/bitbucket/internal"
"github.com/franela/goblin"
"github.com/gin-gonic/gin"

View File

@ -20,8 +20,8 @@ import (
"regexp"
"strings"
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/drone-oss-08/remote/bitbucket/internal"
"github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/woodpecker/remote/bitbucket/internal"
"golang.org/x/oauth2"
)

View File

@ -18,8 +18,8 @@ import (
"testing"
"time"
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/drone-oss-08/remote/bitbucket/internal"
"github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/woodpecker/remote/bitbucket/internal"
"github.com/franela/goblin"
"golang.org/x/oauth2"

View File

@ -19,8 +19,8 @@ import (
"io/ioutil"
"net/http"
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/drone-oss-08/remote/bitbucket/internal"
"github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/woodpecker/remote/bitbucket/internal"
)
const (

View File

@ -19,7 +19,7 @@ import (
"net/http"
"testing"
"github.com/laszlocph/drone-oss-08/remote/bitbucket/fixtures"
"github.com/laszlocph/woodpecker/remote/bitbucket/fixtures"
"github.com/franela/goblin"
)

View File

@ -28,9 +28,9 @@ import (
"net/url"
"strings"
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/drone-oss-08/remote"
"github.com/laszlocph/drone-oss-08/remote/bitbucketserver/internal"
"github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/woodpecker/remote"
"github.com/laszlocph/woodpecker/remote/bitbucketserver/internal"
"github.com/mrjones/oauth"
)

View File

@ -22,8 +22,8 @@ import (
"strings"
"time"
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/drone-oss-08/remote/bitbucketserver/internal"
"github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/woodpecker/remote/bitbucketserver/internal"
"github.com/mrjones/oauth"
)

View File

@ -17,8 +17,8 @@ package bitbucketserver
import (
"testing"
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/drone-oss-08/remote/bitbucketserver/internal"
"github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/woodpecker/remote/bitbucketserver/internal"
"github.com/franela/goblin"
"github.com/mrjones/oauth"
)

View File

@ -26,7 +26,7 @@ import (
"strings"
log "github.com/Sirupsen/logrus"
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/woodpecker/model"
"github.com/mrjones/oauth"
)

View File

@ -17,8 +17,8 @@ package bitbucketserver
import (
"encoding/json"
"fmt"
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/drone-oss-08/remote/bitbucketserver/internal"
"github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/woodpecker/remote/bitbucketserver/internal"
"net/http"
)

View File

@ -20,10 +20,10 @@ import (
"net/http"
"strings"
"github.com/laszlocph/drone-oss-08/model"
"github.com/laszlocph/drone-oss-08/remote"
"github.com/laszlocph/drone-oss-08/remote/coding/internal"
"github.com/laszlocph/drone-oss-08/shared/httputil"
"github.com/laszlocph/woodpecker/model"
"github.com/laszlocph/woodpecker/remote"
"github.com/laszlocph/woodpecker/remote/coding/internal"
"github.com/laszlocph/woodpecker/shared/httputil"
"golang.org/x/net/context"
"golang.org/x/oauth2"

Some files were not shown because too many files have changed in this diff Show More