opentofu/internal/initwd
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
..
testdata Add prerelease test with multiple constraints. 2024-11-06 11:10:52 -08:00
doc.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
from_module_test.go Static Evaluation Base, Module Sources, Backend Config (#1718) 2024-06-24 09:13:07 -04:00
from_module.go Static Evaluation Base, Module Sources, Backend Config (#1718) 2024-06-24 09:13:07 -04:00
module_install_hooks.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
module_install_test.go initwd: Commentary on version constraint parsing compromises 2024-11-06 11:10:52 -08:00
module_install.go initwd: Commentary on version constraint parsing compromises 2024-11-06 11:10:52 -08:00
testing.go Static Evaluation Base, Module Sources, Backend Config (#1718) 2024-06-24 09:13:07 -04:00