packer-cn/fix
Adrien Delorme 0fa60c68fb
Drop the iso_checksum_type & iso_checksum_url fields (#8437)
* Drop the iso_checksum_type & iso_checksum_url fields

In favor of simply using iso_checksum that will know what to do.

* fix after master merge

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* remove checksum lowercasing tests

* Update builder_test.go

* Update builder_test.go

* better docs

* Update builder_test.go

* even better docs

* Update config.go

* Update builder_test.go

* Update step_create_vmx_test.go

* make generate

* better docs

* fix imports

* up tests

* Update _ISOConfig-required.html.md

* Update builder_test.go

* don't use sha1.Sum("none") as a caching path

* Update builder_test.go

* better docs

* Update iso_config_test.go

remove ISOChecksumType/ISOChecksumURL references

* Update step_download_test.go

* add iso_checksum_url and iso_checksum_type fixers + tests

* add concrete examples of checksum values

* add examples of checksumming from local file

* update go-getter dep

* up deps

* use new go-getter version

* up ESX5Driver.VerifyChecksum: use go-getter's checksumming

* ISOConfig.Prepare: get checksum there in case we need it as a string in ESX5Driver.VerifyChecksum

* Update iso_config.go

* get go-getter from v2 branch

* Update driver_esx5.go

add more comments

* Update driver_esx5.go

* show better error message when the checksum is invalid

* Update builder_test.go

put in a valid checksum to fix tests, checksum is md5("packer")

* Update builder_test.go

test invalid and valid checksum

* more test updating

* fix default md5 string to be a valid md5

* TestChecksumFileNameMixedCaseBug: use 'file:' prefix for file checksumming

* Update iso_config_test.go

* Update iso_config_test.go

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update go.mod

* Update go.mod

* Update CHANGELOG.md
2020-05-28 11:02:09 +02:00
..
fixer.go (vsphere-iso) remove deprecated network and disk fields (#9149) 2020-05-19 10:06:12 -04:00
fixer_amazon_enhanced_networking.go builder/amazon: remove ssh_private_ip 2018-02-08 16:47:43 -08:00
fixer_amazon_enhanced_networking_test.go builder/amazon: remove ssh_private_ip 2018-02-08 16:47:43 -08:00
fixer_amazon_private_ip.go Append underlying error to output when FixerAmazonPrivateIP cannot parse the value of ssh_private_ip 2019-02-25 14:20:14 -06:00
fixer_amazon_private_ip_test.go gofix 2019-02-25 14:41:26 -06:00
fixer_amazon_shutdown_behavior.go builder/amazon: remove ssh_private_ip 2018-02-08 16:47:43 -08:00
fixer_amazon_shutdown_behavior_test.go builder/amazon: Change shutdown_behaviour to shutdown_behavior 2016-12-14 21:59:16 +01:00
fixer_amazon_spot_price_product.go add a fixer and update docs for spot_price_auto_product 2019-07-01 13:01:41 -07:00
fixer_amazon_temporary_security_group_cidrs.go Add golangci-lint to project (#8686) 2020-02-14 11:42:29 -05:00
fixer_amazon_temporary_security_group_cidrs_test.go Fix typographical errors in the fixers 2019-04-01 23:42:31 -07:00
fixer_clean_image_name.go add a Fixer that replaces the "clean_(image|ami)_name" template calls with "clean_resource_name" 2019-04-05 15:30:41 +02:00
fixer_clean_image_name_test.go add a Fixer that replaces the "clean_(image|ami)_name" template calls with "clean_resource_name" 2019-04-05 15:30:41 +02:00
fixer_comm_config.go Fix gosimple S1005 linting issue (#8870) 2020-03-11 10:30:08 +01:00
fixer_comm_config_test.go Rename communicator config variables and remove deprecated code (#8584) 2020-01-09 08:37:30 -08:00
fixer_createtime.go run goimports 2018-01-22 17:21:10 -08:00
fixer_createtime_test.go run gofmt 2016-11-01 14:08:04 -07:00
fixer_docker_email.go bug fix and add test 2018-09-06 12:19:31 -07:00
fixer_galaxy_command.go Fix typo in Synopsis for galaxycommand fixer (#8573) 2020-01-07 11:05:35 +01:00
fixer_galaxy_command_test.go removed escape character check, updated synopsis string, change type to 'ansbile-local' only 2019-11-27 20:27:24 -05:00
fixer_hyperv_cpu_and_ram_naming.go write fixer 2019-03-29 15:30:00 -07:00
fixer_hyperv_deprecations.go Fixer and tests to remove deprecated 'vhd_temp_path' Hyper-V ISO setting 2018-07-20 02:12:47 +01:00
fixer_hyperv_deprecations_test.go Fixer and tests to remove deprecated 'vhd_temp_path' Hyper-V ISO setting 2018-07-20 02:12:47 +01:00
fixer_hyperv_vmxc_typo.go Fixer and tests to convert 'clone_from_vmxc_path' -> 'clone_from_vmcx_path' 2018-07-20 02:12:48 +01:00
fixer_hyperv_vmxc_typo_test.go Fixer and tests to convert 'clone_from_vmxc_path' -> 'clone_from_vmcx_path' 2018-07-20 02:12:48 +01:00
fixer_iso_checksum_type_and_url.go Drop the iso_checksum_type & iso_checksum_url fields (#8437) 2020-05-28 11:02:09 +02:00
fixer_iso_checksum_type_and_url_test.go Drop the iso_checksum_type & iso_checksum_url fields (#8437) 2020-05-28 11:02:09 +02:00
fixer_iso_md5.go command: move all remaining commands 2014-10-27 20:34:49 -07:00
fixer_iso_md5_test.go run gofmt 2016-11-01 14:08:04 -07:00
fixer_parallels_deprecations.go Update and futureproof fix command usage 2019-07-24 17:18:07 +01:00
fixer_parallels_deprecations_test.go go 1.11 format rules 2018-08-24 15:56:44 -07:00
fixer_parallels_headless.go Enable headless mode by default on Parallels Desktop 11 2015-08-24 15:09:29 +02:00
fixer_parallels_headless_test.go Enable headless mode by default on Parallels Desktop 11 2015-08-24 15:09:29 +02:00
fixer_powershell_escapes.go s/boot_command/bootcommand/ 2018-04-19 14:26:31 -07:00
fixer_pp_docker_tag_tags.go update consul and vault dependencies (#9205) 2020-05-11 15:26:01 -04:00
fixer_pp_docker_tag_tags_test.go fix unrelated broken flaky test 2020-05-08 15:14:29 -07:00
fixer_pp_manifest_filename.go bug fix and add test 2018-09-06 12:19:31 -07:00
fixer_pp_manifest_filename_test.go bug fix and add test 2018-09-06 12:19:31 -07:00
fixer_pp_vagrant_override.go bug fix and add test 2018-09-06 12:19:31 -07:00
fixer_pp_vagrant_override_test.go bug fix and add test 2018-09-06 12:19:31 -07:00
fixer_qemu_disk_size.go Implement fixer to convert qemu disk size type to string 2019-11-20 10:41:08 -06:00
fixer_qemu_disk_size_test.go Implement fixer to convert qemu disk size type to string 2019-11-20 10:41:08 -06:00
fixer_scaleway_access_key.go Revert "Revert "Rename attribute api_access_key to organization_id"" 2018-11-09 08:47:22 -08:00
fixer_scaleway_access_key_test.go Revert "Revert "Rename attribute api_access_key to organization_id"" 2018-11-09 08:47:22 -08:00
fixer_ssh_timeout.go Rename communicator config variables and remove deprecated code (#8584) 2020-01-09 08:37:30 -08:00
fixer_ssh_timeout_test.go Rename communicator config variables and remove deprecated code (#8584) 2020-01-09 08:37:30 -08:00
fixer_sshdisableagent.go ssh: Renamed ssh_disable_agent to ssh_disable_agent_forwarding 2017-06-19 16:26:18 +02:00
fixer_sshdisableagent_test.go ssh: Renamed ssh_disable_agent to ssh_disable_agent_forwarding 2017-06-19 16:26:18 +02:00
fixer_sshkeypath.go Added fixer for ssh_key_path 2016-02-12 17:24:42 -08:00
fixer_sshkeypath_test.go Added fixer for ssh_key_path 2016-02-12 17:24:42 -08:00
fixer_test.go Format code with `gofmt -s -w` 2020-01-28 16:52:50 -05:00
fixer_virtualbox_gaattach.go command: move all remaining commands 2014-10-27 20:34:49 -07:00
fixer_virtualbox_gaattach_test.go go 1.11 format rules 2018-08-24 15:56:44 -07:00
fixer_virtualbox_rename.go fix: virtualbox rename fixes overrides [GH-1828] 2015-06-13 16:39:12 -04:00
fixer_virtualbox_rename_test.go fix: virtualbox rename fixes overrides [GH-1828] 2015-06-13 16:39:12 -04:00
fixer_vmware_compaction.go validate compaction is skipped when not 'thin' 2018-08-30 16:44:00 -05:00
fixer_vmware_compaction_test.go validate compaction is skipped when not 'thin' 2018-08-30 16:44:00 -05:00
fixer_vmware_rename.go command: move all remaining commands 2014-10-27 20:34:49 -07:00
fixer_vmware_rename_test.go command: move all remaining commands 2014-10-27 20:34:49 -07:00
fixer_vsphere_network_storage.go (vsphere-iso) remove deprecated network and disk fields (#9149) 2020-05-19 10:06:12 -04:00
fixer_vsphere_network_storage_test.go (vsphere-iso) remove deprecated network and disk fields (#9149) 2020-05-19 10:06:12 -04:00
helpers.go bug fix and add test 2018-09-06 12:19:31 -07:00