I just wanted to see what people's techniques were for dealing with file uploads on a site in version control.
I'm sure many of you, like me, have your websites under some kind of version control - for me it's Subversion but there are many different ones out there.
Websites quite often allow file uploads for the users, or even generate files itself which it puts in a specified folder, but these files aren't under version control like the codebase itself, or the other files you might have in the project. When it comes to checking the code out elsewhere, or updating the site, these files get 'left out' and aren't put in the new version - I export the site from SVN when I want to update rather than serve from a working copy, which can be a bad idea if your server isn't set up correctly.
I have thought about using a symbolic link to deal with it, but I wanted to see if anyone else has come across this problem, and how they solved it.
Any suggestions?









Bookmarks