From 43f004b2b834837e6a34d141ed5267b01a952d5c Mon Sep 17 00:00:00 2001 From: Ben Webber Date: Sun, 4 Mar 2018 14:13:40 +0000 Subject: [PATCH] Update Packer package namespaces --- Makefile | 2 +- main.go | 2 +- vhd/post-processor.go | 12 ++++++------ vhd/post-processor_test.go | 2 +- vhd/provider.go | 2 +- vhd/qemu.go | 4 ++-- vhd/virtualbox.go | 6 +++--- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Makefile b/Makefile index fa27ad9..484f27a 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ help: @echo "release push tags and binaries upstream" .depend: - go get -d github.com/mitchellh/packer + go get -d github.com/hashicorp/packer clean: go clean -x diff --git a/main.go b/main.go index 8e9d916..1026d8a 100644 --- a/main.go +++ b/main.go @@ -2,7 +2,7 @@ package main import ( "github.com/benwebber/packer-post-processor-vhd/vhd" - "github.com/mitchellh/packer/packer/plugin" + "github.com/hashicorp/packer/packer/plugin" ) func main() { diff --git a/vhd/post-processor.go b/vhd/post-processor.go index 1ecb7cb..06d8784 100644 --- a/vhd/post-processor.go +++ b/vhd/post-processor.go @@ -6,12 +6,12 @@ import ( "fmt" "os" - "github.com/mitchellh/packer/builder/qemu" - vboxcommon "github.com/mitchellh/packer/builder/virtualbox/common" - "github.com/mitchellh/packer/common" - "github.com/mitchellh/packer/helper/config" - "github.com/mitchellh/packer/packer" - "github.com/mitchellh/packer/template/interpolate" + "github.com/hashicorp/packer/builder/qemu" + vboxcommon "github.com/hashicorp/packer/builder/virtualbox/common" + "github.com/hashicorp/packer/common" + "github.com/hashicorp/packer/helper/config" + "github.com/hashicorp/packer/packer" + "github.com/hashicorp/packer/template/interpolate" ) // Map Builders to Providers: these are the types of artifacts we know how to diff --git a/vhd/post-processor_test.go b/vhd/post-processor_test.go index 474cae7..1944249 100644 --- a/vhd/post-processor_test.go +++ b/vhd/post-processor_test.go @@ -3,7 +3,7 @@ package vhd import ( "testing" - "github.com/mitchellh/packer/packer" + "github.com/hashicorp/packer/packer" ) func TestPostProcessor_ImplementsPostProcessor(t *testing.T) { diff --git a/vhd/provider.go b/vhd/provider.go index 57b5939..4ad0f09 100644 --- a/vhd/provider.go +++ b/vhd/provider.go @@ -1,6 +1,6 @@ package vhd -import "github.com/mitchellh/packer/packer" +import "github.com/hashicorp/packer/packer" // A Provider wraps logic necessary to convert specific builder artifacts to // VHD. diff --git a/vhd/qemu.go b/vhd/qemu.go index 2c9ed37..7b97409 100644 --- a/vhd/qemu.go +++ b/vhd/qemu.go @@ -6,8 +6,8 @@ import ( "os/exec" "strings" - "github.com/mitchellh/packer/builder/qemu" - "github.com/mitchellh/packer/packer" + "github.com/hashicorp/packer/builder/qemu" + "github.com/hashicorp/packer/packer" ) // QEMUProvider satisfies the Provider interface. diff --git a/vhd/virtualbox.go b/vhd/virtualbox.go index ebca1b7..dcd8e27 100644 --- a/vhd/virtualbox.go +++ b/vhd/virtualbox.go @@ -6,9 +6,9 @@ import ( "path/filepath" "strings" - vboxcommon "github.com/mitchellh/packer/builder/virtualbox/common" - "github.com/mitchellh/packer/packer" - "github.com/mitchellh/packer/post-processor/vagrant" + vboxcommon "github.com/hashicorp/packer/builder/virtualbox/common" + "github.com/hashicorp/packer/packer" + "github.com/hashicorp/packer/post-processor/vagrant" ) // VirtualBoxProvider satisfies the Provider interface.