Add WordPress Plugin to the WordPress Public Repository Using Subversion

Demonstration will be for the phpinfo-print plugin, but very similar for any other plugin.

First you log in to wordpress.org and then you visit this URL: https://wordpress.org/plugins/add/

After providing the plugin name and description you need to provide the zip URL of your plugin

After the approval you will get an email like this:

Your plugin hosting request has been approved.
Within one hour, you will have access to your SVN repository at
http://plugins.svn.wordpress.org/phpinfo-print/
with your WordPress.org username and password (the same one you use on the forums).
Here's some handy links to help you get started.
Using Subversion with the WordPress Plugins Directory
http://wordpress.org/plugins/about/svn/
FAQ about the WordPress Plugins Directory
http://wordpress.org/plugins/about/faq/
WordPress Plugins Directory readme.txt standard
http://wordpress.org/plugins/about/readme.txt
readme.txt validator:
http://wordpress.org/plugins/about/validator/

Enjoy!

Goto your plugins folder

svn co http://plugins.svn.wordpress.org/phpinfo-print phpinfo-print

Add your plugin to the trunk folder and screenshots to the assets folder

svn add trunk/*
svn add assets/*
svn stat
svn diff
svn commit -m 'Initial version'

Here is another very interesting question: How to update the subversion with the plugin improvements?

Here is the process of improving the plugin description and eliminating some warnings…

svn co http://plugins.svn.wordpress.org/phpinfo-print phpinfo-print

cd phpinfo-print folder

# Modify your files
svn status
svn update
svn commit -m "Updated description and eliminated one warning in the footer..." 

Useful links:

  • https://wordpress.org/plugins/about/svn/
  • https://wordpress.org/plugins/about/faq/

tags: & category: -