重命名包名

main
liuzhiguo 6 months ago
parent c5f77383e9
commit b8e1201f42

@ -378,7 +378,7 @@
**Implemented enhancements:**
- bump ui to v2.2.1 - https://github.com/drone/drone-ui/blob/main/CHANGELOG.md [\#3138](https://github.com/harness/drone/pull/3138) ([d1wilko](https://github.com/d1wilko))
- bump ui to v2.2.1 - https://git.awesome-for.me/liuzhiguo/drone-ui/blob/main/CHANGELOG.md [\#3138](https://github.com/harness/drone/pull/3138) ([d1wilko](https://github.com/d1wilko))
**Merged pull requests:**
@ -390,7 +390,7 @@
**Implemented enhancements:**
- bump ui to v2.2.0 - https://github.com/drone/drone-ui/blob/main/CHANGELOG.md [\#3137](https://github.com/harness/drone/pull/3137) ([d1wilko](https://github.com/d1wilko))
- bump ui to v2.2.0 - https://git.awesome-for.me/liuzhiguo/drone-ui/blob/main/CHANGELOG.md [\#3137](https://github.com/harness/drone/pull/3137) ([d1wilko](https://github.com/d1wilko))
- Make starlark step limit configurable [\#3134](https://github.com/harness/drone/pull/3134) ([phil-davis](https://github.com/phil-davis))
- \(feat\) drone h/a: wrapped scheduler's signal func with redis mutex [\#3130](https://github.com/harness/drone/pull/3130) ([marko-gacesa](https://github.com/marko-gacesa))
@ -405,7 +405,7 @@
**Implemented enhancements:**
- \(maint\) ui version v2.1.0 - https://github.com/drone/drone-ui/blob/main/CHANGELOG.md [\#3132](https://github.com/harness/drone/pull/3132) ([d1wilko](https://github.com/d1wilko))
- \(maint\) ui version v2.1.0 - https://git.awesome-for.me/liuzhiguo/drone-ui/blob/main/CHANGELOG.md [\#3132](https://github.com/harness/drone/pull/3132) ([d1wilko](https://github.com/d1wilko))
- Ability to cancel running builds, if a new commit is pushed [\#3126](https://github.com/harness/drone/pull/3126) ([eoinmcafee00](https://github.com/eoinmcafee00))
**Fixed bugs:**
@ -426,7 +426,7 @@
**Implemented enhancements:**
- \(maint\) ui version v2.0.1. - https://github.com/drone/drone-ui/blob/main/CHANGELOG.md [\#3123](https://github.com/harness/drone/pull/3123) ([d1wilko](https://github.com/d1wilko))
- \(maint\) ui version v2.0.1. - https://git.awesome-for.me/liuzhiguo/drone-ui/blob/main/CHANGELOG.md [\#3123](https://github.com/harness/drone/pull/3123) ([d1wilko](https://github.com/d1wilko))
- add support for yaml templates [\#3120](https://github.com/harness/drone/pull/3120) ([eoinmcafee00](https://github.com/eoinmcafee00))
**Fixed bugs:**
@ -601,7 +601,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- convert deploy events in 0.8 yaml to promote events.
- do not execute cron job for disabled repositories. [#2931](https://git.awesome-for.me/liuzhiguo/drone/issues/2931).
- remove trailing slash from gitea url to prevent oauth2 token refresh errors, by [@cmj0121](https://github.com/cmj0121). [#2920](https://git.awesome-for.me/liuzhiguo/drone/issues/2920).
- disable font ligatures in build log output. [drone/drone-ui#322](https://github.com/drone/drone-ui/pull/322).
- disable font ligatures in build log output. [drone/drone-ui#322](https://git.awesome-for.me/liuzhiguo/drone-ui/pull/322).
- missing am/pm in timestamps
## [1.6.5] - 2020-01-29
@ -665,7 +665,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- missing cron job name in user interface, by [@bradrydzewski](https://github.com/bradrydzewski).
- log lines not properly wrapping in user interface, by [@bradrydzewski](https://github.com/bradrydzewski).
[#309](https://github.com/drone/drone-ui/issues/309).
[#309](https://git.awesome-for.me/liuzhiguo/drone-ui/issues/309).
### Breaking
- the server now runs in multi-machine mode by default. In order to run the server in single-machine mode (agents disabled) you must set DRONE_AGENTS_DISABLED=true.
@ -695,13 +695,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- support for storing logs in Azure Cloud Storage, by [@Lucretius](https://github.com/Lucretius). [#2788](https://git.awesome-for.me/liuzhiguo/drone/pull/2788)
- support for windows server 1903, by [@bradrydzewski](https://github.com/bradrydzewski).
- button to view the full log file, by [@dramich](https://github.com/dramich). [drone/drone-ui#287](https://github.com/drone/drone-ui/pull/287).
- button to view the full log file, by [@dramich](https://github.com/dramich). [drone/drone-ui#287](https://git.awesome-for.me/liuzhiguo/drone-ui/pull/287).
### Fixed
- read gogs sha from webhook, by [@marcotuna](https://github.com/marcotuna).
- create bind volume on host if not exists, by [@bradrydzewski](https://github.com/bradrydzewski). [#2725](https://git.awesome-for.me/liuzhiguo/drone/issues/2725).
- preserve whitespace in build logs, by [@geek1011](https://github.com/geek1011). [drone/drone-ui#294](https://github.com/drone/drone-ui/pull/294).
- enable log file download on firefox, by [@bobmanary](https://github.com/bobmanary). [drone/drone-ui#303](https://github.com/drone/drone-ui/pull/303)
- preserve whitespace in build logs, by [@geek1011](https://github.com/geek1011). [drone/drone-ui#294](https://git.awesome-for.me/liuzhiguo/drone-ui/pull/294).
- enable log file download on firefox, by [@bobmanary](https://github.com/bobmanary). [drone/drone-ui#303](https://git.awesome-for.me/liuzhiguo/drone-ui/pull/303)
### Security
- upgraded to Go 1.12.9 due to CVE-2019-9512 and CVE-2019-9514

@ -133,7 +133,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- convert deploy events in 0.8 yaml to promote events.
- do not execute cron job for disabled repositories. [#2931](https://git.awesome-for.me/liuzhiguo/drone/issues/2931).
- remove trailing slash from gitea url to prevent oauth2 token refresh errors, by [@cmj0121](https://github.com/cmj0121). [#2920](https://git.awesome-for.me/liuzhiguo/drone/issues/2920).
- disable font ligatures in build log output. [drone/drone-ui#322](https://github.com/drone/drone-ui/pull/322).
- disable font ligatures in build log output. [drone/drone-ui#322](https://git.awesome-for.me/liuzhiguo/drone-ui/pull/322).
- missing am/pm in timestamps
## [1.6.5] - 2020-01-29
@ -197,7 +197,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- missing cron job name in user interface, by [@bradrydzewski](https://github.com/bradrydzewski).
- log lines not properly wrapping in user interface, by [@bradrydzewski](https://github.com/bradrydzewski).
[#309](https://github.com/drone/drone-ui/issues/309).
[#309](https://git.awesome-for.me/liuzhiguo/drone-ui/issues/309).
### Breaking
- the server now runs in multi-machine mode by default. In order to run the server in single-machine mode (agents disabled) you must set DRONE_AGENTS_DISABLED=true.
@ -227,13 +227,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- support for storing logs in Azure Cloud Storage, by [@Lucretius](https://github.com/Lucretius). [#2788](https://git.awesome-for.me/liuzhiguo/drone/pull/2788)
- support for windows server 1903, by [@bradrydzewski](https://github.com/bradrydzewski).
- button to view the full log file, by [@dramich](https://github.com/dramich). [drone/drone-ui#287](https://github.com/drone/drone-ui/pull/287).
- button to view the full log file, by [@dramich](https://github.com/dramich). [drone/drone-ui#287](https://git.awesome-for.me/liuzhiguo/drone-ui/pull/287).
### Fixed
- read gogs sha from webhook, by [@marcotuna](https://github.com/marcotuna).
- create bind volume on host if not exists, by [@bradrydzewski](https://github.com/bradrydzewski). [#2725](https://git.awesome-for.me/liuzhiguo/drone/issues/2725).
- preserve whitespace in build logs, by [@geek1011](https://github.com/geek1011). [drone/drone-ui#294](https://github.com/drone/drone-ui/pull/294).
- enable log file download on firefox, by [@bobmanary](https://github.com/bobmanary). [drone/drone-ui#303](https://github.com/drone/drone-ui/pull/303)
- preserve whitespace in build logs, by [@geek1011](https://github.com/geek1011). [drone/drone-ui#294](https://git.awesome-for.me/liuzhiguo/drone-ui/pull/294).
- enable log file download on firefox, by [@bobmanary](https://github.com/bobmanary). [drone/drone-ui#303](https://git.awesome-for.me/liuzhiguo/drone-ui/pull/303)
### Security
- upgraded to Go 1.12.9 due to CVE-2019-9512 and CVE-2019-9514

@ -25,16 +25,16 @@ import (
"strings"
"git.awesome-for.me/liuzhiguo/drone/cmd/drone-server/config"
"github.com/drone/go-scm/scm"
"github.com/drone/go-scm/scm/driver/bitbucket"
"github.com/drone/go-scm/scm/driver/gitea"
"github.com/drone/go-scm/scm/driver/gitee"
"github.com/drone/go-scm/scm/driver/github"
"github.com/drone/go-scm/scm/driver/gitlab"
"github.com/drone/go-scm/scm/driver/gogs"
"github.com/drone/go-scm/scm/driver/stash"
"github.com/drone/go-scm/scm/transport/oauth1"
"github.com/drone/go-scm/scm/transport/oauth2"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm/driver/bitbucket"
"git.awesome-for.me/liuzhiguo/go-scm/scm/driver/gitea"
"git.awesome-for.me/liuzhiguo/go-scm/scm/driver/gitee"
"git.awesome-for.me/liuzhiguo/go-scm/scm/driver/github"
"git.awesome-for.me/liuzhiguo/go-scm/scm/driver/gitlab"
"git.awesome-for.me/liuzhiguo/go-scm/scm/driver/gogs"
"git.awesome-for.me/liuzhiguo/go-scm/scm/driver/stash"
"git.awesome-for.me/liuzhiguo/go-scm/scm/transport/oauth1"
"git.awesome-for.me/liuzhiguo/go-scm/scm/transport/oauth2"
"github.com/google/wire"
"github.com/sirupsen/logrus"

@ -18,7 +18,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/cmd/drone-server/config"
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/service/license"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/google/wire"
"github.com/sirupsen/logrus"

@ -15,18 +15,19 @@
package main
import (
"git.awesome-for.me/liuzhiguo/drone/cmd/drone-server/config"
"github.com/drone/go-login/login"
"github.com/drone/go-login/login/bitbucket"
"github.com/drone/go-login/login/gitea"
"github.com/drone/go-login/login/gitee"
"github.com/drone/go-login/login/github"
"github.com/drone/go-login/login/gitlab"
"github.com/drone/go-login/login/gogs"
"github.com/drone/go-login/login/stash"
"github.com/drone/go-scm/scm/transport/oauth2"
"strings"
"git.awesome-for.me/liuzhiguo/drone/cmd/drone-server/config"
"git.awesome-for.me/liuzhiguo/go-login/login"
"git.awesome-for.me/liuzhiguo/go-login/login/bitbucket"
"git.awesome-for.me/liuzhiguo/go-login/login/gitea"
"git.awesome-for.me/liuzhiguo/go-login/login/gitee"
"git.awesome-for.me/liuzhiguo/go-login/login/github"
"git.awesome-for.me/liuzhiguo/go-login/login/gitlab"
"git.awesome-for.me/liuzhiguo/go-login/login/gogs"
"git.awesome-for.me/liuzhiguo/go-login/login/stash"
"git.awesome-for.me/liuzhiguo/go-scm/scm/transport/oauth2"
"github.com/google/wire"
"github.com/sirupsen/logrus"
)

@ -24,7 +24,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/plugin/secret"
"git.awesome-for.me/liuzhiguo/drone/plugin/validator"
"git.awesome-for.me/liuzhiguo/drone/plugin/webhook"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/google/wire"
)

@ -42,7 +42,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/trigger"
"git.awesome-for.me/liuzhiguo/drone/trigger/cron"
"git.awesome-for.me/liuzhiguo/drone/version"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/google/wire"
)

@ -27,7 +27,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/server"
"git.awesome-for.me/liuzhiguo/drone/service/canceler/reaper"
"git.awesome-for.me/liuzhiguo/drone/trigger/cron"
"github.com/drone/signal"
"git.awesome-for.me/liuzhiguo/signal"
"github.com/joho/godotenv"
"github.com/sirupsen/logrus"

@ -17,7 +17,7 @@ package core
import (
"context"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
const (

@ -19,7 +19,7 @@ import (
"errors"
"regexp"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
)
var (

@ -5,6 +5,14 @@ replace github.com/docker/docker => github.com/docker/engine v17.12.0-ce-rc1.0.2
require (
git.awesome-for.me/liuzhiguo/drone-go v1.7.2
git.awesome-for.me/liuzhiguo/drone-runtime v1.1.1
git.awesome-for.me/liuzhiguo/drone-ui v1.0.1
git.awesome-for.me/liuzhiguo/drone-yaml v1.2.5
git.awesome-for.me/liuzhiguo/envsubst v1.0.5
git.awesome-for.me/liuzhiguo/funcmap v1.0.1
git.awesome-for.me/liuzhiguo/go-license v1.0.3
git.awesome-for.me/liuzhiguo/go-login v1.1.1
git.awesome-for.me/liuzhiguo/go-scm v1.33.1
git.awesome-for.me/liuzhiguo/signal v1.0.1
github.com/99designs/httpsignatures-go v0.0.0-20170731043157-88528bf4ca7e
github.com/Azure/azure-storage-blob-go v0.7.0
github.com/Azure/go-autorest/autorest/adal v0.8.3 // indirect
@ -14,22 +22,14 @@ require (
github.com/coreos/go-semver v0.2.0
github.com/dchest/authcookie v0.0.0-20120917135355-fbdef6e99866
github.com/dchest/uniuri v0.0.0-20160212164326-8902c56451e9
github.com/drone/drone-ui v2.11.5+incompatible
github.com/drone/drone-yaml v1.2.4-0.20220204000225-01fb17858c9b
github.com/drone/envsubst v1.0.3-0.20200709231038-aa43e1c1a629
github.com/drone/funcmap v0.0.0-20210823160631-9e9dec149056
github.com/drone/go-license v1.0.2
github.com/drone/go-login v1.1.0
github.com/drone/go-scm v1.28.0
github.com/drone/signal v1.0.0
github.com/dustin/go-humanize v1.0.0
github.com/go-chi/chi v3.3.3+incompatible
github.com/go-chi/cors v1.0.0
github.com/go-redis/redis/v8 v8.11.0
github.com/go-redsync/redsync/v4 v4.3.0
github.com/go-sql-driver/mysql v1.4.0
github.com/golang/mock v1.3.1
github.com/google/go-cmp v0.5.6
github.com/golang/mock v1.6.0
github.com/google/go-cmp v0.6.0
github.com/google/go-jsonnet v0.17.0
github.com/google/wire v0.2.1
github.com/gosimple/slug v1.3.0
@ -50,12 +50,13 @@ require (
github.com/robfig/cron v0.0.0-20180505203441-b41be1df6967
github.com/segmentio/ksuid v1.0.2
github.com/sirupsen/logrus v1.6.0
github.com/stretchr/testify v1.8.4 // indirect
github.com/unrolled/secure v0.0.0-20181022170031-4b6b7cf51606
go.starlark.net v0.0.0-20221020143700-22309ac47eac
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect
gopkg.in/yaml.v2 v2.3.0
gopkg.in/yaml.v2 v2.4.0
)
replace github.com/h2non/gock => gopkg.in/h2non/gock.v1 v1.0.14

101
go.sum

@ -1,9 +1,23 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
docker.io/go-docker v1.0.0/go.mod h1:7tiAn5a0LFmjbPDbyTPOaTTOuG1ZRNXdPA6RvKY+fpY=
git.awesome-for.me/liuzhiguo/drone-go v1.7.2 h1:2M1s+K3g0STdBKcShHutjKo7PcsAuq1Y69o7kGb+i38=
git.awesome-for.me/liuzhiguo/drone-go v1.7.2/go.mod h1:hWG3cjzzHjMoxFs7GR0DzqKER2cUCRW4ClHdcs/SHeM=
git.awesome-for.me/liuzhiguo/drone-runtime v1.1.1 h1:lOrNqBe8YdXE/iHSB7zitM1n0adLf4+m/3/JueiyQvo=
git.awesome-for.me/liuzhiguo/drone-runtime v1.1.1/go.mod h1:jav/R/Sufv4m3NwgdroBPSNXOroRB8GWHT94VIKesrM=
git.awesome-for.me/liuzhiguo/drone-ui v1.0.1 h1:WsokqIqawyOjAeLBU8cbdMbm+ygypzdt9kO2cBNbOCw=
git.awesome-for.me/liuzhiguo/drone-ui v1.0.1/go.mod h1:Q7Ey2ZyQsNg4mvmCDq5LQD2Hny5HvfKQ1jx2vxGBrsk=
git.awesome-for.me/liuzhiguo/drone-yaml v1.2.5 h1:I2ax8tgf5/gCXqZjn5XmHQtNzjQiItj5TElBFHkQcq8=
git.awesome-for.me/liuzhiguo/drone-yaml v1.2.5/go.mod h1:nuy4BAG72F7q38d+QmCX0Y5xkXVfdI7neyT1GTm0ZLI=
git.awesome-for.me/liuzhiguo/envsubst v1.0.5 h1:O9RyUIdJprhYN5Cv8fTly1Vadw8n/KwpQHqMlkysKO0=
git.awesome-for.me/liuzhiguo/envsubst v1.0.5/go.mod h1:9aadwL+AkNoGnaI2g8YFPTVHJO8FYhDYv4yMYpkNcHs=
git.awesome-for.me/liuzhiguo/funcmap v1.0.1 h1:G8hf7WmXzdZ4qf9HGaH4GjqT1QUi0OIZDw5TtDtTIAE=
git.awesome-for.me/liuzhiguo/funcmap v1.0.1/go.mod h1:9W6xGm90NsVmrWihTdTRMyOetXJOKPi+Nz0YI2XEI0U=
git.awesome-for.me/liuzhiguo/go-license v1.0.3 h1:i3SDTJZUQumGePeLK6JzuII6BEp8mw00aAHhFUH6VY0=
git.awesome-for.me/liuzhiguo/go-license v1.0.3/go.mod h1:IBp1YkR+f6OSeZ1HDovF3eL7fthK16gNZ+C09znSJcE=
git.awesome-for.me/liuzhiguo/go-login v1.1.1 h1:ynLknI/97DUxAEzHZHqcxLeM6PAipz2RvU3/pv6XaAE=
git.awesome-for.me/liuzhiguo/go-login v1.1.1/go.mod h1:/mANetIjEbnyrAq/Uf0iehVK/hm2RPkSjXrmymOO+xs=
git.awesome-for.me/liuzhiguo/go-scm v1.33.1 h1:NL3NqPNCFNlaGcFr37TGNzeky6gOIxJ3VAi6lCHVMCs=
git.awesome-for.me/liuzhiguo/go-scm v1.33.1/go.mod h1:+S66gBrqCCHAvSrm90jU+cqKWj5GTzKfGf7WNjiuFQ4=
git.awesome-for.me/liuzhiguo/signal v1.0.1 h1:mBM9eWpySUkw5rYI3vE5BqPR0LsnepSZbktjSYoO/LU=
git.awesome-for.me/liuzhiguo/signal v1.0.1/go.mod h1:Vc38edEqTrY9+u6G37itWMxCWUuwuUn1fFKl2HBBvd8=
github.com/99designs/httpsignatures-go v0.0.0-20170731043157-88528bf4ca7e h1:rl2Aq4ZODqTDkeSqQBy+fzpZPamacO1Srp8zq7jf2Sc=
github.com/99designs/httpsignatures-go v0.0.0-20170731043157-88528bf4ca7e/go.mod h1:Xa6lInWHNQnuWoF0YPSsx+INFA9qk7/7pTjwb3PInkY=
@ -32,16 +46,16 @@ github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbt
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/Microsoft/go-winio v0.4.11 h1:zoIOcVf0xPN1tnMVbTtEdI+P8OofVk3NObnwOQ6nK2Q=
github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE=
github.com/asaskevich/govalidator v0.0.0-20180315120708-ccb8e960c48f h1:y2hSFdXeA1y5z5f0vfNO0Dg5qVY036qzlz3Pds0B92o=
github.com/asaskevich/govalidator v0.0.0-20180315120708-ccb8e960c48f/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
github.com/aws/aws-sdk-go v1.37.3 h1:1f0groABc4AuapskpHf6EBRaG2tqw0Sx3ebCMwfp1Ys=
github.com/aws/aws-sdk-go v1.37.3/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 h1:xJ4a3vCFaGF/jqvzLMYoU8P317H5OQ+Via4RmuPwCS0=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/bmatcuk/doublestar v1.1.1 h1:YroD6BJCZBYx06yYFEWvUuKVWQn3vLLQAVmDmvTSaiQ=
github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w=
github.com/bmatcuk/doublestar v1.3.4 h1:gPypJ5xD31uhX6Tf54sDPUOBXTqKH4c9aPY66CyQrS0=
github.com/bmatcuk/doublestar v1.3.4/go.mod h1:wiQtGV+rzVYxB7WIlirSN++5HPtPlXEo9MEoZQC/PmE=
github.com/buildkite/yaml v2.1.0+incompatible h1:xirI+ql5GzfikVNDmt+yeiXpf/v1Gt03qXTtT5WXdr8=
github.com/buildkite/yaml v2.1.0+incompatible/go.mod h1:UoU8vbcwu1+vjZq01+KrpSeLBgQQIjL/H7Y6KwikUrI=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
@ -69,33 +83,18 @@ github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumC
github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78=
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc=
github.com/distribution/reference v0.5.0 h1:/FUIFXtfc/x2gpa5/VGfiGLuOIdYa1t65IKK2OFGvA0=
github.com/distribution/reference v0.5.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
github.com/docker/distribution v0.0.0-20170726174610-edc3ab29cdff/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
github.com/docker/distribution v2.7.1+incompatible h1:a5mlkVzth6W5A4fOsS3D2EO5BUmsJpcB+cRlLU7cSug=
github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=
github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
github.com/docker/engine v17.12.0-ce-rc1.0.20200309214505-aa6a9891b09c+incompatible h1:hx8H7MbcmXUXAmphQuA/XB7CfSzX4DRrNuHFvfK9aIQ=
github.com/docker/engine v17.12.0-ce-rc1.0.20200309214505-aa6a9891b09c+incompatible/go.mod h1:3CPr2caMgTHxxIAZgEMd3uLYPDlRvPqCpyeRf6ncPcY=
github.com/docker/go-connections v0.3.0 h1:3lOnM9cSzgGwx8VfK/NGOW5fLQ0GjIlCkaktF+n1M6o=
github.com/docker/go-connections v0.3.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec=
github.com/docker/go-units v0.3.3 h1:Xk8S3Xj5sLGlG5g67hJmYMmUgXv5N4PhkjJHHqrwnTk=
github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
github.com/drone/drone-runtime v1.0.7-0.20190729202838-87c84080f4a1 h1:9xaZM1rM1/0FqFEijgnFcvWd0vRqOw+iO1YR7pBgPCw=
github.com/drone/drone-runtime v1.0.7-0.20190729202838-87c84080f4a1/go.mod h1:+osgwGADc/nyl40J0fdsf8Z09bgcBZXvXXnLOY48zYs=
github.com/drone/drone-ui v2.11.5+incompatible h1:e+OmpCuxfCS1V8Szx+4OzCMXiM80ZJkV05/BuY8pVv8=
github.com/drone/drone-ui v2.11.5+incompatible/go.mod h1:NBtVWW7NNJpD9+huMD/5TAE1db2nrEh0i35/9Rf1MPI=
github.com/drone/drone-yaml v1.2.4-0.20220204000225-01fb17858c9b h1:NU8JZ2Py6dLa5kktIvcsQ5sokdDbvjL8GUOYEU53Wfk=
github.com/drone/drone-yaml v1.2.4-0.20220204000225-01fb17858c9b/go.mod h1:QsqliFK8nG04AHFN9tTn9XJomRBQHD4wcejWW1uz/10=
github.com/drone/envsubst v1.0.3-0.20200709231038-aa43e1c1a629 h1:rIaZZalMGGPb2cU/+ypuggZ8aMlpa17RUlJUtsMv8pw=
github.com/drone/envsubst v1.0.3-0.20200709231038-aa43e1c1a629/go.mod h1:N2jZmlMufstn1KEqvbHjw40h1KyTmnVzHcSc9bFiJ2g=
github.com/drone/funcmap v0.0.0-20210823160631-9e9dec149056 h1:SCJwMR0FMA0aKwAntCBh02YmtHEnU40zaDzeeCvIRug=
github.com/drone/funcmap v0.0.0-20210823160631-9e9dec149056/go.mod h1:Hph0/pT6ZxbujnE1Z6/08p5I0XXuOsppqF6NQlGOK0E=
github.com/drone/go-license v1.0.2 h1:7OwndfYk+Lp/cGHkxe4HUn/Ysrrw3WYH2pnd99yrkok=
github.com/drone/go-license v1.0.2/go.mod h1:fGRHf+F1cEaw3YVYiJ6js3G3dVhcxyS617RnNRUMsms=
github.com/drone/go-login v1.1.0 h1:anQFRh2Z5ketEJ/LvL6SJ6rIwDdfysGXK5bSXkFLInI=
github.com/drone/go-login v1.1.0/go.mod h1:FLxy9vRzLbyBxoCJYxGbG9R0WGn6OyuvBmAtYNt43uw=
github.com/drone/go-scm v1.28.0 h1:Y5SCf01Iw7/VO8hhjNgAX0eGIXZ225ctw7DlGQHh5g4=
github.com/drone/go-scm v1.28.0/go.mod h1:DFIJJjhMj0TSXPz+0ni4nyZ9gtTtC40Vh/TGRugtyWw=
github.com/drone/signal v1.0.0 h1:NrnM2M/4yAuU/tXs6RP1a1ZfxnaHwYkd0kJurA1p6uI=
github.com/drone/signal v1.0.0/go.mod h1:S8t92eFT0g4WUgEc/LxG+LCuiskpMNsG0ajAMGnyZpc=
github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4=
github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo=
github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
@ -128,8 +127,8 @@ github.com/gogo/protobuf v0.0.0-20170307180453-100ba4e88506/go.mod h1:r8qH/GZQm5
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
github.com/golang/mock v1.3.1 h1:qGJ6qTW+x6xX/my+8YUVl4WNpX9B7+/l2tRsHGZ7f2s=
github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y=
github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc=
github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
@ -151,8 +150,9 @@ github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMyw
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ=
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-jsonnet v0.17.0 h1:/9NIEfhK1NQRKl3sP2536b2+x5HnZMdql7x3yK/l8JY=
github.com/google/go-jsonnet v0.17.0/go.mod h1:sOcuej3UW1vpPTZOr8L7RQimqai1a57bt5j22LzGZCw=
github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI=
@ -233,13 +233,13 @@ github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1y
github.com/onsi/gomega v1.10.2/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
github.com/onsi/gomega v1.10.5 h1:7n6FEkpFmfCoo2t+YYqXH0evK+a9ICQz0xcAy9dYcaQ=
github.com/onsi/gomega v1.10.5/go.mod h1:gza4q3jKQJijlu05nKWRCW/GavJumGt8aNRxWg7mt48=
github.com/opencontainers/go-digest v1.0.0-rc1 h1:WzifXhOVOEOuFYOJAW6aQqW0TooG2iki3E3Ii+WN7gQ=
github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
github.com/opencontainers/image-spec v1.0.1 h1:JMemWkRwHx4Zj+fVxWoMCFm/8sYGGrUVojFA6h/TRcI=
github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0=
github.com/oxtoacart/bpool v0.0.0-20150712133111-4e1c5567d7c2 h1:CXwSGu/LYmbjEab5aMCs5usQRVBGThelUKBNnoSOuso=
github.com/oxtoacart/bpool v0.0.0-20150712133111-4e1c5567d7c2/go.mod h1:L3UMQOThbttwfYRNFOWLLVXMhk5Lkio4GGOtw5UrxS0=
github.com/petar/GoLLRB v0.0.0-20130427215148-53be0d36a84c/go.mod h1:HUpKUBZnpzkdx0kD/+Yfuft+uD3zHGtXF/XJB14TUr4=
github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU=
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
@ -261,19 +261,23 @@ github.com/robfig/cron v0.0.0-20180505203441-b41be1df6967 h1:x7xEyJDP7Hv3LVgvWhz
github.com/robfig/cron v0.0.0-20180505203441-b41be1df6967/go.mod h1:JGuDeoQd7Z6yL4zQhZ3OPEVHB7fL6Ka6skscFHfmt2k=
github.com/segmentio/ksuid v1.0.2 h1:9yBfKyw4ECGTdALaF09Snw3sLJmYIX6AbPJrAy6MrDc=
github.com/segmentio/ksuid v1.0.2/go.mod h1:BXuJDr2byAiHuQaQtSKoXh1J0YmUDurywOXgB2w+OSU=
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8=
github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I=
github.com/sirupsen/logrus v1.6.0 h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I=
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/stvp/tempredis v0.0.0-20181119212430-b82af8480203 h1:QVqDTf3h2WHt08YuiTGPZLls0Wq99X9bWd0Q5ZSBesM=
github.com/stvp/tempredis v0.0.0-20181119212430-b82af8480203/go.mod h1:oqN97ltKNihBbwlX8dLpwxCl3+HnXKV/R0e+sRLd9C8=
github.com/unrolled/secure v0.0.0-20181022170031-4b6b7cf51606 h1:dU9yXzNi9rl6Mou7+3npdfPyeFPb2+7BHs3zL47bhPY=
@ -281,11 +285,11 @@ github.com/unrolled/secure v0.0.0-20181022170031-4b6b7cf51606/go.mod h1:mnPT77IA
github.com/vinzenz/yaml v0.0.0-20170920082545-91409cdd725d h1:3wDi6J5APMqaHBVPuVd7RmHD2gRTfqbdcVSpCNoUWtk=
github.com/vinzenz/yaml v0.0.0-20170920082545-91409cdd725d/go.mod h1:mb5taDqMnJiZNRQ3+02W2IFG+oEz1+dTuCXkp4jpkfo=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
go.opentelemetry.io/otel v0.11.0/go.mod h1:G8UCk+KooF2HLkgo8RHX9epABH/aRGYET7gQOqBVdB0=
go.starlark.net v0.0.0-20221020143700-22309ac47eac h1:gBO5Qfcw5V9404yzsu2FEIsxK/u2mBNTNogK0uIoVhk=
go.starlark.net v0.0.0-20221020143700-22309ac47eac/go.mod h1:kIVgS18CjmEC3PqMd5kaJSGEifyV/CeB9x506ZJ1Vbk=
golang.org/x/crypto v0.0.0-20180820150726-614d502a4dac/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
@ -296,10 +300,10 @@ golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTk
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181005035420-146acd28ed58/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
@ -310,18 +314,19 @@ golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLL
golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb h1:eBmm0M9fYhWpKZLjQUUKka/LtIxf46G4fxeEz5KJr9U=
golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 h1:4nGaVu0QrbjT/AK2PRLuQfQuh6DJve+pELhqTdAj3x0=
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 h1:SQFwaSi55rU7vdNs9Yr0Z324VNlrF+0wMqRXT4St8ck=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181005133103-4497e2df6f9e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@ -335,10 +340,14 @@ golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 h1:0A+M6Uqn+Eje4kHMK80dtF3JCXC4ykBgQG4Fe06QRhQ=
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20220526004731-065cf7ba2467/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
@ -352,17 +361,15 @@ golang.org/x/tools v0.0.0-20181017214349-06f26fdaaa28/go.mod h1:n7NCudcB/nEzxVGm
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.3.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.6.6 h1:lMO5rYAqUxkmaj76jAkRUvt5JZgFymx/+Q5Mzfivuhc=
google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
@ -401,10 +408,12 @@ gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=
gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo=
gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw=
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
@ -414,3 +423,5 @@ k8s.io/apimachinery v0.0.0-20181201231028-18a5ff3097b4/go.mod h1:ccL7Eh7zubPUSh9
k8s.io/client-go v9.0.0+incompatible/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s=
k8s.io/klog v0.1.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk=
sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q=
sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc=

@ -20,7 +20,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/handler/api/render"
"git.awesome-for.me/liuzhiguo/drone/handler/api/request"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/go-chi/chi"
)

@ -18,9 +18,9 @@ import (
"encoding/json"
"net/http"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/signer"
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/handler/api/render"
"github.com/drone/drone-yaml/yaml/signer"
"github.com/go-chi/chi"
)

@ -21,7 +21,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/handler/api/render"
"git.awesome-for.me/liuzhiguo/drone/handler/api/request"
"git.awesome-for.me/liuzhiguo/drone/logger"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/go-chi/chi"
)

@ -26,7 +26,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/logger"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
)
// this is intended for local testing and instructs the handler

@ -18,7 +18,7 @@ import (
"net/http"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/go-chi/chi"
)

@ -24,7 +24,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/logger"
"github.com/drone/go-login/login"
"git.awesome-for.me/liuzhiguo/go-login/login"
"github.com/dchest/uniuri"
"github.com/sirupsen/logrus"

@ -17,7 +17,7 @@ package web
import (
"net/http"
"github.com/drone/drone-ui/dist"
"git.awesome-for.me/liuzhiguo/drone-ui/dist"
)
// HandleLogout creates an http.HandlerFunc that handles

@ -21,8 +21,8 @@ import (
"net/http"
"time"
"git.awesome-for.me/liuzhiguo/drone-ui/dist"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/drone-ui/dist"
)
func HandleIndex(host string, session core.Session, license core.LicenseService) http.HandlerFunc {

@ -19,7 +19,7 @@ import (
"time"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
)
type varz struct {

@ -11,7 +11,7 @@ import (
"testing"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/google/go-cmp/cmp"
)

@ -17,13 +17,13 @@ package web
import (
"net/http"
"github.com/drone/drone-ui/dist"
"git.awesome-for.me/liuzhiguo/drone-ui/dist"
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/handler/web/link"
"git.awesome-for.me/liuzhiguo/drone/logger"
"github.com/drone/go-login/login"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-login/login"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/go-chi/chi"
"github.com/go-chi/chi/middleware"

@ -2,8 +2,9 @@
// Use of this source code is governed by the Drone Non-Commercial License
// that can be found in the LICENSE file.
//go:build !oss
// +build !oss
package mockscm
//go:generate mockgen -package=mockscm -destination=mock_gen.go github.com/drone/go-scm/scm ContentService,GitService,OrganizationService,PullRequestService,RepositoryService,UserService
//go:generate mockgen -package=mockscm -destination=mock_gen.go git.awesome-for.me/liuzhiguo/go-scm/scm ContentService,GitService,OrganizationService,PullRequestService,RepositoryService,UserService

@ -1,5 +1,5 @@
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/drone/go-scm/scm (interfaces: ContentService,GitService,OrganizationService,PullRequestService,RepositoryService,UserService)
// Source: git.awesome-for.me/liuzhiguo/go-scm/scm (interfaces: ContentService,GitService,OrganizationService,PullRequestService,RepositoryService,UserService)
// Package mockscm is a generated GoMock package.
package mockscm
@ -8,7 +8,7 @@ import (
context "context"
reflect "reflect"
scm "github.com/drone/go-scm/scm"
scm "git.awesome-for.me/liuzhiguo/go-scm/scm"
gomock "github.com/golang/mock/gomock"
)
@ -152,7 +152,7 @@ func (mr *MockGitServiceMockRecorder) CompareChanges(arg0, arg1, arg2, arg3, arg
}
// CreateBranch mocks base method.
func (m *MockGitService) CreateBranch(arg0 context.Context, arg1 string, arg2 *scm.CreateBranch) (*scm.Response, error) {
func (m *MockGitService) CreateBranch(arg0 context.Context, arg1 string, arg2 *scm.ReferenceInput) (*scm.Response, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CreateBranch", arg0, arg1, arg2)
ret0, _ := ret[0].(*scm.Response)
@ -230,6 +230,22 @@ func (mr *MockGitServiceMockRecorder) ListBranches(arg0, arg1, arg2 interface{})
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListBranches", reflect.TypeOf((*MockGitService)(nil).ListBranches), arg0, arg1, arg2)
}
// ListBranchesV2 mocks base method.
func (m *MockGitService) ListBranchesV2(arg0 context.Context, arg1 string, arg2 scm.BranchListOptions) ([]*scm.Reference, *scm.Response, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListBranchesV2", arg0, arg1, arg2)
ret0, _ := ret[0].([]*scm.Reference)
ret1, _ := ret[1].(*scm.Response)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
}
// ListBranchesV2 indicates an expected call of ListBranchesV2.
func (mr *MockGitServiceMockRecorder) ListBranchesV2(arg0, arg1, arg2 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListBranchesV2", reflect.TypeOf((*MockGitService)(nil).ListBranchesV2), arg0, arg1, arg2)
}
// ListChanges mocks base method.
func (m *MockGitService) ListChanges(arg0 context.Context, arg1, arg2 string, arg3 scm.ListOptions) ([]*scm.Change, *scm.Response, error) {
m.ctrl.T.Helper()
@ -711,6 +727,22 @@ func (mr *MockRepositoryServiceMockRecorder) ListStatus(arg0, arg1, arg2, arg3 i
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListStatus", reflect.TypeOf((*MockRepositoryService)(nil).ListStatus), arg0, arg1, arg2, arg3)
}
// ListV2 mocks base method.
func (m *MockRepositoryService) ListV2(arg0 context.Context, arg1 scm.RepoListOptions) ([]*scm.Repository, *scm.Response, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "ListV2", arg0, arg1)
ret0, _ := ret[0].([]*scm.Repository)
ret1, _ := ret[1].(*scm.Response)
ret2, _ := ret[2].(error)
return ret0, ret1, ret2
}
// ListV2 indicates an expected call of ListV2.
func (mr *MockRepositoryServiceMockRecorder) ListV2(arg0, arg1 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListV2", reflect.TypeOf((*MockRepositoryService)(nil).ListV2), arg0, arg1)
}
// UpdateHook mocks base method.
func (m *MockRepositoryService) UpdateHook(arg0 context.Context, arg1, arg2 string, arg3 *scm.HookInput) (*scm.Hook, *scm.Response, error) {
m.ctrl.T.Helper()

@ -21,9 +21,9 @@ import (
"io/ioutil"
"time"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/converter"
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/store/shared/db"
"github.com/drone/drone-yaml/yaml/converter"
"github.com/hashicorp/go-multierror"
"github.com/sirupsen/logrus"

@ -21,7 +21,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/store/shared/db"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/hashicorp/go-multierror"
"github.com/sirupsen/logrus"

@ -27,17 +27,17 @@ import (
"git.awesome-for.me/liuzhiguo/drone-runtime/engine"
"git.awesome-for.me/liuzhiguo/drone-runtime/runtime"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/compiler/transform"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/converter"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/linter"
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/operator/manager"
"git.awesome-for.me/liuzhiguo/drone/plugin/registry"
"git.awesome-for.me/liuzhiguo/drone/plugin/secret"
"git.awesome-for.me/liuzhiguo/drone/store/shared/db"
"github.com/drone/drone-yaml/yaml"
"github.com/drone/drone-yaml/yaml/compiler"
"github.com/drone/drone-yaml/yaml/compiler/transform"
"github.com/drone/drone-yaml/yaml/converter"
"github.com/drone/drone-yaml/yaml/linter"
"github.com/drone/envsubst"
"git.awesome-for.me/liuzhiguo/envsubst"
"golang.org/x/sync/errgroup"
"github.com/sirupsen/logrus"

@ -29,7 +29,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/plugin/converter/jsonnet"
"git.awesome-for.me/liuzhiguo/drone/plugin/converter/starlark"
"github.com/drone/funcmap"
"git.awesome-for.me/liuzhiguo/funcmap"
"gopkg.in/yaml.v2"
)

@ -21,10 +21,10 @@ import (
"encoding/base64"
"errors"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/logger"
"git.awesome-for.me/liuzhiguo/drone/plugin/registry/auths"
"github.com/drone/drone-yaml/yaml"
)
// Encrypted returns a new encrypted registry credentials

@ -12,10 +12,10 @@ import (
"time"
"git.awesome-for.me/liuzhiguo/drone-go/plugin/secret"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/logger"
"git.awesome-for.me/liuzhiguo/drone/plugin/registry/auths"
"github.com/drone/drone-yaml/yaml"
droneapi "git.awesome-for.me/liuzhiguo/drone-go/drone"
)

@ -7,8 +7,8 @@ package registry
import (
"testing"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/drone-yaml/yaml"
"github.com/google/go-cmp/cmp"
)

@ -21,9 +21,9 @@ import (
"encoding/base64"
"errors"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/logger"
"github.com/drone/drone-yaml/yaml"
)
// Encrypted returns a new encrypted Secret controller.

@ -11,9 +11,9 @@ import (
"context"
"time"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/logger"
"github.com/drone/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-go/drone"
"git.awesome-for.me/liuzhiguo/drone-go/plugin/secret"

@ -18,7 +18,7 @@ import (
"context"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
)
// New returns a new CommitServiceFactory.

@ -12,7 +12,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/mock"
"git.awesome-for.me/liuzhiguo/drone/mock/mockscm"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/golang/mock/gomock"
"github.com/google/go-cmp/cmp"
)

@ -14,7 +14,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/mock"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/golang/mock/gomock"
"github.com/google/go-cmp/cmp"

@ -20,7 +20,7 @@ import (
"time"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
)
// default number of backoff attempts.

@ -11,7 +11,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/mock"
"git.awesome-for.me/liuzhiguo/drone/mock/mockscm"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/google/go-cmp/cmp"
"github.com/golang/mock/gomock"

@ -19,7 +19,7 @@ import (
"time"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
)
// New returns a new HookService.

@ -11,7 +11,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/mock"
"git.awesome-for.me/liuzhiguo/drone/mock/mockscm"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/golang/mock/gomock"
)

@ -25,7 +25,7 @@ import (
"time"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
)
// TODO(bradrydzewski): stash, push hook missing link

@ -18,7 +18,7 @@ import (
"context"
"net/url"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
)
func replaceHook(ctx context.Context, client *scm.Client, repo string, hook *scm.HookInput) error {

@ -10,7 +10,7 @@ import (
"testing"
"git.awesome-for.me/liuzhiguo/drone/mock/mockscm"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/golang/mock/gomock"
"github.com/google/go-cmp/cmp"

@ -22,8 +22,8 @@ import (
"strings"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-license/license"
"github.com/drone/go-license/license/licenseutil"
"git.awesome-for.me/liuzhiguo/go-license/license"
"git.awesome-for.me/liuzhiguo/go-license/license/licenseutil"
)
// embedded public key used to verify license signatures.

@ -18,7 +18,7 @@ import (
"context"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
)
// New returns a new Linker server.

@ -18,7 +18,7 @@ import (
"context"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
)
var _ core.NetrcService = (*Service)(nil)

@ -11,7 +11,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/mock"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/golang/mock/gomock"
"github.com/google/go-cmp/cmp"
)

@ -19,7 +19,7 @@ import (
"time"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
)
// New returns a new OrganizationService.

@ -12,7 +12,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/mock"
"git.awesome-for.me/liuzhiguo/drone/mock/mockscm"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/google/go-cmp/cmp"
"github.com/golang/mock/gomock"

@ -18,7 +18,7 @@ import (
"context"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
)
type service struct {

@ -11,7 +11,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/mock"
"git.awesome-for.me/liuzhiguo/drone/mock/mockscm"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/google/go-cmp/cmp"
"github.com/golang/mock/gomock"

@ -16,7 +16,7 @@ package repo
import (
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
)
// convertRepository is a helper function that converts a

@ -8,7 +8,7 @@ import (
"testing"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/google/go-cmp/cmp"
)

@ -19,8 +19,8 @@ import (
"fmt"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"github.com/drone/go-scm/scm/driver/github"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm/driver/github"
)
// Config configures the Status service.

@ -11,7 +11,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/mock"
"git.awesome-for.me/liuzhiguo/drone/mock/mockscm"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/golang/mock/gomock"
)

@ -18,7 +18,7 @@ import (
"fmt"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/gosimple/slug"
)

@ -8,7 +8,7 @@ import (
"testing"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
)
func TestCreateLabel(t *testing.T) {

@ -12,7 +12,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/mock"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/sirupsen/logrus"
"github.com/golang/mock/gomock"

@ -16,7 +16,7 @@ package syncer
import (
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
)
// merge is a helper function that merges a subset of

@ -15,7 +15,7 @@ import (
// "testing"
// "git.awesome-for.me/liuzhiguo/drone/core"
// "github.com/drone/go-scm/scm"
// "git.awesome-for.me/liuzhiguo/go-scm/scm"
// "github.com/google/go-cmp/cmp"
// )

@ -20,8 +20,8 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"github.com/drone/go-scm/scm/transport/oauth2"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm/transport/oauth2"
)
// expiryDelta determines how earlier a token should be considered

@ -18,7 +18,7 @@ import (
"context"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
)
type service struct {

@ -11,7 +11,7 @@ import (
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/mock/mockscm"
"github.com/drone/go-scm/scm"
"git.awesome-for.me/liuzhiguo/go-scm/scm"
"github.com/google/go-cmp/cmp"
"github.com/golang/mock/gomock"

@ -20,7 +20,7 @@ package trigger
// "strconv"
// "git.awesome-for.me/liuzhiguo/drone/core"
// "github.com/drone/go-scm/scm"
// "git.awesome-for.me/liuzhiguo/go-scm/scm"
// )
// func listChanges(client *scm.Client, repo *core.Repository, build *core.Build) ([]string, error) {

@ -12,7 +12,7 @@ package trigger
// "git.awesome-for.me/liuzhiguo/drone/core"
// "git.awesome-for.me/liuzhiguo/drone/mock"
// "github.com/drone/go-scm/scm"
// "git.awesome-for.me/liuzhiguo/go-scm/scm"
// "github.com/golang/mock/gomock"
// "github.com/google/go-cmp/cmp"

@ -17,8 +17,8 @@ package trigger
import (
"strings"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/drone-yaml/yaml"
)
func skipBranch(document *yaml.Pipeline, branch string) bool {

@ -10,8 +10,8 @@ package trigger
import (
"testing"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone/core"
"github.com/drone/drone-yaml/yaml"
)
func Test_skipBranch(t *testing.T) {

@ -20,10 +20,10 @@ import (
"strings"
"time"
"github.com/drone/drone-yaml/yaml"
"github.com/drone/drone-yaml/yaml/converter"
"github.com/drone/drone-yaml/yaml/linter"
"github.com/drone/drone-yaml/yaml/signer"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/converter"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/linter"
"git.awesome-for.me/liuzhiguo/drone-yaml/yaml/signer"
"git.awesome-for.me/liuzhiguo/drone/core"
"git.awesome-for.me/liuzhiguo/drone/trigger/dag"

@ -1 +1 @@
Future home of github.com/drone/drone-ui
Future home of git.awesome-for.me/liuzhiguo/drone-ui
Loading…
Cancel
Save