Skip to content

Filter satis:build to only include paid plugins#280

Merged
simonhamp merged 2 commits intomainfrom
fix-satis-paid-plugins
Mar 13, 2026
Merged

Filter satis:build to only include paid plugins#280
simonhamp merged 2 commits intomainfrom
fix-satis-paid-plugins

Conversation

@simonhamp
Copy link
Member

Summary

  • Filters SatisService::getApprovedPlugins() to only return paid plugins (PluginType::Paid), preventing free plugins from being included in satis builds
  • Adds test verifying buildAll() only sends paid plugins to the Satis API

Test plan

  • Existing satis sync tests pass
  • New test_build_all_only_includes_paid_plugins test verifies filtering
  • Run php artisan satis:build on production to confirm correct behavior

🤖 Generated with Claude Code

The buildAll command was including all approved plugins (both free and
paid) in satis builds. This filters getApprovedPlugins() to only return
paid plugins, since free plugins don't need private Composer repository
distribution.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simonhamp simonhamp marked this pull request as ready for review March 13, 2026 00:34
When buildAll() is called (no explicit plugin names), the API request
now includes full_build: true so the satis server knows to perform a
complete rebuild rather than a partial one.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simonhamp simonhamp merged commit b2be39d into main Mar 13, 2026
2 checks passed
@simonhamp simonhamp deleted the fix-satis-paid-plugins branch March 13, 2026 00:55
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