now all import paths point to github.com

This commit is contained in:
Anubhav Mishra
2017-05-24 18:07:14 -07:00
parent 5f47524655
commit 88fc0d0881
8 changed files with 33 additions and 26 deletions

View File

@@ -2,8 +2,9 @@ package middleware
import (
"net/http"
"github.com/hootsuite/atlantis/logging"
"github.com/urfave/negroni"
"github.hootops.com/production-delivery/atlantis/logging"
)
func NewNon200Logger(logger *logging.SimpleLogger) *FailedRequestLogger {
@@ -11,7 +12,7 @@ func NewNon200Logger(logger *logging.SimpleLogger) *FailedRequestLogger {
}
// FailedRequestLogger logs the request when a response code >= 400 is sent
type FailedRequestLogger struct{
type FailedRequestLogger struct {
logger *logging.SimpleLogger
}

View File

@@ -9,7 +9,8 @@ import (
"os/exec"
"path/filepath"
"strings"
"github.hootops.com/production-delivery/atlantis/logging"
"github.com/hootsuite/atlantis/logging"
)
// PlanExecutor handles everything related to running the Terraform plan including integration with Stash, S3, Terraform, and Github

View File

@@ -6,7 +6,8 @@ import (
"io/ioutil"
"os"
"os/exec"
"github.hootops.com/production-delivery/atlantis/logging"
"github.com/hootsuite/atlantis/logging"
)
const InlineShebang = "/bin/sh -e"

View File

@@ -4,7 +4,8 @@ import (
"log"
"os"
"testing"
"github.hootops.com/production-delivery/atlantis/logging"
"github.com/hootsuite/atlantis/logging"
)
var level = logging.Info

View File

@@ -2,21 +2,21 @@ package main
import (
"context"
"encoding/json"
"fmt"
"log"
"net/http"
"net/url"
"os"
"strings"
"encoding/json"
"github.com/google/go-github/github"
"github.com/urfave/cli"
"github.hootops.com/production-delivery/atlantis/recovery"
"github.com/urfave/negroni"
"github.hootops.com/production-delivery/atlantis/middleware"
"github.hootops.com/production-delivery/atlantis/logging"
"github.com/elazarl/go-bindata-assetfs"
"github.com/google/go-github/github"
"github.com/hootsuite/atlantis/logging"
"github.com/hootsuite/atlantis/middleware"
"github.com/hootsuite/atlantis/recovery"
"github.com/urfave/cli"
"github.com/urfave/negroni"
)
// WebhookServer listens for Github webhooks and runs the necessary Atlantis command
@@ -36,17 +36,17 @@ type Server struct {
}
type ServerConfig struct {
githubUsername string
githubPassword string
githubHostname string
sshKey string
awsAssumeRole string
port int
scratchDir string
awsRegion string
s3Bucket string
logLevel string
requireApproval bool
githubUsername string
githubPassword string
githubHostname string
sshKey string
awsAssumeRole string
port int
scratchDir string
awsRegion string
s3Bucket string
logLevel string
requireApproval bool
}
type ExecutionContext struct {

View File

@@ -5,7 +5,8 @@ import (
"encoding/json"
"io/ioutil"
"net/http"
"github.hootops.com/production-delivery/atlantis/logging"
"github.com/hootsuite/atlantis/logging"
)
const stashUrl = "http://stash.hootops.com"

View File

@@ -3,7 +3,8 @@ package main
import (
"encoding/json"
"fmt"
"github.hootops.com/production-delivery/atlantis/logging"
"github.com/hootsuite/atlantis/logging"
)
type StashPullRequestContext struct {

View File

@@ -6,7 +6,8 @@ import (
"os/exec"
"path/filepath"
"regexp"
"github.hootops.com/production-delivery/atlantis/logging"
"github.com/hootsuite/atlantis/logging"
)
type TerraformClient struct {