You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"name":"Akismet Anti-Spam",
[…]
"author":"<a href=\"https:\/\/automattic.com\/wordpress-plugins\/\">Automattic<\/a>",
"author_profile":"https:\/\/profiles.wordpress.org\/automattic",
[…]
"sections":{
"description":"<p>Akismet checks your comments and contact form submissions against our global database of spam to prevent your site from publishing malicious content. […]",
[…]
},
[…]
}
Also @Rarst's WPorg Client (which you use) seem to support these fields.
It would probably require some cleanup (remove HTML tags from author field) and truncation (only use one sentence for description) but because these fields would end up in the project's composer.lock file it would provide useful information about the package.
For the required structure of the fields refer to the corresponding properties in https://getcomposer.org/schema.json.
What do you think? Thanks!
The text was updated successfully, but these errors were encountered:
Would it be possible to add a packages's (plugin/theme) description and authors to the generated
packages.json
file?The WordPress API exposes these information. E.g. the v1.2 plugin API returns the following for https://api.wordpress.org/plugins/info/1.2/?action=plugin_information&request[slug]=akismet:
Also @Rarst's WPorg Client (which you use) seem to support these fields.
It would probably require some cleanup (remove HTML tags from author field) and truncation (only use one sentence for description) but because these fields would end up in the project's
composer.lock
file it would provide useful information about the package.For the required structure of the fields refer to the corresponding properties in https://getcomposer.org/schema.json.
What do you think? Thanks!
The text was updated successfully, but these errors were encountered: