Move Plugins to a /plugin Directory

This commit is contained in:
Brad Rydzewski 2014-06-12 14:46:55 -07:00
parent 12fae4b62e
commit 170135cb1d
48 changed files with 17 additions and 17 deletions

View file

@ -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"

View file

@ -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"
) )

View file

@ -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"
) )

View file

@ -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"

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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) {