Skip to content

docs: --since Django format, exit codes, hero section, comparison table, demo GIF#60

Merged
croc100 merged 4 commits into
mainfrom
docs/update-v1.3.1
Jun 9, 2026
Merged

docs: --since Django format, exit codes, hero section, comparison table, demo GIF#60
croc100 merged 4 commits into
mainfrom
docs/update-v1.3.1

Conversation

@croc100

@croc100 croc100 commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix docs: document --since Django format in CLI reference #39 — document --since Django format in CLI reference: app_label.migration_name explained with directory structure example, no-match behavior (exit 1), graph-check skip note
  • Fix exit code docs1=errors was wrong in cli.md, quickstart.md, faq.md; correct values are 0/1/2
  • Fix CHANGELOG--since was described as accepting git refs (--since main, HEAD~3); it takes migration revision IDs
  • README hero — add mrt check output example showing what would have been caught; add "non-invasive" install note
  • Comparison table — pytest-alembic vs alembic check vs django-test-migrations, highlighting data survival check as key differentiator
  • Demo GIF — generated with VHS, shows live colored output of mrt check catching DROP COLUMN and No-op downgrade

Files changed

  • docs/cli.md — --since section expanded, exit code table fixed, duplicate paragraph removed, version example updated
  • docs/quickstart.md — exit code table fixed
  • docs/faq.md — exit code heading fixed
  • CHANGELOG.md — --since description corrected
  • README.md — hero section, comparison table, demo GIF embedded
  • docs/demo.gif — new
  • demo.tape — VHS script for reproducing the GIF

croc100 added 4 commits June 9, 2026 20:46
- docs/cli.md: expand --since section with Django app_label.migration_name
  format, directory structure example, behavior on no-match (exit 1), and
  note that graph checks are skipped in --since mode; fix mrt version
  example output (1.3.0 -> 1.3.1)
- README.md: add graph-check skip note and link to full CLI reference;
  clarify Django format comment (filename without .py)
- CHANGELOG.md: fix 1.3.0 entry -- --since takes a migration revision ID,
  not a git ref; remove incorrect examples (--since main, HEAD~3)

Closes #39
Exit code 1 means warnings only (without --strict); exit code 2 means
errors found or warnings with --strict. All three files had this wrong
(docs/cli.md, docs/quickstart.md, docs/faq.md), which would cause CI
pipelines relying on the documented codes to behave incorrectly.

Also remove a duplicate interface description paragraph in cli.md.
Hero section: add mrt check output example showing what would have been
caught, and "non-invasive" install note to reduce adoption friction.

Add "How it compares" table covering pytest-alembic, alembic check, and
django-test-migrations — highlighting data survival check as the key
differentiator.

Add demo.tape for VHS GIF generation (vhs demo.tape once installed).
Generated with VHS (demo.tape). Shows mrt check catching DROP COLUMN
data loss and No-op downgrade on example migrations, with colored
error/warning output and summary line.
@croc100 croc100 force-pushed the docs/update-v1.3.1 branch from bc55829 to 9d0d316 Compare June 9, 2026 11:46
@croc100 croc100 merged commit 5e81dd6 into main Jun 9, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: document --since Django format in CLI reference

1 participant