Skip to content

Commit

Permalink
switched package name
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed Jul 6, 2019
1 parent a2df495 commit 6796482
Show file tree
Hide file tree
Showing 152 changed files with 170 additions and 170 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/drone/go-scm
module github.com/jenkins-x/go-scm

require (
github.com/google/go-cmp v0.2.0
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/bitbucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"net/url"
"strings"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

// New returns a new Bitbucket API client.
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/bitbucket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package bitbucket
import (
"testing"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

func TestClient(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/content.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"context"
"fmt"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type contentService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/content_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"io/ioutil"
"testing"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"

"github.com/google/go-cmp/cmp"
"github.com/h2non/gock"
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"time"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type gitService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/git_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"io/ioutil"
"testing"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"

"github.com/google/go-cmp/cmp"
"github.com/h2non/gock"
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package bitbucket
import (
"context"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type issueService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/issue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"context"
"testing"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

func TestIssueFind(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/org.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"context"
"fmt"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type organizationService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/org_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"io/ioutil"
"testing"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"

"github.com/google/go-cmp/cmp"
"github.com/h2non/gock"
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/pr.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"context"
"fmt"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type pullService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/pr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"io/ioutil"
"testing"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"

"github.com/google/go-cmp/cmp"
"github.com/h2non/gock"
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"time"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type repository struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/repo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"io/ioutil"
"testing"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"

"github.com/google/go-cmp/cmp"
"github.com/h2non/gock"
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/review.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package bitbucket
import (
"context"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type reviewService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/review_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"context"
"testing"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

func TestReviewFind(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"context"
"fmt"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type userService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"io/ioutil"
"testing"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"

"github.com/google/go-cmp/cmp"
"github.com/h2non/gock"
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"regexp"
"strconv"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

// regex for git author fields ("name <[email protected]>")
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package bitbucket
import (
"testing"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

func Test_encodeListOptions(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"net/http"
"time"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

// TODO(bradrydzewski) default repository branch is missing in push webhook payloads
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/bitbucket/webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (
"strings"
"testing"

"github.com/drone/go-scm/scm"
"github.com/google/go-cmp/cmp"
"github.com/jenkins-x/go-scm/scm"
)

func TestWebhooks(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/content.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"
"strings"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type contentService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/content_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"context"
"testing"

"github.com/drone/go-scm/scm"
"github.com/h2non/gock"
"github.com/jenkins-x/go-scm/scm"
)

func TestContentFind(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"time"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type gitService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/git_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"io/ioutil"
"testing"

"github.com/drone/go-scm/scm"
"github.com/google/go-cmp/cmp"
"github.com/h2non/gock"
"github.com/jenkins-x/go-scm/scm"
)

//
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/gitea.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"net/url"
"strings"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

// New returns a new Gitea API client.
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/issue.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"time"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type issueService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/issue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"io/ioutil"
"testing"

"github.com/drone/go-scm/scm"
"github.com/google/go-cmp/cmp"
"github.com/h2non/gock"
"github.com/jenkins-x/go-scm/scm"
)

//
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/org.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"context"
"fmt"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type organizationService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/org_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"io/ioutil"
"testing"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"

"github.com/google/go-cmp/cmp"
"github.com/h2non/gock"
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/pr.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"time"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type pullService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/pr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"io/ioutil"
"testing"

"github.com/drone/go-scm/scm"
"github.com/google/go-cmp/cmp"
"github.com/h2non/gock"
"github.com/jenkins-x/go-scm/scm"
)

//
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strconv"
"time"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type repositoryService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/repo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"io/ioutil"
"testing"

"github.com/drone/go-scm/scm"
"github.com/google/go-cmp/cmp"
"github.com/h2non/gock"
"github.com/jenkins-x/go-scm/scm"
)

//
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/review.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package gitea
import (
"context"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type reviewService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/review_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"context"
"testing"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

func TestReviewFind(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"context"
"fmt"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type userService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"io/ioutil"
"testing"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"

"github.com/google/go-cmp/cmp"
"github.com/h2non/gock"
Expand Down
4 changes: 2 additions & 2 deletions scm/driver/gitea/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"io/ioutil"
"net/http"

"github.com/drone/go-scm/scm"
"github.com/drone/go-scm/scm/driver/internal/hmac"
"github.com/jenkins-x/go-scm/scm"
"github.com/jenkins-x/go-scm/scm/driver/internal/hmac"
)

type webhookService struct {
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/gitea/webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"
"testing"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"

"github.com/google/go-cmp/cmp"
)
Expand Down
2 changes: 1 addition & 1 deletion scm/driver/github/content.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"
"time"

"github.com/drone/go-scm/scm"
"github.com/jenkins-x/go-scm/scm"
)

type contentService struct {
Expand Down
Loading

0 comments on commit 6796482

Please sign in to comment.