mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-10 08:21:39 -04:00
* removed packer.Cache and references since packer.Cache is never used except in the download step. The download step now uses the new func packer.CachePath(targetPath) for this, the behavior is the same. * removed download code from packer that was reimplemented into the go-getter library: progress bar, http download restart, checksuming from file, skip already downloaded files, symlinking, make a download cancellable by context. * on windows if packer is running without symlinking rights and we are getting a local file, the file will be copied instead to avoid errors. * added unit tests for step_download that are now CI tested on windows, mac & linux. * files are now downloaded under cache dir `sha1(filename + "?checksum=" + checksum) + file_extension` * since the output dir is based on the source url and the checksum, when the checksum fails, the file is auto deleted. * a download file is protected and locked by a file lock, * updated docs * updated go modules and vendors
23 lines
852 B
AMPL
23 lines
852 B
AMPL
module github.com/hashicorp/go-getter
|
|
|
|
require (
|
|
cloud.google.com/go v0.36.0
|
|
github.com/aws/aws-sdk-go v1.15.78
|
|
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
|
|
github.com/cheggaaa/pb v1.0.27
|
|
github.com/fatih/color v1.7.0 // indirect
|
|
github.com/hashicorp/go-cleanhttp v0.5.0
|
|
github.com/hashicorp/go-safetemp v1.0.0
|
|
github.com/hashicorp/go-version v1.1.0
|
|
github.com/mattn/go-colorable v0.0.9 // indirect
|
|
github.com/mattn/go-isatty v0.0.4 // indirect
|
|
github.com/mattn/go-runewidth v0.0.4 // indirect
|
|
github.com/mitchellh/go-homedir v1.0.0
|
|
github.com/mitchellh/go-testing-interface v1.0.0
|
|
github.com/ulikunitz/xz v0.5.5
|
|
golang.org/x/net v0.0.0-20181114220301-adae6a3d119a // indirect
|
|
golang.org/x/sys v0.0.0-20181213200352-4d1cda033e06 // indirect
|
|
google.golang.org/api v0.1.0
|
|
gopkg.in/cheggaaa/pb.v1 v1.0.27 // indirect
|
|
)
|