Skip to content

Slim PWE to only serve /repo/#806

Merged
undera merged 5 commits intomasterfrom
slim-pwe-to-repo
Mar 31, 2026
Merged

Slim PWE to only serve /repo/#806
undera merged 5 commits intomasterfrom
slim-pwe-to-repo

Conversation

@undera
Copy link
Copy Markdown
Owner

@undera undera commented Mar 31, 2026

Summary

  • Strip out.xml to just the /repo/ route (remove all wiki/install/download/redirect routes)
  • PluginsRepository.php reads a single pre-merged repo.json instead of scanning a directory
  • prepare-upload.sh merges dat/repo/*.json into one repo.json at build time

Context

Static site (MkDocs) now handles all page serving. PWE only needs to exist for the /repo/ endpoint.

Test plan

  • Verify https://jmeter-plugins.org/repo/ returns merged plugin JSON
  • Verify POST stats logging still works

🤖 Generated with Claude Code

undera and others added 5 commits March 31, 2026 16:37
- Strip out.xml to just /repo/ route
- PluginsRepository reads single pre-merged repo.json
- prepare-upload.sh merges dat/repo/*.json into repo.json

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Return file contents directly for the common case (no ?id= param).
Only parse JSON when filtering by plugin ID.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@undera undera marked this pull request as ready for review March 31, 2026 15:50
@undera undera merged commit c95529f into master Mar 31, 2026
2 checks passed
@undera undera deleted the slim-pwe-to-repo branch March 31, 2026 15:50
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