views:

338

answers:

3

Hi,

Can I store large amounts of image files in subversion. My designers usually create these designs and store them anywhere on their pc and there's no system. Can I store the files in an svn repository. That way I can also protect my data against unauthorized access and its also easier to archive.

What are your comments and is there any better way to do this?

Thanks!

+1  A: 

Yes, you can store whatever you want in an SVN repository. There are no restrictions on file types or anything.

webdestroya
I know I can, but can subversion handle large files easily? Thanks!
nishantcm
By large files, I want to store around 2000-3000 files ranging from 50 kb to 2-3 mb.
nishantcm
Yes, it can handle it just fine. (It will act as a binary final and SVN won't try to run any diffs on it)
webdestroya
A: 

Alternatively you could use "git" which will give you a local repository as well. The advantage is that you can "check in" temporarily on your local box without transferring large files to the server. Once your designers have the final product they can "push" it to the master repository.

Zepplock
It sounds like from his comment on webdestroya's [post](http://stackoverflow.com/questions/2846743/storing-image-files-psd-files-ai-files-flash-in-subversion/2846746#2846746) that he needs to handle large files though, and git is pretty famously bad at that (hence the work on [git-bigfiles](http://caca.zoy.org/wiki/git-bigfiles))
Michael Mrozek
I was just pointing to the alternatives to SVN. Even though git may be slower (I tried <10mb files - work just fine) it is still may be faster depending on the workflow by saving on uploading time.
Zepplock
A: 

I would use Subversion over Git for binaries. Git has no locking given its distributed nature, which is a problem for binary files, when conflicts arise from 2 or more people updating the same file, then attempting a merge. Since your also concerned about security, Subversion has granular ACLs so you can lock down specific folders to your designers.

I would also not recommend Git for graphic designers. Git is fine for programmers, but for designers who just want to "save a file", its way to complex. Tortoise SVN for Subversion is easy to use for the non-programmer types.

Mark Bathie