Move Plugins to a /plugin Directory
This commit is contained in:
parent
12fae4b62e
commit
170135cb1d
48 changed files with 17 additions and 17 deletions
|
@ -6,7 +6,7 @@ import (
|
|||
"net/url"
|
||||
"time"
|
||||
|
||||
"github.com/drone/drone/shared/remote"
|
||||
"github.com/drone/drone/plugin/remote"
|
||||
"github.com/drone/drone/shared/util/httputil"
|
||||
"github.com/drone/go-bitbucket/bitbucket"
|
||||
"github.com/drone/go-bitbucket/oauth1"
|
|
@ -2,7 +2,7 @@ package bitbucket
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/drone/drone/shared/remote"
|
||||
"github.com/drone/drone/plugin/remote"
|
||||
"github.com/drone/go-bitbucket/bitbucket"
|
||||
"net/url"
|
||||
)
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"net/url"
|
||||
|
||||
"github.com/drone/drone/shared/remote"
|
||||
"github.com/drone/drone/plugin/remote"
|
||||
"github.com/drone/go-github/github"
|
||||
)
|
||||
|
|
@ -8,7 +8,7 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/drone/drone/shared/remote"
|
||||
"github.com/drone/drone/plugin/remote"
|
||||
"github.com/drone/drone/shared/util/httputil"
|
||||
"github.com/drone/go-github/github"
|
||||
"github.com/drone/go-github/oauth2"
|
|
@ -1,7 +1,7 @@
|
|||
package gitlab
|
||||
|
||||
import (
|
||||
"github.com/drone/drone/shared/remote"
|
||||
"github.com/drone/drone/plugin/remote"
|
||||
)
|
||||
|
||||
type Client struct {
|
|
@ -5,7 +5,7 @@ import (
|
|||
"net/url"
|
||||
"strings"
|
||||
|
||||
"github.com/drone/drone/shared/remote"
|
||||
"github.com/drone/drone/plugin/remote"
|
||||
)
|
||||
|
||||
type Gitlab struct {
|
|
@ -1,7 +1,7 @@
|
|||
package stash
|
||||
|
||||
import (
|
||||
"github.com/drone/drone/shared/remote"
|
||||
"github.com/drone/drone/plugin/remote"
|
||||
)
|
||||
|
||||
type Client struct {
|
|
@ -5,7 +5,7 @@ import (
|
|||
"net/url"
|
||||
"strings"
|
||||
|
||||
"github.com/drone/drone/shared/remote"
|
||||
"github.com/drone/drone/plugin/remote"
|
||||
)
|
||||
|
||||
type Stash struct {
|
|
@ -1,12 +1,12 @@
|
|||
package config
|
||||
|
||||
import (
|
||||
"github.com/drone/drone/shared/remote"
|
||||
"github.com/drone/drone/shared/remote/bitbucket"
|
||||
"github.com/drone/drone/shared/remote/github"
|
||||
"github.com/drone/drone/shared/remote/gitlab"
|
||||
"github.com/drone/drone/shared/remote/stash"
|
||||
"github.com/drone/drone/shared/smtp"
|
||||
"github.com/drone/drone/plugin/remote"
|
||||
"github.com/drone/drone/plugin/remote/bitbucket"
|
||||
"github.com/drone/drone/plugin/remote/github"
|
||||
"github.com/drone/drone/plugin/remote/gitlab"
|
||||
"github.com/drone/drone/plugin/remote/stash"
|
||||
"github.com/drone/drone/plugin/smtp"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
|
|
|
@ -8,12 +8,12 @@ import (
|
|||
|
||||
"gopkg.in/yaml.v1"
|
||||
|
||||
"github.com/drone/drone/plugin/deploy"
|
||||
"github.com/drone/drone/plugin/notify"
|
||||
"github.com/drone/drone/plugin/publish"
|
||||
"github.com/drone/drone/shared/build/buildfile"
|
||||
"github.com/drone/drone/shared/build/git"
|
||||
"github.com/drone/drone/shared/build/repo"
|
||||
"github.com/drone/drone/shared/deploy"
|
||||
"github.com/drone/drone/shared/notify"
|
||||
"github.com/drone/drone/shared/publish"
|
||||
)
|
||||
|
||||
func ParseBuild(data string, params map[string]string) (*Build, error) {
|
||||
|
|
Loading…
Reference in a new issue