Adopt scripts-to-rule-them-all scaffold (refs #1) #2
Reference in New Issue
Block a user
Delete Branch "strta-conformance"
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?
Adds the standard STRTA scaffold to attrsum (issue #1), landing per the owner's option 3 (land the scaffold now; a follow-up branch remediates the pre-existing lint to make it green).
Makefile— nine standard targets as thin@script/NAMEshims (hooks->@script/install-precommit); repo-specificbuild/clean/tryretained.script/— POSIX-shentrypoints (bootstrap,setup,test,lint,fmt,fmt-check,check,docker,install-precommit,cibuild, plus helpers)..golangci.yml— byte-identical to the org-standard (dnswatcher) config.Dockerfile— runsmake checkthenmake build, so the image fails on any check failure..gitea/workflows/check.ymlrunsscript/cibuild.The change is purely additive:
attrsum.go/attrsum_test.goare untouched.make fmt-checkandmake testpass.make check/docker build .are KNOWINGLY RED at the lint step only, on ~192 pre-existing findings in the existing code (independently verified identical on pre-scaffoldmain) — this is expected and will be resolved by an immediate follow-up lint-remediation PR that makes the gate green and closes #1. This scaffold PR was independently reviewed (verdict PASS) before merge.