PJ Hile

Don’t worry, I’m from the Internet.

PJ Hile header image 1

Ignoring directories in Subversion

April 11th, 2007 · 1 Comment

There are many reasons that you might want to disregard a directory in your Subversion repository. My particular reason happens to be the various cache directories that are used with CakePHP. I have setup 3 areas (dev, stage, live) for my website and update them from a Subversion repository, so I don’t need/want any of the cached files from one server going to the next. My development area is on my local box where I use Windows/TortioseSVN. To add a directory not already in the repo to the ignore list with TortioseSVN:

Right click on folder -> TortioseSVN -> Add to ignore list

To add a directory already in the repo, I believe it is something like:

Right click on folder -> TortioseSVN -> Properties -> Add... -> Property name: svn:ignore -> Property value: * -> Check 'Apply property recursively'

My staging and live areas are on a Linux box, and those directories can be handled with:

svn propset svn:ignore '*' Directory

→ 1 CommentTags: Uncategorized

Getting around the TortoiseSVN password prompt

March 27th, 2007 · 8 Comments

TortoiseSVN Subversion Client Password PromptFor those of you that have run into the multiple password prompts while using the TortoiseSVN Subversion client, you’ll be glad to know there is a quick workaround. Assuming you have your repo browser url setup with svn+ssh, and your username already in the url (svn+ssh://username@hostname/some/path), you can then go to the TortoiseSVN settings and under ‘Network’ add the TortoisePlink.exe as the SSH Client (C:Program FilesTortoiseSVNbinTortoisePlink.exe). After the TortoisePlink.exe add ‘-pw password‘, so your final SSH Client line looks something like this:

C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe -pw password

→ 8 CommentsTags: Uncategorized

BetterThumbs Wordpress Plugin

February 2nd, 2007 · No Comments

BetterThumbsAaron Forgue is proud to announce another code release: BetterThumbs Wordpress Plugin

The BetterThumbs Wordpress Plugin creates true thumbnails for full-size images that are resized in the post editor, instead of just letting the browser scale down the original full-size image. This translates into faster load times and lower bandwidth usage.

He built this plugin out of frustration with the way Wordpress handles images that have been resized in the post editor. To be honest, I believe this functionality should be built into Wordpress — it just makes more sense to create true thumbnails based on the dimensions the author wants.

Go leave him some feedback!

→ No CommentsTags: Uncategorized