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
826 stars 193 forks source link

GitHub username, repository-name, branch-name instead of URLs #11

Closed sc0ttkclark closed 12 years ago

sc0ttkclark commented 12 years ago

Instead of having to provide the zip/api/raw URLs, it could be easier for most uses to just have the 'username', 'repository-name', and 'branch-name' be provided instead, and build those URLs within the class.

jkudish commented 12 years ago

Definitely something I've thought of, will explore this!

pdclark commented 12 years ago

@sc0ttkclark I submitted a pull request to @jkudish today that takes a stab at this. It's a pretty big changeset, but it enables github updates for all plugins with a github.com repository address set as the Plugin URI.

It gets version numbers and zip URLs from repo tags, so the only required configuration is the Plugin URI.

See https://github.com/jkudish/WordPress-GitHub-Plugin-Updater/pull/16

I'd appreciate each of your input on it!

sc0ttkclark commented 12 years ago

I like pdclark's implementation and idea better. I am closing this ticket as his is more advanced and covers even better.