On 8/26/05, Russ <[EMAIL PROTECTED]> wrote:
> 
> Does svn export allow for updates? I don't want to check out the whole
> application everytime I update a file...


No. An SVN export is simply that -- an export of the repository you specify.

But there are a LOT of alternatives other than having a checked-out copy of 
the code on your production server. I tend to think this is an AWFUL idea, 
mainly because it encourages developers to make changes on the server since 
things can be checked back into subversion. Plus from a security 
perspective, it means you've got some sort of link between your production 
server and your repository server (at minimum) which is an additional 
potential vulnerability I'd just assume close.

Here's some alternative option for svn (which are pretty much the same if 
you're using cvs as well)

1) Export the entire app. This is obviously an issue if you want to do a 
*quick* update, or if you have lots of content under source control. I have 
one site that's got 6 GB of media in the SVN repository for the website. 
That is NOT something I enjoy deploying as a unit, except for new servers.

2) Export the directory(s) with the changed code only. This drastically 
improves the speed for deploying the changes, but adds the risk of missing 
something if there are many directories with changed code

3) Separate the code and the content (e.g. wwwroot for the public stuff and 
approot for the cf code, which is easy in Fusebox and other frameworks). In 
this scenario, you have a single tree of ColdFusion code, which in most 
cases should be relatively small. The downside of this approach is your code 
may not be amenable to this sort of separation.

4) Use a replication tool and deploy from a staging directory. This approach 
requires yet another tool (MS robocopy is one example) but it lets you do 
the entire export somewhere local and then replicate only the changes to 
production. This has some definite issues as far as synchronizing the 
changes to code with active users on the site, but works pretty well if you 
are on an intranet and deploy during non-business hours.

5) Use Ant to automate your deployment. You can do the heckout using Ant and 
then filter out all the svn directories as you copy from your "build" 
directory" to your "deploy" directory and then push the result to the 
server.

There are plenty of other similar solutions. I agree wholeheartedly with 
Dave -- you're overthinking Apache vs IIS since you can hack either to do 
what you want. But if the fundamental issue is dealing with the .svn files, 
there are alternatives to that situation you could be putting this energy 
towards without having to worry about which specific web server you're 
using.

-----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 26, 2005 7:57 AM
> To: CF-Talk
> Subject: RE: IIS 6 VS Apache
> 
> Russ
> 
> Any reason why you cannot do svn export to deploy the application without
> the subversion system files?
> 
> Kola
> 
> > -----Original Message-----
> > From: Russ [mailto:[EMAIL PROTECTED]
> > Sent: 25 August 2005 21:23
> > To: CF-Talk
> > Subject: RE: IIS 6 VS Apache
> >
> > Well acl's won't work well here, because .svn folders are created in 
> every
> > folder of your application by the subversion client. You can expect me 
> to
> > go through hundreds of folders and set the acl on every .svn subfolder.
> The
> > reason I suspect it's easier with Apache is because apache has a lot of
> > different options for the config file, and I bet one of those directives
> > will do just what I want... disallow access to .svn folders. IIS just 
> has
> > the GUI, which isn't very rich, and I don't remember any options 
> anywhere
> > for disallowing access to specifically named folders.
> >
> >
> >
> > -----Original Message-----
> > From: Dave Watts [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 25, 2005 4:09 PM
> > To: CF-Talk
> > Subject: RE: IIS 6 VS Apache
> >
> > > What about doing things such as blocking certain directories...
> > > like for example I want to block the .svn directory from being
> > > accessible from the web. I haven't figured out how to do it in
> > > either Apache or IIS, but I have a feeling it's much easier in
> > > apache...
> >
> > That strikes me as a silly thing to say. If you don't know how to do it
> with
> > either one, what is the basis for your feeling?
> >
> > If you have a specific directory that you want to manage with regard to
> IIS,
> > you set ACLs on it appropriately. Just like you'd set ACLs on files in a
> SMB
> > share. So, for people who have that experience - practically every 
> Windows
> > server administrator in the world - I suspect IIS is easier. If you 
> don't
> > know how to set ACLs, I imagine it's a toss-up.
> >
> > But honestly, you're putting way too much thought into this, I suspect.
> > Either IIS 6 or Apache will do what you need them to do.
> >
> > Dave Watts, CTO, Fig Leaf Software
> > http://www.figleaf.com/
> >
> > Fig Leaf Software provides the highest caliber vendor-authorized
> > instruction at our training centers in Washington DC, Atlanta,
> > Chicago, Baltimore, Northern Virginia, or on-site at your location.
> > Visit http://training.figleaf.com/ for more information!
> >
> >
> >
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216761
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to