refactor: consolidate lifecycle plumbing, remove examples (0.1.2-dev.9) #24
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor/consolidate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refactor with no schema or behaviour change: the full
tofu providers schema -jsonoutput is byte-identical to 0.1.2-dev.8.Consolidated (
internal/provider/base.go), replacing 16 hand-copied versions of each:Configure(resources and data sources; the 3 search data sources and lookups too)ready(verb, nouns), same messages)get_*with not-found → remove from state (readObject), Delete with not-found = success (deleteObject); same error summariesidattribute (idAttribute()) andMetadatatype namesAbout 600 lines fewer; resources keep only their own payload/model logic.
Removed:
examples/(docs pages keep their schema and import notes, no example blocks);Makefile→yawn.jsontasksbuild,testacc,lint(plus existingcheck).Added: a test that fails if any schema attribute is missing from its
docs/page (docs are now hand-maintained, no generator).Fixed: two golangci-lint findings (De Morgan in endpoint check; one ST1005 kept and annotated because "Missing x/y" is user-facing).
VERSION 0.1.2-dev.9: merging tags it, publishes the zips and signs SHA256SUMS via
yawn request sign(first real signature through the renamed path), then publishes the wiki.