terraform/internal/getproviders
Alisdair McDiarmid b1bc0e5d92 getproviders: Normalize versions before dedupe
When rendering a set of version constraints to a string, we normalize
partially-constrained versions. This means converting a version
like 2.68.* to 2.68.0.

Prior to this commit, this normalization was done after deduplication.
This could result in a version constraints string with duplicate
entries, if multiple partially-constrained versions are equivalent. This
commit fixes this by normalizing before deduplicating and sorting.
2020-11-02 10:45:45 -05:00
..
testdata internal/getproviders: Allow basedir for local search to be symlink 2020-08-18 14:28:50 -07:00
doc.go
errors.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
filesystem_mirror_source.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
filesystem_mirror_source_test.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
filesystem_search.go getproviders: Don't log if EvalSymlinks changes nothing 2020-10-21 07:49:11 -07:00
filesystem_search_test.go internal/getproviders: Allow basedir for local search to be symlink 2020-08-18 14:28:50 -07:00
hash.go command/init: Read, respect, and update provider dependency locks 2020-10-09 09:26:23 -07:00
hash_test.go getproviders: Add a real type Hash for package hashes 2020-09-24 14:01:54 -07:00
http_mirror_source.go use a single log writer 2020-10-19 14:29:54 -04:00
http_mirror_source_test.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
memoize_source.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
memoize_source_test.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
mock_source.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
multi_source.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
multi_source_test.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
package_authentication.go getproviders: Prepare for having multiple valid hashes per package 2020-09-24 14:01:54 -07:00
package_authentication_test.go getproviders: Prepare for having multiple valid hashes per package 2020-09-24 14:01:54 -07:00
public_keys.go internal: Verify provider signatures on install 2020-04-17 13:57:19 -04:00
registry_client.go use a single log writer 2020-10-19 14:29:54 -04:00
registry_client_test.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
registry_source.go command/init: Remove support for legacy provider addresses 2020-09-30 08:54:57 -07:00
registry_source_test.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
source.go command: Make provider installation interruptible 2020-09-29 10:00:35 -07:00
types.go getproviders: Normalize versions before dedupe 2020-11-02 10:45:45 -05:00
types_test.go getproviders: Normalize versions before dedupe 2020-11-02 10:45:45 -05:00