terraform/internal/getproviders
Martin Atkins 430318e262 getproviders: Consistent ordering of terms in VersionConstraintsString
An earlier commit made this remove duplicates, which set the precedent
that this function is trying to canonically represent the _meaning_ of
the version constraints rather than exactly how they were expressed in
the configuration.

Continuing in that vein, now we'll also apply a consistent (though perhaps
often rather arbitrary) ordering to the terms, so that it doesn't change
due to irrelevant details like declarations being written in a different
order in the configuration.

The ordering here is intended to be reasonably intuitive for simple cases,
but constraint strings with many different constraints are hard to
interpret no matter how we order them so the main goal is consistency,
so those watching how the constraints change over time (e.g. in logs of
Terraform output, or in the dependency log file) will see fewer noisy
changes that don't actually mean anything.
2020-10-26 12:44:15 -07: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: Consistent ordering of terms in VersionConstraintsString 2020-10-26 12:44:15 -07:00
types_test.go getproviders: Consistent ordering of terms in VersionConstraintsString 2020-10-26 12:44:15 -07:00