Skip to content

Update the installation guide's pack table in the catalogue sync - #180

Merged
imanimanyara merged 1 commit into
mainfrom
fix/catalog-sync-docs-table
Nov 12, 2026
Merged

imanimanyara merged 1 commit into
mainfrom
fix/catalog-sync-docs-table

Conversation

@imanimanyara

Copy link
Copy Markdown
Contributor

Summary

The nightly catalogue sync rewrote icon-sets.json alone, so any count change opened a pull request that InstallationPackTableTest failed. That's why #179 is red: it moves tabler to 6,287 and openmoji to 8,990, while docs/installation.md still says 6,257 and 8,568.

  • bin/sync-icon-sets.php now sets each pack-table row's count in docs/installation.md from the catalogue it just wrote (withPackTableCounts()). Rows, order and repositories are left as written, so a set added or removed still fails the table test instead of being papered over.
  • sync-icon-sets.yml commits both files.
  • tests/Unit/SyncIconSetsDocTableTest.php: row counts are set, an unnamed row and the surrounding prose are untouched, and the real guide agrees with the real catalogue. Proven red by making the replacement a no-op.

Checked

  • Full Pest suite: 1,099 passed, 10 skipped. Pint passes.
  • Replayed docs: sync icon-sets catalog #179's icon-sets.json locally: the helper changed exactly the tabler and openmoji rows, and InstallationPackTableTest passed.

Once this merges, the next nightly run rewrites #179's branch with both files.

bin/sync-icon-sets.php rewrote icon-sets.json alone, so a count change opened a pull request InstallationPackTableTest failed (#179). The script now sets each table row's count from the catalogue it writes, and the workflow commits both files.
Copilot AI balanced review requested due to automatic review settings November 12, 2026 18:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@imanimanyara
imanimanyara merged commit ec94bb4 into main Nov 12, 2026
12 checks passed
@imanimanyara
imanimanyara deleted the fix/catalog-sync-docs-table branch November 12, 2026 18:15
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.

2 participants