[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: bringing multi subdomain website under svn control

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-12-05 20:38:10 CET

On Dec 5, 2006, at 07:06, matt farey wrote:

> I have a particular question about "real-world" subversioning of a
> complex website. (I'm a newbie who's read a lot of subversion stuff
> over
> the past few days!) I apologise if I ask stupid questions, I am really
> coming to grips with this at the moment. SVN is easy to set up if
> youre
> starting from scrath - and I have done this a few times with great
> success, but this is the problem I am currently working on...
>
> A web site I run is set up with a few subdomains,
> domain
> www.domain
> css.domain
> js.domain
> misc.domain
> img.domain
> ...
> because I use mass virtual hosting, these are separate folders
> under the
> server root, each with their own document root
> domain/public
> domain/private
> css.domain/public
> css.domain/private
> and so on
>
> obviously I dont want to include img in any subversion repo, but what
> would be the best way of bringing the other folders under subversion
> control so that they are controlled as "one project" since they are
> obviously related in this way, (I use tortoiseSVN as my client but
> dont
> have to)
>
> The other question is more about "dirtyness" alot of websites (mine
> included) end up with mp3's, and many other files which are not source
> files. What has been vexing me for the last few days is how to
> bring an
> existing website of say a a thousand scripts, and another thousand
> mp3s.
> temp files, folders, log files and so on... all under svn so that I
> exclude those files which are not relevant, and dont end up with an
> enourmous subversion database.
>
> more info: I have the subversion service running as a windows service,
> (I dont really want to go the webdav/apache module route)
> The mass virtual hosting is done on the same box, and this is the
> box I
> work on to edit the files. (but svn is to allow some colleagues remote
> access which I am comfortable setting up securely)

It sounds like you will want to do an "in-place import" which is
described here:

http://subversion.tigris.org/faq.html#in-place-import

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 5 20:39:11 2006

This is an archived mail posted to the Subversion Users mailing list.