[PR #1125] [MERGED] Add per-project All Contributors setup #7151

Closed
opened 2026-04-24 17:17:09 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/harvard-edge/cs249r_book/pull/1125
Author: @profvjreddi
Created: 1/20/2026
Status: Merged
Merged: 1/22/2026
Merged by: @profvjreddi

Base: devHead: feature/all-contributors-setup


📝 Commits (4)

  • 149d945 Add per-project All Contributors setup
  • b8ee62d Add contributor scanning script
  • 0430c85 Populate contributors from git history
  • 8f740b8 Add all book contributors from main config

📊 Changes

12 files changed (+2046 additions, -2 deletions)

View changed files

.github/workflows/contributors/generate_readme_tables.py (+165 -0)
.github/workflows/contributors/scan_contributors.py (+465 -0)
book/.all-contributorsrc (+955 -0)
📝 book/README.md (+157 -0)
📝 book/docs/CONTRIBUTING.md (+29 -0)
kits/.all-contributorsrc (+31 -0)
📝 kits/README.md (+27 -0)
labs/.all-contributorsrc (+28 -0)
📝 labs/README.md (+27 -0)
tinytorch/.all-contributorsrc (+97 -0)
📝 tinytorch/CONTRIBUTING.md (+32 -0)
📝 tinytorch/README.md (+33 -2)

📄 Description

Summary

Sets up separate contributor tracking for each sub-project in the repo, allowing project-specific recognition.

Changes

New config files

  • book/.all-contributorsrc - Book content contributors (103 contributors migrated from main config)
  • kits/.all-contributorsrc - Hardware kit contributors
  • labs/.all-contributorsrc - Lab exercise contributors
  • tinytorch/.all-contributorsrc - Framework contributors

Scripts added

  • scan_contributors.py - Scans git history to find contributors per project
  • generate_readme_tables.py - Generates README tables from config files

README updates

Each project now has a Contributors section with:

  • All Contributors formatted table
  • Project-specific contribution type suggestions
  • Instructions for recognizing contributors

Project-specific contribution types

Project Suggested Types
Book doc, review, translation, design
Kits tool, test, video, doc
Labs code, tutorial, test, doc
TinyTorch bug, code, doc, ideas, test

Contributors added

  • Book: 103 contributors (migrated from main .all-contributorsrc)
  • TinyTorch: 7 contributors including @AmirAlasady (first bug report via discussion #1122)
  • Kits/Labs: Core maintainer

How to use

After merging a PR or resolving an issue, comment:

@all-contributors please add @username for bug

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/harvard-edge/cs249r_book/pull/1125 **Author:** [@profvjreddi](https://github.com/profvjreddi) **Created:** 1/20/2026 **Status:** ✅ Merged **Merged:** 1/22/2026 **Merged by:** [@profvjreddi](https://github.com/profvjreddi) **Base:** `dev` ← **Head:** `feature/all-contributors-setup` --- ### 📝 Commits (4) - [`149d945`](https://github.com/harvard-edge/cs249r_book/commit/149d945a51055f37c0c4f549b399960338b1f029) Add per-project All Contributors setup - [`b8ee62d`](https://github.com/harvard-edge/cs249r_book/commit/b8ee62da44ffed862da473914c7a07eaeaee8491) Add contributor scanning script - [`0430c85`](https://github.com/harvard-edge/cs249r_book/commit/0430c856390f4635c2346fd84d25323b7aa2b547) Populate contributors from git history - [`8f740b8`](https://github.com/harvard-edge/cs249r_book/commit/8f740b82226fa02a486487cf47546f09e2c8372c) Add all book contributors from main config ### 📊 Changes **12 files changed** (+2046 additions, -2 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/contributors/generate_readme_tables.py` (+165 -0) ➕ `.github/workflows/contributors/scan_contributors.py` (+465 -0) ➕ `book/.all-contributorsrc` (+955 -0) 📝 `book/README.md` (+157 -0) 📝 `book/docs/CONTRIBUTING.md` (+29 -0) ➕ `kits/.all-contributorsrc` (+31 -0) 📝 `kits/README.md` (+27 -0) ➕ `labs/.all-contributorsrc` (+28 -0) 📝 `labs/README.md` (+27 -0) ➕ `tinytorch/.all-contributorsrc` (+97 -0) 📝 `tinytorch/CONTRIBUTING.md` (+32 -0) 📝 `tinytorch/README.md` (+33 -2) </details> ### 📄 Description ## Summary Sets up separate contributor tracking for each sub-project in the repo, allowing project-specific recognition. ## Changes ### New config files - `book/.all-contributorsrc` - Book content contributors (103 contributors migrated from main config) - `kits/.all-contributorsrc` - Hardware kit contributors - `labs/.all-contributorsrc` - Lab exercise contributors - `tinytorch/.all-contributorsrc` - Framework contributors ### Scripts added - `scan_contributors.py` - Scans git history to find contributors per project - `generate_readme_tables.py` - Generates README tables from config files ### README updates Each project now has a Contributors section with: - All Contributors formatted table - Project-specific contribution type suggestions - Instructions for recognizing contributors ## Project-specific contribution types | Project | Suggested Types | |---------|-----------------| | **Book** | doc, review, translation, design | | **Kits** | tool, test, video, doc | | **Labs** | code, tutorial, test, doc | | **TinyTorch** | bug, code, doc, ideas, test | ## Contributors added - **Book**: 103 contributors (migrated from main .all-contributorsrc) - **TinyTorch**: 7 contributors including @AmirAlasady (first bug report via discussion #1122) - **Kits/Labs**: Core maintainer ## How to use After merging a PR or resolving an issue, comment: ``` @all-contributors please add @username for bug ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-24 17:17:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#7151