-
Notifications
You must be signed in to change notification settings - Fork 24
Plugin Development Info
If you want to develop on this plugin you can simply fork the repository and create your changes in a branch and commit the branch and open a pull request to merge the changes into the plugin.
To make a Wordpress plugin easily accessible for Wordpress users it's best to host the plugin in Wordpress' Subversion repository. This plugin is also in that repository, but we also have this Github repo to facilitate colaboration and to improve issue tracking.
We made the choice to keep git and svn separate and not use git-svn. This means that the initial setup for commiting to both repositories is a bit different. Here's how to set it up.
First clone the GitHub repository.
git clone [email protected]:jwplayer/wordpress-plugin.git
Now checkout the assets directory of our plugin into a temporary directory:
svn co http://plugins.svn.wordpress.org/jw-player/assets assets-tmp
Do the same for the trunk.
svn co http://plugins.svn.wordpress.org/jw-player/trunk trunk-tmp
Now copy the .svn and .svnignore files from both svn checkouts into the git clone:
mv assets-tmp/.svn assets-tmp/.svnignore wordpress-plugin/assets/
mv trunk-tmp/.svn trunk-tmp/.svnignore wordpress-plugin/jw-player/
And finally remove the temporary directories.
rm -rf assets-tmp trunk-tmp
That's it.