-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
As of 6f34b51, the script determines whether a package is a wp.org plugin solely by the vendor name wpackagist-plugin.
We could support custom composer repositories / mirrors by parsing packages' dist and source urls.
A wp.org plugin's dist and source urls should be hosted on:
- downloads.wordpress.org
- plugins.svn.wordpress.org
Additional context
Example implementation:
- https://github.com/typisttech/wp-org-closed-plugin/blob/57ae2fbb92cbcbf3266e7f8a8db18ccdfba1509b/src/MarkClosedPluginAsAbandoned.php#L55-L58
- https://github.com/typisttech/wp-org-closed-plugin/blob/57ae2fbb92cbcbf3266e7f8a8db18ccdfba1509b/src/WpOrg/UrlParser/DownloadUrlParser.php
- https://github.com/typisttech/wp-org-closed-plugin/blob/57ae2fbb92cbcbf3266e7f8a8db18ccdfba1509b/src/WpOrg/UrlParser/SvnUrlParser.php
retlehs
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request