| commit | 1199e9f3ff0ab946c6af9048509d8a8083832a6c | [log] [tgz] |
|---|---|---|
| author | Lalit Maganti <lalitm@google.com> | Sat Dec 27 01:53:34 2025 +0000 |
| committer | Lalit Maganti <lalitm@google.com> | Sat Dec 27 01:53:34 2025 +0000 |
| tree | a4f3ffed72f49b306a88fc1774341905349b3ab5 | |
| parent | ea2f8f26bbf0de597e95c25d0dd5d1fb80a2779a [diff] |
Some more updates post implementation
This repository is set up to automatically manage RFCs (Request for Comments) with GitHub Discussions integration.
TL;DR
rfcs branch without any review.We are deliberately lax on the definition of RFC to keep the process lax and have a low-barrier process to both document and discuss design decisions of any size and controversy level.
When you push or update an RFC markdown file, the system automatically:
RFC files must follow this naming pattern: <RFC_NUMBER>-<title-with-hyphens>.md
Examples:
0001-buffer.md0002-ui-taskbar.md0123-authentication-strategy.mdImportant: The RFC number must be exactly 4 digits (zero-padded).
repository-root/
├── 0001-buffer.md
├── 0002-ui-taskbar.md
├── media/
│ ├── 0001/
│ │ ├── buffer1.png
│ │ └── buffer2.svg
│ └── 0002/
│ └── ui-screenshot1.png
├── .github/
│ ├── workflows/
│ │ └── rfc-automation.yml
│ └── scripts/
│ └── sync_rfc_to_discussion.py
└── .markdownlint.json
All images (SVG or PNG) should be placed in /media/<RFC_NUMBER>/:
/media/0001/diagram.png/media/0001/architecture.svg/media/0002/screenshot.png/images/diagram.png (wrong location)/media/diagram.png (missing RFC number directory)You are strongly encouraged to use draw.io / diagrams.net for your diagrams as it is able to embed metadata in both svg and png files, allowing for later re-editing.
If you use VSCode, you might find these two extensions particularly useful:
Draw.io integration particularly useful, as it allows to create diagrams directly within VSCode simply by creating a new empy xxx.drawio.{svg,png} file.
Checkout/create the rfcs branch:
git checkout -b rfcs -t origin/rfcs
Create your RFC:: Copy the rfc-template.md
Add content: Edit your RFC file with your markdown content. Include:
Add media files (optional):
mkdir -p media/0001 touch media/0001/diagram.drawio.png # Edit with vscode or app.diagrams.net
Commit and push:
git add 0001-buffer.md media/0001/ git commit -m "Add RFC-0001: Buffer Management" git push
Automated actions:
Each RFC automatically gets a GitHub Discussion created in the repository. The discussion: