Skip to content

feat: add Category metadata and auto-generated project table#2

Merged
thxtech merged 6 commits intomainfrom
feat/oss-table-generation
Feb 8, 2026
Merged

feat: add Category metadata and auto-generated project table#2
thxtech merged 6 commits intomainfrom
feat/oss-table-generation

Conversation

@thxtech
Copy link
Owner

@thxtech thxtech commented Feb 8, 2026

Summary

  • Added Category field to all 100 OSS report READMEs (e.g., Database, Web Framework, Monitoring, etc.)
  • Added Reports section with a sorted project table (by Category, then name) to root README
  • Created scripts/add-category.sh for bulk Category insertion and scripts/generate-table.sh for table regeneration

Test plan

  • Verify scripts/generate-table.sh runs without errors and produces 100 rows
  • Verify each oss/*/README.md has a | Category | row in the metadata table
  • Verify root README table links resolve correctly to each report

🤖 Generated with Claude Code

thxtech and others added 3 commits February 8, 2026 21:43
…ect table in README

Add Category field to all 100 OSS report READMEs and generate a sorted
project listing table in the root README. Includes shell scripts for
bulk category insertion and table generation from report metadata.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Run generate-table.sh and commit the updated README when oss/*/README.md
files are modified on main branch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@claude
Copy link

claude bot commented Feb 8, 2026

Code review

Found 1 issue:

scripts/add-category.sh:107 - sed -i '' portability bug

The sed -i '' syntax on line 107 uses BSD sed (macOS) syntax that is incompatible with GNU sed used on Linux.

The problem:

  • On macOS BSD sed: sed -i '' means "edit in-place with no backup"
  • On GNU sed (Linux): sed -i '' interprets '' as the sed script (empty string), not a backup extension, causing the command to fail

Since this repository's CI environment is Linux (Linux 6.11.0-1018-azure), this script will fail when executed.

Code reference:

if grep -q "^| Primary Language |" "$readme"; then
sed -i '' "/^| Primary Language |/a\\
| Category | ${category} |
" "$readme"
count=$((count + 1))

Suggested fix:
For GNU sed, use sed -i (without the empty string argument) for in-place editing with no backup.

thxtech and others added 3 commits February 8, 2026 21:53
README was getting too large with the inline table. Extract it to
TABLE.md and link from README. Update generate-table.sh and CI
workflow to target TABLE.md instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Trigger on pull_request so TABLE.md is updated and committed to the
PR branch before merge, guaranteeing the table is always in sync.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@thxtech thxtech merged commit 382d32c into main Feb 8, 2026
@thxtech thxtech deleted the feat/oss-table-generation branch February 8, 2026 12:55
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.

1 participant