code.google.com/p/go.crypto/ssh -> golang.org/x/crypto/ssh

code.google.com/p/go.crypto/ssh is now at golang.org/x/crypto/ssh as of
https://code.google.com/p/go/source/detail?spec=svn.crypto.69e2a90ed92d03812364aeb947b7068dc42e561e&repo=crypto&r=8fec09c61d5d66f460d227fd1df3473d7e015bc6

Using the code.google.com import redirects properly, but runs into
issues if you try to use a subpackage of `ssh`, e.g. `agent` which
refers to golang.org/x/crypto/ssh causing conflicts if your types expect
code.google.com/p/go.crypto/ssh.

This is a precursor to a PR for #1066.
This commit is contained in:
jszwedko 2015-04-03 22:30:13 -07:00 committed by Mitchell Hashimoto
parent 8367c0bdce
commit b1497b951c
16 changed files with 16 additions and 16 deletions

View File

@ -1,7 +1,7 @@
package common
import (
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"errors"
"fmt"
"github.com/mitchellh/goamz/ec2"

View File

@ -1,7 +1,7 @@
package digitalocean
import (
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"fmt"
"github.com/mitchellh/multistep"
)

View File

@ -1,7 +1,7 @@
package googlecompute
import (
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"fmt"
"github.com/mitchellh/multistep"
)

View File

@ -1,7 +1,7 @@
package null
import (
gossh "code.google.com/p/go.crypto/ssh"
gossh "golang.org/x/crypto/ssh"
"fmt"
"github.com/mitchellh/multistep"
"github.com/mitchellh/packer/communicator/ssh"

View File

@ -1,7 +1,7 @@
package openstack
import (
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"errors"
"fmt"
"github.com/mitchellh/multistep"

View File

@ -3,7 +3,7 @@ package common
import (
"fmt"
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"github.com/mitchellh/multistep"
commonssh "github.com/mitchellh/packer/common/ssh"
packerssh "github.com/mitchellh/packer/communicator/ssh"

View File

@ -3,7 +3,7 @@ package qemu
import (
"fmt"
gossh "code.google.com/p/go.crypto/ssh"
gossh "golang.org/x/crypto/ssh"
"github.com/mitchellh/multistep"
commonssh "github.com/mitchellh/packer/common/ssh"
"github.com/mitchellh/packer/communicator/ssh"

View File

@ -3,7 +3,7 @@ package common
import (
"fmt"
gossh "code.google.com/p/go.crypto/ssh"
gossh "golang.org/x/crypto/ssh"
"github.com/mitchellh/multistep"
commonssh "github.com/mitchellh/packer/common/ssh"
"github.com/mitchellh/packer/communicator/ssh"

View File

@ -7,7 +7,7 @@ import (
"log"
"os"
gossh "code.google.com/p/go.crypto/ssh"
gossh "golang.org/x/crypto/ssh"
"github.com/mitchellh/multistep"
commonssh "github.com/mitchellh/packer/common/ssh"
"github.com/mitchellh/packer/communicator/ssh"

View File

@ -14,10 +14,10 @@ import (
"strings"
"time"
gossh "code.google.com/p/go.crypto/ssh"
"github.com/mitchellh/multistep"
"github.com/mitchellh/packer/communicator/ssh"
"github.com/mitchellh/packer/packer"
gossh "golang.org/x/crypto/ssh"
)
// ESX5 driver talks to an ESXi5 hypervisor remotely over SSH to build

View File

@ -6,7 +6,7 @@ import (
"io/ioutil"
"os"
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
)
// FileSigner returns an ssh.Signer for a key file.

View File

@ -1,7 +1,7 @@
package common
import (
gossh "code.google.com/p/go.crypto/ssh"
gossh "golang.org/x/crypto/ssh"
"errors"
"fmt"
"github.com/mitchellh/multistep"

View File

@ -3,7 +3,7 @@ package ssh
import (
"bufio"
"bytes"
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"errors"
"fmt"
"github.com/mitchellh/packer/packer"

View File

@ -4,7 +4,7 @@ package ssh
import (
"bytes"
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"fmt"
"github.com/mitchellh/packer/packer"
"net"

View File

@ -1,7 +1,7 @@
package ssh
import (
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"log"
)

View File

@ -1,7 +1,7 @@
package ssh
import (
"code.google.com/p/go.crypto/ssh"
"golang.org/x/crypto/ssh"
"reflect"
"testing"
)