* Replace shell smoke test with Go integration tests Replaces the 480-line bash smoke test with Go integration tests that are deterministic, fast, and self-contained. The new test infrastructure uses fixture data and a mock wp.org server so tests run without network dependencies on the WordPress.org API. New files: - Mock wp.org server (internal/wporg/mock_server.go) + API fixtures - Test DB helpers (internal/testutil/testdb.go) for in-memory SQLite - Integration smoke test covering full pipeline, HTTP endpoints, composer install, version pinning, and build integrity - R2 sync test using gofakes3 for S3-compat verification - Live canary test for nightly runs against real wp.org - Fixture capture script (test/capture-fixtures.sh) - Canary CI workflow (.github/workflows/canary.yml) Changes: - wporg.Client now supports configurable base URL via SetBaseURL() - S3 client uses path-style addressing (needed for R2 + test compat) - CI workflow gains integration test job (stub CSS, no Tailwind needed) - Makefile: smoke target replaced with integration target Deleted: test/smoke_test.sh, .github/workflows/smoke-test.yml Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Allow insecure HTTP for composer in integration tests The httptest server uses plain HTTP (http://127.0.0.1:...) which Composer's secure-http default blocks. Add secure-http: false to the generated composer.json config. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
1 KiB
JSON
25 lines
1 KiB
JSON
{
|
|
"name": "Akismet Anti-spam: Spam Protection",
|
|
"slug": "akismet",
|
|
"version": "5.3.3",
|
|
"author": "<a href=\"https://automattic.com/wordpress-plugins/\">Automattic - Anti-spam Team</a>",
|
|
"requires": "5.8",
|
|
"tested": "6.7.2",
|
|
"requires_php": "5.6.20",
|
|
"download_link": "https://downloads.wordpress.org/plugin/akismet.5.3.3.zip",
|
|
"added": "2005-10-25",
|
|
"last_updated": "2024-10-03 14:31:00",
|
|
"homepage": "https://akismet.com/",
|
|
"short_description": "The best anti-spam protection to block spam comments and spam in a contact form.",
|
|
"downloaded": 312000000,
|
|
"active_installs": 5000000,
|
|
"rating": 94,
|
|
"num_ratings": 1100,
|
|
"versions": {
|
|
"5.3": "https://downloads.wordpress.org/plugin/akismet.5.3.zip",
|
|
"5.3.1": "https://downloads.wordpress.org/plugin/akismet.5.3.1.zip",
|
|
"5.3.2": "https://downloads.wordpress.org/plugin/akismet.5.3.2.zip",
|
|
"5.3.3": "https://downloads.wordpress.org/plugin/akismet.5.3.3.zip",
|
|
"dev-trunk": "https://downloads.wordpress.org/plugin/akismet.zip"
|
|
}
|
|
}
|