Building on #4256: Capable of being included in Stack 2.15.1, because they do not interfere with users' current practices: * [x] Introduce `--snapshot` as a synonym for `--resolver` * [x] Introduce `config set snapshot` command, corresponding to `config set resolver` * [x] Prefer the `snapshot:` key to `resolver:` in Stack's online examples and in-app messages * [x] Prefer `--snapshot` to `--resolver` in Stack's online examples and in-app messages * [x] Put 'snapshot' ahead of 'resolver' in Stack's online documentation where synonyms introduced * [x] Refer to 'snapshot' or 'snapshot resolver' in in-app messages where 'resolver' is currently used. * [x] Use `snapshot:` in Stack's tests * [x] Use `snapshot:` in Stack's own project-level configuration files Better delayed to post-Stack 2.15.1 and its adoption by GitHub-hosted runners * [ ] Prefer `snapshot:` to `resolver:` in `stack init` * [ ] Update the `instance ToJSON Project` to use `snapshot:` for the `resolver` field * [ ] Possibly, rename the `resolver` field of the `Package` type `snapshot`
Building on #4256:
Capable of being included in Stack 2.15.1, because they do not interfere with users' current practices:
--snapshotas a synonym for--resolverconfig set snapshotcommand, corresponding toconfig set resolversnapshot:key toresolver:in Stack's online examples and in-app messages--snapshotto--resolverin Stack's online examples and in-app messagessnapshot:in Stack's testssnapshot:in Stack's own project-level configuration filesBetter delayed to post-Stack 2.15.1 and its adoption by GitHub-hosted runners
snapshot:toresolver:instack initinstance ToJSON Projectto usesnapshot:for theresolverfieldresolverfield of thePackagetypesnapshot