radishconcepts / WordPress-GitHub-Plugin-Updater

This class is meant to be used with your Github hosted WordPress plugins. The purpose of the class is to allow your WordPress plugin to be updated whenever you push out a new version of your plugin; similarly to the experience users know and love with the WordPress.org plugin repository.
https://github.com/jkudish/WordPress-GitHub-Plugin-Updater
822 stars 195 forks source link

Use Composer.json if available for version checking #56

Open tomjn opened 11 years ago

tomjn commented 11 years ago

If a composer.json is available, the version number, as well as a significant amount of information about dependencies and requirements, will be available in an easily parsed json format.

If a composer.json is available, perhaps the updater can use that instead of referencing some arbitrary line in a readme

ninnypants commented 11 years ago

This uses the version number in the plugin header now. The readme is only a fallback. Guess the readme should be updated.

coenjacobs commented 9 years ago

Using the composer.json file feels a bit overkill for this purpose and I'd rather just read the GitHub repository information instead (as described in #65) for tags that will reflect all available versions.

@Tarendai Can you provide some more thoughts on what this plugin could do with composer.json information that would be useful in the updating process?