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"
|
"net/url"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/drone/drone/shared/remote"
|
"github.com/drone/drone/plugin/remote"
|
||||||
"github.com/drone/drone/shared/util/httputil"
|
"github.com/drone/drone/shared/util/httputil"
|
||||||
"github.com/drone/go-bitbucket/bitbucket"
|
"github.com/drone/go-bitbucket/bitbucket"
|
||||||
"github.com/drone/go-bitbucket/oauth1"
|
"github.com/drone/go-bitbucket/oauth1"
|
|
@ -2,7 +2,7 @@ package bitbucket
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/drone/drone/shared/remote"
|
"github.com/drone/drone/plugin/remote"
|
||||||
"github.com/drone/go-bitbucket/bitbucket"
|
"github.com/drone/go-bitbucket/bitbucket"
|
||||||
"net/url"
|
"net/url"
|
||||||
)
|
)
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
"github.com/drone/drone/shared/remote"
|
"github.com/drone/drone/plugin/remote"
|
||||||
"github.com/drone/go-github/github"
|
"github.com/drone/go-github/github"
|
||||||
)
|
)
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/drone/drone/shared/remote"
|
"github.com/drone/drone/plugin/remote"
|
||||||
"github.com/drone/drone/shared/util/httputil"
|
"github.com/drone/drone/shared/util/httputil"
|
||||||
"github.com/drone/go-github/github"
|
"github.com/drone/go-github/github"
|
||||||
"github.com/drone/go-github/oauth2"
|
"github.com/drone/go-github/oauth2"
|
|
@ -1,7 +1,7 @@
|
||||||
package gitlab
|
package gitlab
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/drone/drone/shared/remote"
|
"github.com/drone/drone/plugin/remote"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Client struct {
|
type Client struct {
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"net/url"
|
"net/url"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/drone/drone/shared/remote"
|
"github.com/drone/drone/plugin/remote"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Gitlab struct {
|
type Gitlab struct {
|
|
@ -1,7 +1,7 @@
|
||||||
package stash
|
package stash
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/drone/drone/shared/remote"
|
"github.com/drone/drone/plugin/remote"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Client struct {
|
type Client struct {
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"net/url"
|
"net/url"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/drone/drone/shared/remote"
|
"github.com/drone/drone/plugin/remote"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Stash struct {
|
type Stash struct {
|
|
@ -1,12 +1,12 @@
|
||||||
package config
|
package config
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/drone/drone/shared/remote"
|
"github.com/drone/drone/plugin/remote"
|
||||||
"github.com/drone/drone/shared/remote/bitbucket"
|
"github.com/drone/drone/plugin/remote/bitbucket"
|
||||||
"github.com/drone/drone/shared/remote/github"
|
"github.com/drone/drone/plugin/remote/github"
|
||||||
"github.com/drone/drone/shared/remote/gitlab"
|
"github.com/drone/drone/plugin/remote/gitlab"
|
||||||
"github.com/drone/drone/shared/remote/stash"
|
"github.com/drone/drone/plugin/remote/stash"
|
||||||
"github.com/drone/drone/shared/smtp"
|
"github.com/drone/drone/plugin/smtp"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
|
|
|
@ -8,12 +8,12 @@ import (
|
||||||
|
|
||||||
"gopkg.in/yaml.v1"
|
"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/buildfile"
|
||||||
"github.com/drone/drone/shared/build/git"
|
"github.com/drone/drone/shared/build/git"
|
||||||
"github.com/drone/drone/shared/build/repo"
|
"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) {
|
func ParseBuild(data string, params map[string]string) (*Build, error) {
|
||||||
|
|
Loading…
Reference in a new issue