Add a 'make verify' target that lints scripts/ + shellchecks the migration script #5
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
notification.notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
flndrn/konnos#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Why
The migration script is the critical path of
§6.3and bash 3.2-compatible — easy to break with a careless edit. CI hasn't been wired yet; until it is, a localmake verifywould catch regressions before push.Scope
Add a top-level
Makefilewith targets:make verify— runs all of below in sequencemake lint-shell—shellcheck scripts/*.shmake check-bash— runs each script withbash -n(syntax-only) under both bash 3.2 (if installed) and current bashmake check-docs— verifies links in*.mdfiles don't 404 (uselycheeormarkdown-link-check)Acceptance criteria
Makefileexists at repo root.make verifyruns clean against current state ofmain..forgejo/workflows/verify.yml) added that callsmake verifyon every PR.CONTRIBUTING.mdupdated to mentionmake verifyas the pre-PR check.Pointers
scripts/migrate-github-to-konnos.shFriendly note: this is a slightly larger one. Pair it with one of the other good-first-issues if you want to start small first.