GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — atx/CONTRIBUTING.md at main · jsugg/atx

Expand file tree

/

CONTRIBUTING.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
76 lines (55 loc) · 2.84 KB
/

CONTRIBUTING.md

Copy path

File metadata and controls

76 lines (55 loc) · 2.84 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Contributing

ATX is a small side-project, so a focused patch is much easier to review than a large cleanup mixed with a feature.

Before coding

Start with a test that fails for the reason you expect.

Use Red-Green-Refactor: make one behavior fail, make it pass with the smallest correct change, then clean it up. Bug fixes need a regression test.

Local checks

The acceptance scenarios link each public contract to its test and separate local checks from release checks.

./scripts/check.sh quick
./scripts/check.sh pre-merge

quick is the edit loop. pre-merge adds compiler-bound MSRV, docs, dependency policy, Markdown, offline links, package/dry run, all shell scripts and harnesses, workflow guards, and man generation/lint. full is an alias for pre-merge, not a claim that every release check ran locally. Use a clean checkout. See script prerequisites and stages.

CI calls those same named stages. It also checks commit titles, coverage floors, native architecture/libc/user variants, extracted source packages, and applicable security/dependency-review/release-archive workflows. Fuzz, mutation, and performance budgets have separate scheduled workflows. A local green result does not replace these remote checks.

./scripts/check.sh links-online checks live URLs with bounded requests. It runs on documentation PRs and weekly in CI, separately from the offline pre-merge gate. Broken links fail visibly; use a read-only GITHUB_TOKEN if GitHub rate limits requests.

For Markdown-only edits, run ./scripts/check.sh markdown. It uses the same pinned tool, config, and tracked-file scope as CI. Node.js 22+ and npm are required; npx can download the tool into its cache. Stage new Markdown files with git add so the shared check includes them.

The retention integration test uses the sqlite3 command. Install it before running the full suite.

Some permission tests intentionally need an ordinary user because root can bypass the Unix permission checks they exercise. They skip explicitly when run as root; use a non-root account or container user when changing those tests.

Commits

Commits use Conventional Commits:

feat(time): parse checked compound durations
fix(process): reject a reused pid
docs(reliability): explain missed jobs

Keep tests, code, and docs in the same commit. Never hide a failed or skipped check.

Code

  • Keep the domain independent from files, SQLite, processes, and clocks.
  • Prefer typed boundaries over strings and unstructured maps.
  • No implicit shell execution.
  • No production panic for bad input or an environmental failure.
  • Add a dependency only when it clearly removes more risk than it adds.

Docs

Write plainly. Show a real command, state the limitation, and skip marketing or corporate language.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.