Home Français A propos Contact rss
WordPress from the beginning
Sharing some discoveries about WordPress
 

Using subcommander as visual client of subversion

Publishing your own plugin on the official repertory http://wordpress.org/extend/plugins requires the use of the management system subversion (svn). This means you need to use locally an svn client to forward your plugin files to wordpress' svn server (http://svn.wp-plugins.org/). There are command line clients and graphic clients, such as subcommander.

Once your plugin has been validated by the wordpress team, you’ll receive an email including your plugin’s address on their svn server:

0svn

After you have downloaded and installed subcommander, I suggest you prepare one folder for svn, and one subfolder for each plugin:

1svn

In another folder, put all your plugin’s files and tidy it up to save only the files necessary to your plugin’s functioning.

Then start subcommander and create a new project, which you may name as the plugin:

2svn

About the working copy, I personnally leave it blank at this stage.

It then asks for your trunk folder’s urls (see wordpress’ email):

4svn

For the other folders, use the standard layout:

5svn

This finishes the project’s creation. At this point, subcommander shows three distant folders: trunk, tags and branches, still empty on the server:

6svn

then comes the first checkout:

7svn

Precising local and distant folders, at their root:

8svn

Once checkout is finished, Subcommander will have synchronised your working copy with the server. In other words, it’ll have recreated the identical folder structure:

9svn

Then copy with windows’ explorer your plugin files into the working copy’s trunk folder:

10svn

Go back to subcommander and, after having checked “all”, you’ll see the working copy’s folders:

11svn_all

to see the folders’ content, you need to select working copy’s trunk for example, and activate the refresh and reload icons (under the menu bar):

12svnrefresh

Then select each plugin’s folder and file, and add them using the additem menu:

13svn_additem

At the end, every file will have gone from “?” status to “A”, standing for added.

The next step consists in transmitting files to the server. We’ll do this with a commit of the working copy’s trunk folder:

14svncommit

You need to write a message for each commit, to indicate what’s new:

15svnmessage

During the first commit, subcommander will ask for your login, which is identical to the one you use on wordpress.org.

To check that the commit was successful, have a look on the server:

16serveur

You can also refresh the distant trunk folder in subcommander to check that everything went well.

Eventually you need to wait 15 minutes until wordpress’ site has updated, and published your plugin:

17wp

Spread this post over the world!

Share/Bookmark

How did you like this post?

Please don't go without leaving a mark!
0 vote 1 Etoile2 Etoiles3 Etoiles4 Etoiles5 Etoiles Loading ... Loading ...

Reactions

comments Be the first!
Top
Choisissez vos widgets

About this post

  • About this weblog

    "WordPress From the beginning" is written by a French web developer and teacher currently based in Switzerland.

    Originally planned in french, both blog and its functions were developped in this language. This explains why not all functions are available in the English version.

    However, new translated articles are regularly posted for use by the wordpress' web community.

Wordpress from the beginning is a production of Woodymood
Performance Optimization WordPress Plugins by W3 EDGE