From f8f1ebf0c7c0e092fd417a5431d68897516504ca Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Wed, 18 Nov 2020 11:40:06 -0800 Subject: [PATCH] move version and useragent definitions into sdk --- Makefile | 2 +- builder/alicloud/version/version.go | 2 +- builder/amazon/version/version.go | 2 +- builder/azure/arm/azure_client.go | 2 +- builder/azure/common/client/azure_client_set.go | 2 +- builder/azure/common/client/devicelogin.go | 2 +- builder/azure/dtl/azure_client.go | 2 +- builder/azure/version/version.go | 2 +- builder/cloudstack/version/version.go | 2 +- builder/digitalocean/version/version.go | 2 +- builder/docker/version/version.go | 2 +- builder/file/version/version.go | 2 +- builder/googlecompute/driver_gce.go | 2 +- builder/googlecompute/version/version.go | 2 +- builder/hcloud/version/version.go | 2 +- builder/hyperone/version/version.go | 2 +- builder/hyperv/version/version.go | 2 +- builder/jdcloud/version/version.go | 2 +- builder/linode/version/version.go | 2 +- builder/lxc/version/version.go | 2 +- builder/lxd/version/version.go | 2 +- builder/ncloud/version/version.go | 2 +- builder/null/version/version.go | 2 +- builder/oneandone/version/version.go | 2 +- builder/openstack/version/version.go | 2 +- builder/oracle/version/version.go | 2 +- builder/osc/version/version.go | 2 +- builder/parallels/version/version.go | 2 +- builder/profitbricks/version/version.go | 2 +- builder/proxmox/version/version.go | 2 +- builder/qemu/version/version.go | 2 +- builder/scaleway/config.go | 2 +- builder/scaleway/version/version.go | 2 +- builder/tencentcloud/version/version.go | 2 +- builder/triton/version/version.go | 2 +- builder/ucloud/version/version.go | 2 +- builder/vagrant/version/version.go | 2 +- builder/virtualbox/version/version.go | 2 +- builder/vmware/version/version.go | 2 +- builder/vsphere/version/version.go | 2 +- builder/yandex/driver_yc.go | 2 +- builder/yandex/version/version.go | 2 +- cmd/generate-fixer-deprecations/main.go | 4 ++-- cmd/mapstructure-to-hcl2/mapstructure-to-hcl2.go | 2 +- {helper => packer-plugin-sdk}/useragent/useragent.go | 0 {helper => packer-plugin-sdk}/useragent/useragent_test.go | 0 {helper => packer-plugin-sdk}/version/version.go | 0 post-processor/alicloud-import/version/version.go | 2 +- post-processor/amazon-import/version/version.go | 2 +- post-processor/artifice/version/version.go | 2 +- post-processor/checksum/version/version.go | 2 +- post-processor/compress/version/version.go | 2 +- post-processor/digitalocean-import/version/version.go | 2 +- post-processor/docker-import/version/version.go | 2 +- post-processor/docker-push/version/version.go | 2 +- post-processor/docker-save/version/version.go | 2 +- post-processor/docker-tag/version/version.go | 2 +- post-processor/exoscale-import/version/version.go | 2 +- post-processor/googlecompute-export/version/version.go | 2 +- post-processor/googlecompute-import/version/version.go | 2 +- post-processor/manifest/version/version.go | 2 +- post-processor/shell-local/version/version.go | 2 +- post-processor/ucloud-import/version/version.go | 2 +- post-processor/vagrant-cloud/version/version.go | 2 +- post-processor/vagrant/version/version.go | 2 +- post-processor/vsphere-template/version/version.go | 2 +- post-processor/vsphere/version/version.go | 2 +- post-processor/yandex-export/version/version.go | 2 +- post-processor/yandex-import/version/version.go | 2 +- provisioner/ansible-local/version/version.go | 2 +- provisioner/ansible/version/version.go | 2 +- provisioner/azure-dtlartifact/version/version.go | 2 +- provisioner/breakpoint/version/version.go | 2 +- provisioner/chef-client/version/version.go | 2 +- provisioner/chef-solo/version/version.go | 2 +- provisioner/converge/version/version.go | 2 +- provisioner/file/version/version.go | 2 +- provisioner/inspec/version/version.go | 2 +- provisioner/powershell/version/version.go | 2 +- provisioner/puppet-masterless/version/version.go | 2 +- provisioner/puppet-server/version/version.go | 2 +- provisioner/salt-masterless/version/version.go | 2 +- provisioner/shell-local/version/version.go | 2 +- provisioner/shell/version/version.go | 2 +- provisioner/sleep/version/version.go | 2 +- provisioner/windows-restart/version/version.go | 2 +- provisioner/windows-shell/version/version.go | 2 +- version/version.go | 2 +- 88 files changed, 86 insertions(+), 86 deletions(-) rename {helper => packer-plugin-sdk}/useragent/useragent.go (100%) rename {helper => packer-plugin-sdk}/useragent/useragent_test.go (100%) rename {helper => packer-plugin-sdk}/version/version.go (100%) diff --git a/Makefile b/Makefile index f4d375843..3a50eaf44 100644 --- a/Makefile +++ b/Makefile @@ -123,7 +123,7 @@ generate: install-gen-deps ## Generate dynamically generated code @echo "==> removing autogenerated markdown..." @find website/pages/ -type f | xargs grep -l '^