terraform/internal
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
..
copy deprecate helper/copy 2020-10-08 08:42:16 -04:00
depsfile internal: Fix lockfile constraint output for 1.2.* 2020-10-20 10:14:03 -04:00
didyoumean didyoumean: move from "helper" to "internal" 2020-10-02 13:35:07 -07:00
earlyconfig remove LegacyProvider (#26433) 2020-10-05 08:33:49 -04:00
getproviders getproviders: Consistent ordering of terms in VersionConstraintsString 2020-10-26 12:44:15 -07:00
initwd use a single log writer 2020-10-19 14:29:54 -04:00
logging record all plugin panics, and print on main exit 2020-10-26 09:34:03 -04:00
modsdir internal/modsdir: Fix Dropped Error (#24600) 2020-06-04 10:26:26 -04:00
providercache command/init: Mention using the lock file for provider selection 2020-10-09 09:26:23 -07:00
replacefile replacefile: don't create the temporary file in TMPDIR 2020-10-20 16:29:59 -07:00
tfplugin5 Add support for provider metadata to modules. (#22583) 2020-03-05 16:53:24 -08:00
typeexpr configs: Experimental support for optional object type attributes 2020-10-12 10:12:28 -07:00