Commit Graph

70 Commits (7bee77bdd3dc67de0973e1c19bd5a1685dc805c0)

Author SHA1 Message Date
hashicorp-copywrite[bot] 325d18262e [COMPLIANCE] Add Copyright and License Headers
3 years ago
Martin Atkins e2380b1038 cliconfig: Allow forcing use of the plugin cache despite the lock file
3 years ago
Martin Atkins d0a35c60a7 providercache: Ignore lock-mismatching global cache entries
3 years ago
Radek Simko 196ff4c5c5
providercache: Improve installation error message (#31898)
3 years ago
Radek Simko c1fc7fd744
providercache: include host in provider installation error (#31524)
4 years ago
Liam Cervante ad5ac89461
Fix tests failing on main (#31481)
4 years ago
Liam Cervante 9f0d1d0630
terraform init: add link to documentation when a checksum is missing from the lock file (#31408)
4 years ago
Liam Cervante 83e84e5477
terraform init: add warning and guidance when lock file is incomplete (#31399)
4 years ago
Liam Cervante 224728879d
Ignore existing package hashes for `providers lock` command (#31389)
4 years ago
Eng Zer Jun fedd315275
test: use `T.TempDir` to create temporary test directory (#30803)
4 years ago
Martin Atkins 23395a1022 providercache: Discard lock entries for unused providers
4 years ago
Kristin Laemmert 5a48530f47
tools: remove terraform-bundle. (#28876)
5 years ago
Martin Atkins e5f52e56f8 addrs: Rename DefaultRegistryHost to DefaultProviderRegistryHost
5 years ago
Martin Atkins b9a93a0fe7 Move addrs/ to internal/addrs/
5 years ago
Martin Atkins 4c254cc2be Move httpclient/ to internal/httpclient/
5 years ago
Martin Atkins 7f78342953 command: Experimental "terraform test" command
5 years ago
Pam Selle aa24bfec47 Emit ProviderAlreadyInstalled when provider installed
5 years ago
Pam Selle aedca597dd Reuse installed target dir providers in init
5 years ago
Martin Atkins 4b3e237668 command/init: Hint about providers in other namespaces
5 years ago
James Bardin 6529659455 internal/providercache: staticcheck
5 years ago
James Bardin 276dfe634f internal/providercache: staticcheck
5 years ago
James Bardin 7eb491719f normalize temp dir paths in tests
5 years ago
Alisdair McDiarmid 90c4f11b61 go get github.com/hashicorp/go-getter@v1.5.0
5 years ago
Martin Atkins e6e0b6ee46 providercache: verify locked hashes for local package dirs
5 years ago
Martin Atkins 24d32e9ca2 providercache: More exhaustive testing of the main installer
5 years ago
Martin Atkins 2611e08430 command/init: Mention using the lock file for provider selection
5 years ago
Martin Atkins b3f5c7f1e6 command/init: Read, respect, and update provider dependency locks
5 years ago
Kristin Laemmert 04be220f5f deprecate helper/copy
5 years ago
Martin Atkins 0b734a2803 command: Make provider installation interruptible
5 years ago
Martin Atkins 6694cfaa0e getproviders: Add a real type Hash for package hashes
5 years ago
Alisdair McDiarmid 5587509bcf internal: Fix providercache test failures on macOS
6 years ago
Alisdair McDiarmid 915f53af23 internal: Clean up package install temp file
6 years ago
Alisdair McDiarmid 440543f427 internal/providercache: Fix bug when symlink fails
6 years ago
Alisdair McDiarmid 3b1347ac1a providercache: Validate provider executable file
6 years ago
Alisdair McDiarmid 8e87ccb689 providercache: Lazily detect executable file
6 years ago
Kristin Laemmert 47e657c611
internal/getproviders: decode and return any registry warnings (#25337)
6 years ago
Martin Atkins 9489672d54 internal/getproviders: Package hashing for local filesystem packages
6 years ago
Alisdair McDiarmid ef28671b34
Merge pull request #24932 from hashicorp/signing-language
6 years ago
Paddy 5127f1ef8b
command: Unmanaged providers
6 years ago
Paul Tyng 22ef5cc99c Modify language for reporting signing state
6 years ago
Kristin Laemmert 0d620018fe
provider cache: log errors and validate dir exists (#24993)
6 years ago
Alisdair McDiarmid 070c3018f8 internal/providercache: Remove unused retry events
6 years ago
Kristin Laemmert 60321b41e8
getproviders: move protocol compatibility functions into registry client (#24846)
6 years ago
Kristin Laemmert cca0526705
providercache: actually break out of the loop when a matching version is found (#24823)
6 years ago
Kristin Laemmert ce03f1255f
internal/providercache: fix error message for protocol mismatch (#24818)
6 years ago
Kristin Laemmert 84e9d86c25
Update installer_test.go
6 years ago
Kristin Laemmert 21b9da5a02
internal/providercache: verify that the provider protocol version is compatible (#24737)
6 years ago
Alisdair McDiarmid 54abb87fb4 Fix broken test due to function rename
6 years ago
Kristin Laemmert a43f141f9e
tools/terraform-bundle: refactor to use new provider installer and provider directory layouts (#24629)
6 years ago
Alisdair McDiarmid a5b3d497cc internal: Verify provider signatures on install
6 years ago