Skip to content

Commit

Permalink
Excavator: Removes legacy format-plugin.yml configuration (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot authored May 27, 2021
1 parent b22c598 commit 53d832d
Show file tree
Hide file tree
Showing 21 changed files with 25 additions and 49 deletions.
3 changes: 1 addition & 2 deletions bulldozer/evaluate.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ import (
"context"
"strings"

"github.com/palantir/bulldozer/pull"
"github.com/pkg/errors"
"github.com/rs/zerolog"

"github.com/palantir/bulldozer/pull"
)

// IsPRIgnored returns true if the PR is identified as ignored,
Expand Down
3 changes: 1 addition & 2 deletions bulldozer/evaluate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ import (
"context"
"testing"

"github.com/palantir/bulldozer/pull/pulltest"
"github.com/pkg/errors"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/palantir/bulldozer/pull/pulltest"
)

func TestSimpleXListed(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions bulldozer/merge.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ import (
"time"

"github.com/google/go-github/v32/github"
"github.com/palantir/bulldozer/pull"
"github.com/pkg/errors"
"github.com/rs/zerolog"

"github.com/palantir/bulldozer/pull"
)

const MaxPullRequestPollCount = 5
Expand Down
5 changes: 2 additions & 3 deletions bulldozer/merge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ import (
"context"
"testing"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/palantir/bulldozer/pull"
"github.com/palantir/bulldozer/pull/pulltest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

type MockMerger struct {
Expand Down
3 changes: 1 addition & 2 deletions bulldozer/signals.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ import (
"regexp"
"strings"

"github.com/rs/zerolog"

"github.com/palantir/bulldozer/pull"
"github.com/rs/zerolog"
)

type Signals struct {
Expand Down
5 changes: 2 additions & 3 deletions bulldozer/signals_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ import (
"context"
"testing"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/palantir/bulldozer/pull"
"github.com/palantir/bulldozer/pull/pulltest"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

func TestSignalsMatches(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions bulldozer/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ import (
"context"

"github.com/google/go-github/v32/github"
"github.com/palantir/bulldozer/pull"
"github.com/pkg/errors"
"github.com/rs/zerolog"

"github.com/palantir/bulldozer/pull"
)

func ShouldUpdatePR(ctx context.Context, pullCtx pull.Context, updateConfig UpdateConfig) (bool, error) {
Expand Down
3 changes: 1 addition & 2 deletions bulldozer/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ import (
"fmt"
"testing"

"github.com/stretchr/testify/require"

"github.com/palantir/bulldozer/pull"
"github.com/palantir/bulldozer/pull/pulltest"
"github.com/stretchr/testify/require"
)

func TestShouldUpdatePR(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions cmd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ import (
"io/ioutil"
"os"

"github.com/palantir/bulldozer/server"
"github.com/pkg/errors"
"github.com/spf13/cobra"

"github.com/palantir/bulldozer/server"
)

var serverCmdConfig struct {
Expand Down
4 changes: 0 additions & 4 deletions godel/config/format-plugin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
formatters:
ptimports:
config:
separate-project-imports: true
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ import (
"fmt"
"os"

"github.com/palantir/go-baseapp/pkg/errfmt"

"github.com/palantir/bulldozer/cmd"
"github.com/palantir/go-baseapp/pkg/errfmt"
)

func main() {
Expand Down
3 changes: 1 addition & 2 deletions server/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ import (
"os"

"github.com/c2h5oh/datasize"
"github.com/palantir/bulldozer/bulldozer"
"github.com/palantir/go-baseapp/baseapp"
"github.com/palantir/go-baseapp/baseapp/datadog"
"github.com/palantir/go-githubapp/githubapp"
"github.com/pkg/errors"
"gopkg.in/yaml.v2"

"github.com/palantir/bulldozer/bulldozer"
)

const (
Expand Down
5 changes: 2 additions & 3 deletions server/handler/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ import (
"context"

"github.com/google/go-github/v32/github"
"github.com/palantir/bulldozer/bulldozer"
"github.com/palantir/bulldozer/pull"
"github.com/palantir/go-githubapp/githubapp"
"github.com/pkg/errors"
"github.com/rs/zerolog"

"github.com/palantir/bulldozer/bulldozer"
"github.com/palantir/bulldozer/pull"
)

type Base struct {
Expand Down
3 changes: 1 addition & 2 deletions server/handler/check_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ import (
"encoding/json"

"github.com/google/go-github/v32/github"
"github.com/palantir/bulldozer/pull"
"github.com/palantir/go-githubapp/githubapp"
"github.com/pkg/errors"

"github.com/palantir/bulldozer/pull"
)

type CheckRun struct {
Expand Down
3 changes: 1 addition & 2 deletions server/handler/health.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ package handler
import (
"net/http"

"github.com/palantir/go-baseapp/baseapp"

"github.com/palantir/bulldozer/version"
"github.com/palantir/go-baseapp/baseapp"
)

type HealthCheck struct {
Expand Down
3 changes: 1 addition & 2 deletions server/handler/issue_comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ import (
"encoding/json"

"github.com/google/go-github/v32/github"
"github.com/palantir/bulldozer/pull"
"github.com/palantir/go-githubapp/githubapp"
"github.com/pkg/errors"

"github.com/palantir/bulldozer/pull"
)

type IssueComment struct {
Expand Down
3 changes: 1 addition & 2 deletions server/handler/pull_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ import (
"encoding/json"

"github.com/google/go-github/v32/github"
"github.com/palantir/bulldozer/pull"
"github.com/palantir/go-githubapp/githubapp"
"github.com/pkg/errors"

"github.com/palantir/bulldozer/pull"
)

type PullRequest struct {
Expand Down
3 changes: 1 addition & 2 deletions server/handler/pull_request_review.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ import (
"encoding/json"

"github.com/google/go-github/v32/github"
"github.com/palantir/bulldozer/pull"
"github.com/palantir/go-githubapp/githubapp"
"github.com/pkg/errors"

"github.com/palantir/bulldozer/pull"
)

type PullRequestReview struct {
Expand Down
3 changes: 1 addition & 2 deletions server/handler/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ import (
"encoding/json"

"github.com/google/go-github/v32/github"
"github.com/palantir/bulldozer/pull"
"github.com/palantir/go-githubapp/githubapp"
"github.com/pkg/errors"

"github.com/palantir/bulldozer/pull"
)

type Push struct {
Expand Down
3 changes: 1 addition & 2 deletions server/handler/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ import (
"encoding/json"

"github.com/google/go-github/v32/github"
"github.com/palantir/bulldozer/pull"
"github.com/palantir/go-githubapp/githubapp"
"github.com/pkg/errors"

"github.com/palantir/bulldozer/pull"
)

type Status struct {
Expand Down
7 changes: 3 additions & 4 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,15 @@ import (
"github.com/c2h5oh/datasize"
"github.com/die-net/lrucache"
"github.com/gregjones/httpcache"
"github.com/palantir/bulldozer/bulldozer"
"github.com/palantir/bulldozer/server/handler"
"github.com/palantir/bulldozer/version"
"github.com/palantir/go-baseapp/baseapp"
"github.com/palantir/go-baseapp/baseapp/datadog"
"github.com/palantir/go-githubapp/githubapp"
"github.com/pkg/errors"
"github.com/rs/zerolog"
"goji.io/pat"

"github.com/palantir/bulldozer/bulldozer"
"github.com/palantir/bulldozer/server/handler"
"github.com/palantir/bulldozer/version"
)

type Server struct {
Expand Down

0 comments on commit 53d832d

Please sign in to comment.