scaffold.sh leaves every new project with a broken link and a red doc-claims #15
Labels
No Label
P0
P1
P2
release-blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/Project-Template#15
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
docs/data/README.mdsays, of the asset spec:scaffold.shnever copies that file.DOCSdoes not list it, andDIRS=(docs/data/img)creates the directory empty. So a project scaffolded from this template gets:doc-claims.shfailure on its first run, because a markdown link target is a claim the file existsReproduced by scaffolding into a scratch directory:
docs/data/containsREADME.mdand an emptyimg/.The exclusion is almost certainly a misreading of the script's own rule. Its header says "It does not copy branding" and "The template's own docs/data/img is not a source" — both are about the three
.webpmarks, which genuinely must not be copied because a placeholder that looks deliberate outlives the issue that would have replaced it.img/README.mdis documentation about those files, not one of them, and every other document in the tree is copied.This is the fourth instance in this repository of one shape: a document naming a path that is not there. The others were
docs/planning/FUTURE.mdin the batch ledger, anExempt:line inside a code fence, anddocs/data/logo.webpas an example of where not to put an asset. The first three were wrong in the template itself; this one is correct in the template and wrong in every copy of it, which is why nothing here caught it.Verify:
scaffold.sh --dry-runnamesdocs/data/img/README.md, a real scaffold creates it, anddoc-claims.shrun inside a freshly scaffolded project reports no missing paths.