[wp-trac] [WordPress Trac] #18477: Action to return a plugin's SVN tags and tag info on API.WP.org

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 18 18:44:49 UTC 2011


#18477: Action to return a plugin's SVN tags and tag info on API.WP.org
--------------------------------+-----------------------------
 Reporter:  sc0ttkclark         |      Owner:  nacin
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  WordPress.org site  |    Version:
 Severity:  normal              |   Keywords:
--------------------------------+-----------------------------
 Currently, for the [http://wordpress.org/extend/plugins/plugin-beta-
 tester/ Plugin Beta Tester] (plugin) we have to scrape data from the .org
 site. This is not optimal for a number of reasons, one of which that
 there's an API for plugin data already out there at api.wordpress.org
 which could instead be utilized to get back pure data vs scraping.

 This plugin's goal is to be able to lookup new alpha/beta/rc versions
 which have been tagged.

 {{{
 plugins_api( 'plugin_versions', array( 'slug' => 'my-plugin' ) );
 }}}

 The above PHP call within WP could return an object or array of all the
 plugin's versions available (tagged + trunk), and each version's info. The
 type of information that would be very useful for our plugin in particular
 would be:

 * Version (version found in the plugin's main header info)
 * Date Modified
 * Download link to the ZIP

 This function call data should really mirror what you'd expect to see from
 the "Other Versions" section of the plugin page (example:
 [http://wordpress.org/extend/plugins/buddypress/download/])

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18477>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list