Skip to content

Added archive export ignores for theme packages#546

Merged
aileen merged 1 commit into
mainfrom
aileen/theme-archive-export-ignore
Jun 16, 2026
Merged

Added archive export ignores for theme packages#546
aileen merged 1 commit into
mainfrom
aileen/theme-archive-export-ignore

Conversation

@aileen

@aileen aileen commented Jun 16, 2026

Copy link
Copy Markdown
Member

Summary

  • adds package-level .gitattributes files to all subtree-published themes
  • excludes AGENTS.md, CLAUDE.md, pnpm-workspace.yaml, and .gitattributes from GitHub-generated source archives
  • keeps the files tracked in the monorepo and standalone theme source checkouts

Why

The standalone theme README download links use GitHub source archives such as archive/main.zip. Those archives are generated from the repository contents, not from the theme Gulp zipper, so repo-management files need export-ignore rules at the standalone repo root after subtree sync.

Validation

  • git check-attr export-ignore reports set for all target files across all 16 theme packages
  • simulated a Solo git archive and confirmed the target files are omitted

Added package-level `.gitattributes` files so subtree-published theme repositories omit agent docs and workspace metadata from GitHub-generated source archives. This keeps the files available in source checkouts while preventing `archive/main.zip` downloads from including `AGENTS.md`, `CLAUDE.md`, or `pnpm-workspace.yaml`.
@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 76501160-0ba6-432c-8bf5-d373d99f4371

📥 Commits

Reviewing files that changed from the base of the PR and between 4712fa0 and e42491a.

📒 Files selected for processing (16)
  • packages/alto/.gitattributes
  • packages/bulletin/.gitattributes
  • packages/dawn/.gitattributes
  • packages/digest/.gitattributes
  • packages/dope/.gitattributes
  • packages/ease/.gitattributes
  • packages/edge/.gitattributes
  • packages/edition/.gitattributes
  • packages/episode/.gitattributes
  • packages/headline/.gitattributes
  • packages/journal/.gitattributes
  • packages/london/.gitattributes
  • packages/ruby/.gitattributes
  • packages/solo/.gitattributes
  • packages/taste/.gitattributes
  • packages/wave/.gitattributes

Walkthrough

Identical export-ignore attribute entries are added to the .gitattributes file of 16 theme packages: alto, bulletin, dawn, digest, dope, ease, edge, edition, episode, headline, journal, london, ruby, solo, taste, and wave. Each file gains four lines marking /AGENTS.md, /CLAUDE.md, /pnpm-workspace.yaml, and /.gitattributes as export-ignore, which excludes those paths from git archive and similar export operations.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding .gitattributes files with export-ignore rules to theme packages for archive exclusions.
Description check ✅ Passed The description is clearly related to the changeset, providing context about why the .gitattributes files were added and how they prevent files from being included in GitHub source archives.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch aileen/theme-archive-export-ignore

Comment @coderabbitai help to get the list of available commands and usage tips.

@aileen aileen merged commit 48adbf3 into main Jun 16, 2026
68 checks passed
@aileen aileen deleted the aileen/theme-archive-export-ignore branch June 16, 2026 10:11
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