Skip to content

Check if api.w.org is available #5

@ocean90

Description

@ocean90

Currently when you run composer update and api.w.org isn't available you get two misleading warnings. Example:

> Required\ComposerScripts\PluginAvailability::checkAvailability
The plugin wpackagist-plugin/facebook-conversion-pixel does not seem to be available in the WordPress Plugin Directory anymore
> Required\ComposerScripts\PluginAvailability::checkMaintenanceStatus
The plugin wpackagist-plugin/facebook-conversion-pixel has not been updated in over two years. Please double-check before using it.
  - Updating wpackagist-plugin/facebook-conversion-pixel (2.0.1 => 2.1.0): Downloading (100%)

I suggest to check the HTTP response and provide some more information in this case. Or skip any checks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions