You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Cameron <du...@gmail.com> on 2008/01/29 14:25:13 UTC

SVN, Wordpress, Disk space

Hey folks,

I'm using SVN to keep my copy of Wordpress - http://wordpress.org - up to
date on my webspace, however I only have a very limited amount of space.

I have checked out a working copy and every time wordpress updates, I use
svn switch to go to the newest tag. However, this is using up quite a lot of
space - does anyone have any recommendations for how I could conserve space,
short of removing and re-checking out?

Thanks for writing, developing and supporting SVN, it's really great
software :D

~Cameron

Re: SVN, Wordpress, Disk space

Posted by John Peacock <jo...@havurah-software.org>.
si wrote:
> So one option I'm considering is keeping a working copy on my home
> box, performing the switch for each tag as per normal, then using the
> svn export command to a temp directory and then ftp up to the web
> server.  That also gives you the option of testing the temp directory
> with a local web server before releasing.

Check out SVN::Notify::Mirror[1], specifically the Rsync method, which doesn't
require anything on the web server except the ability to run rsync.  It would
automate that entire process in a couple of lines of YAML in a post-commit
script[2].  You would not need a working copy on the web server at all...

John

1. http://search.cpan.org/search?query=SVN::Notify::Mirror
2. http://search.cpan.org/search?query=SVN::Notify::Config

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN, Wordpress, Disk space

Posted by si <ss...@gmail.com>.
Hi Cameron,

> space - does anyone have any recommendations for how I could conserve space,
> short of removing and re-checking out?

I also want to use a working copy with Wordpress, except that I don't
have an svn client available on the web server.

So one option I'm considering is keeping a working copy on my home
box, performing the switch for each tag as per normal, then using the
svn export command to a temp directory and then ftp up to the web
server.  That also gives you the option of testing the temp directory
with a local web server before releasing.

More work involved but it's one way you could use ½ the disk space.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: SVN, Wordpress, Disk space

Posted by Kenneth Porter <sh...@sewingwitch.com>.
On Tuesday, January 29, 2008 5:19 PM -0800 Blair Zajac <bl...@orcaware.com> 
wrote:

> Switching to a new tag doesn't consume any additional disk space, besides
> the size changes in the Wordpress files themselves.

I think the concern is over the static 2x space usage of any WC. For 
typical web hosting space, the cost of disk space is more than the cost of 
bandwidth going to the server for revision control purposes. An alternate 
WC representation that traded space for bandwidth would be nice here. 
(Perhaps one that caches locally the original copy of any file once a 
change is detected, but doesn't store copies of everything.)

(I'm pretty sure this is in the bug tracker somewhere, as I'm sure I've 
seen the issue on the dev list in the past.)



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN, Wordpress, Disk space

Posted by Blair Zajac <bl...@orcaware.com>.
Cameron wrote:
> Hey folks,
> 
> I'm using SVN to keep my copy of Wordpress - http://wordpress.org - up 
> to date on my webspace, however I only have a very limited amount of space.
> 
> I have checked out a working copy and every time wordpress updates, I 
> use svn switch to go to the newest tag. However, this is using up quite 
> a lot of space - does anyone have any recommendations for how I could 
> conserve space, short of removing and re-checking out?

Switching to a new tag doesn't consume any additional disk space, besides the 
size changes in the Wordpress files themselves.

Blair

-- 
http://www.orcaware.com/svn/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org