What is this? From this page you can use the Social Web links to save How to Maintain Your WordPress Plugin from a Windows Workstation using Subversion to a social bookmarking site, or the E-mail form to send a link via e-mail.

Social Web

E-mail

E-mail It
September 18, 2007

How to Maintain Your WordPress Plugin from a Windows Workstation using Subversion

Posted in: Wordpress Plugins

Windows SVN Tutorial Step 1
1 2 3 4 5 6 7 8
Windows SVN Tutorial Step 1Windows SVN Tutorial Step 1Windows SVN Tutorial Step 1Windows SVN Tutorial Step 1Windows SVN Tutorial Step 1Windows SVN Tutorial Step 1Windows SVN Tutorial Step 1Windows SVN Tutorial Step 1

I’ve been asked several times for an easy introduction into WordPress Plugin maintainance via Subversion. This post is supposed to be a sequal to Things to do when you release a WordPress Plugin. Almost everyone managed to get an account on WordPress Extend. But what to do exactly when you receive that email from Matt, telling you that the SVN repository is waiting for your plugin?

These 3 easy steps assume you are the only person maintaining the plugin in question. As an example and for the purpose of this tutorial I’ll do an update on BackUpWordPress, one of my own plugins.

Prerequisites:

Step one

create an empty directory on your Windows Machine, rightclick for the context menu and choose “Checkout Repository” and check out the HEAD revision by leaving the default options set.

Windows SVN Tutorial Step 1

Windows SVN Tutorial Step 1

Windows SVN Tutorial Step 1

You’ll see a dialog window, telling you what happens. Wait until it states “Completed”.

Step 2

Press Ok to close the dialog. When you look at the directory’s icon (mine is just on my desktop) you should see a green swoosh:

Windows SVN Tutorial Step 1

This means, that your local working copy of the repository is up to date. Now Let’s assume, you’ve edited you plugin somewhere else in the meantime: Copy the sourcefiles to you local working copy of your SVN-repository by dropping the contents of your plugin directory onto the trunk directory of your working copy

Windows SVN Tutorial Step 1

If you want to keep track of your plugin’s versions, create a directory under the “tags” directory, name it just as your current plugin’s version (in my case 0.3.1) and copy the plugin sourcefiles there as well.

Windows SVN Tutorial Step 1

Now you should recognize an “out of date”- exclamation mark on the directory icon for you working copy and those subdirectories that have been changed:

Windows SVN Tutorial Step 1

Step 3

Now we are ready to commit the changes to the repository. Right-click the working-copy’s directory and choose “SVN commit”:

Windows SVN Tutorial Step 1

Now that’s it! Couldn’t be easier!


Return to: How to Maintain Your WordPress Plugin from a Windows Workstation using Subversion