Skip to content

chore(baseline): add PHP 8.5 to CI + ship testdata/docs in release archives - #10

Merged
mambax7 merged 3 commits into
XoopsModules27x:masterfrom
mambax7:master
Jul 25, 2026
Merged

mambax7 merged 3 commits into
XoopsModules27x:masterfrom
mambax7:master

Conversation

@mambax7

@mambax7 mambax7 commented Jul 25, 2026 •

Copy link
Copy Markdown
Contributor

Baseline maintenance for XOOPS module DevOps.

1. Add PHP 8.5 to the CI matrix

.github/workflows/ci.yml now runs composer qa on PHP 8.2, 8.3, 8.4, and 8.5.

2. Ship testdata/ and docs/ in release archives

Both were marked export-ignore, so git archive (GitHub "Download ZIP") stripped them from releases of every consumer module generated from this baseline:

  • testdata/ is runtime — modules use it for the admin "Load/Save/Clear sample data" feature (testdata/index.php reads testdata/*/sets/*.yml); stripping it 404s that page.
  • docs/ is user-facing documentation (readme/changelog/install/tutorial).

Removed their export-ignore lines. tests, stubs, .github, .build, scripts, and the phpstan/phpunit/psalm/composer/CI config files stay export-ignored (dev-only).

(Also includes a small README update.)

Testing

  • git check-attr export-ignore -- testdata docs → unspecified; tests/stubs → set.

Summary by Sourcery

Expand CI coverage to PHP 8.5 and ensure runtime test data and user documentation are included in release archives.

Build:

  • Update CI matrix to run composer QA on PHP 8.2–8.5.

Documentation:

  • Document the updated PHP version matrix in the README to include PHP 8.5.

Chores:

  • Adjust .gitattributes so testdata/ and docs/ are no longer export-ignored in release ZIPs while keeping dev-only artifacts excluded.

mambax7 added 3 commits July 25, 2026 08:28
Both were marked export-ignore, so git archive (GitHub "Download ZIP")
stripped them from releases. testdata/ is runtime (module sample-data
feature) and docs/ is user-facing documentation, so consumer modules
generated from this baseline shipped broken. Keep tests/stubs/.github/CI
configs export-ignored; those stay dev-only.
Copilot AI review requested due to automatic review settings July 25, 2026 12:34
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

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 reached their quota limit.

@sourcery-ai

sourcery-ai Bot commented Jul 25, 2026 •

Copy link
Copy Markdown
Contributor

🧙 Sourcery has finished reviewing your pull request!


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@mambax7, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 43 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 9c99fdea-c651-47b7-b73d-7468de9ba37b

📥 Commits

Reviewing files that changed from the base of the PR and between d4ef3eb and 944fcf1.

📒 Files selected for processing (3)
  • .gitattributes
  • .github/workflows/ci.yml
  • README.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@mambax7
mambax7 merged commit ecf0a96 into XoopsModules27x:master Jul 25, 2026
8 checks passed
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