opentofu/internal
Martin Atkins d396502d28 initwd: Commentary on version constraint parsing compromises
Due to some historical technical debt in this area we are intentionally
accepting a rather hacky but narrowly-scoped solution to a bug that
prevented selection of prerelease versions of modules when a version
constraint was written with a "v" symbol before the version selection,
such as in "=v1.0.0-beta1".

This commit just records some commentary about the decision for the benefit
of a future maintainer that is likely to wonder why this code is written
the way it is, and (assuming GitHub outlives these comments) link back to
the discussion that motivated it.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2024-11-06 11:10:52 -08:00
..
addrs Implement Provider for_each (#2105) 2024-11-05 18:08:23 -05:00
backend Implement Provider for_each (#2105) 2024-11-05 18:08:23 -05:00
builtin Add exclude flag support (#1900) 2024-11-05 10:16:00 -05:00
checks Fix typos (#1905) 2024-08-29 13:20:33 -04:00
cloud Add exclude flag support (#1900) 2024-11-05 10:16:00 -05:00
cloudplugin Error handling fixes (#1816) 2024-07-15 11:58:43 +02:00
collections add automated copyright header check (#1696) 2024-06-03 16:49:36 +03:00
command Implement Provider for_each (#2105) 2024-11-05 18:08:23 -05:00
communicator chore: fix some function names (#1957) 2024-09-16 13:36:15 -04:00
configs Implement Provider for_each (#2105) 2024-11-05 18:08:23 -05:00
copy CopyDir cmd code refactoring suggestions (#2070) 2024-11-04 21:21:06 +02:00
dag Another batch of minor typos (#1953) 2024-09-09 07:51:39 -04:00
depsfile Another batch of minor typos (#1953) 2024-09-09 07:51:39 -04:00
didyoumean Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
e2e Add support for GOCOVERDIR to e2e tests (#1622) 2024-05-07 15:22:35 -04:00
encryption Fixes #1605: Customizable metadata key on encryption key providers (#2080) 2024-10-30 19:52:23 +01:00
experiments Another batch of minor typos (#1953) 2024-09-09 07:51:39 -04:00
genconfig Ensure config generation does not crash when importing sensitive values (#2077) 2024-10-23 15:32:48 +01:00
getmodules Fix typos (#1905) 2024-08-29 13:20:33 -04:00
getproviders Another batch of minor typos (#1953) 2024-09-09 07:51:39 -04:00
grpcwrap Update to tfplugin proto 5.5 and 6.5 (#1435) 2024-03-26 14:36:26 -04:00
helper/slowmessage Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
httpclient issue 966: different user agent for unit tests (#1279) 2024-02-22 08:45:06 +00:00
initwd initwd: Commentary on version constraint parsing compromises 2024-11-06 11:10:52 -08:00
instances Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
ipaddr Fix typos (#1954) 2024-09-17 12:04:30 +02:00
lang Another batch of minor typos (#1953) 2024-09-09 07:51:39 -04:00
legacy Fix typos (#1954) 2024-09-17 12:04:30 +02:00
logging Another batch of minor typos (#1953) 2024-09-09 07:51:39 -04:00
modsdir initwd Windows tests fixes (#1723) 2024-06-18 10:49:30 -04:00
moduletest Adds warning if tests don't provide valid variable (#2057) 2024-10-15 09:20:11 +01:00
plans Add exclude flag support (#1900) 2024-11-05 10:16:00 -05:00
plugin Partially unknown provider functions arguments fixed (#2127) 2024-11-04 14:23:53 -05:00
plugin6 Partially unknown provider functions arguments fixed (#2127) 2024-11-04 14:23:53 -05:00
provider-simple Allow configured providers to provide additional functions. (#1491) 2024-04-18 15:11:38 +02:00
provider-simple-v6 Allow configured providers to provide additional functions. (#1491) 2024-04-18 15:11:38 +02:00
providercache Another batch of minor typos (#1953) 2024-09-09 07:51:39 -04:00
providers Partially unknown provider functions arguments fixed (#2127) 2024-11-04 14:23:53 -05:00
provisioner-local-exec/main Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
provisioners Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
refactoring Implement Provider for_each (#2105) 2024-11-05 18:08:23 -05:00
registry Fallback to reading the x-terraform-get header if the module registry returns an empty json body (#2079) 2024-10-23 15:33:56 +01:00
repl Implement Provider for_each (#2105) 2024-11-05 18:08:23 -05:00
replacefile Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
states Implement Provider for_each (#2105) 2024-11-05 18:08:23 -05:00
terminal Fix typos (#1905) 2024-08-29 13:20:33 -04:00
tfdiags Warning and Error consolidation CLI options (#1894) 2024-09-23 07:31:06 -04:00
tfplugin5 Fix typos (#1905) 2024-08-29 13:20:33 -04:00
tfplugin6 Fix typos (#1905) 2024-08-29 13:20:33 -04:00
tofu Implement Provider for_each (#2105) 2024-11-05 18:08:23 -05:00
tofumigrate Implement Provider for_each (#2105) 2024-11-05 18:08:23 -05:00