No, the copy of the code is on the dev server, and each developer edits the code directly using ftp. As we are a small shop, we have not had a lot of issues with people messing up each other's code. I am fine with all the code being on the same server.
We have some people working remotely, and having the code on each developers laptop would be fairly hard to set up (we need to install iis, coldfusion, and then the database would probably be an issue, as we'd have to access it over the internet.) Although this would be possible in theory, it is probably out of our reach for the time being. I am more worried about not having a copy of the development branch in a repository until someone is ready to deploy the code. We've had issues where the file was saved as a 0 byte file and work had to start from the beginning or at least from an older backup. Is anyone using the setup I'm talking about? I.e. Everything you save the file through webdav, it goes into the repository and gets put into the file system at the same time. Once we're ready to deploy stuff, it goes into a different repository (production). Is this setup even possible? What I've read so far leads me to believe that it is, but I wanted to see if anyone is using it this way and if there are any gotchas, etc.. -----Original Message----- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Monday, September 26, 2005 12:44 PM To: CF-Talk Subject: Re: source control setup If I understand you correctly, you've got each developer with a copy of the source on their workstation, and then they FTP it to the dev server? That's a bad way to do it; you should have a working copy per-developer, and keep them synchronized with svn, rather than using FTP (since as you say, you can easily overwrite stuff). If you overwrite something with svn, which is very difficult to do accidentally, you can always get it back, because everything is versioned. This will also alleviate the need to use webdav directly. Second, you need to check out branches. Branches let you do parallel development, so if someone needs to go off in some new direction, they can create a branch that doesn't interfere with anyone else (or the production code), and then when they're all done, the branch's changes can be merged back into the main line of development. The benefit is that while workin gon the branch, you can commit to the repository, so you won't ever lose anything. cheers, barneyb On 9/26/05, Russ <[EMAIL PROTECTED]> wrote: > Tried posting this on Friday, but it never seemed to have made it through: > > > > We're already using subversion pretty successfully on our servers, but the > way we're using it, we're running into a few problems. > > > > We have a dev server, which has the production tree checked out, with > development changes made straight on the server through ftp. Once the code > is ready to be deployed, it gets committed to the repository, and then the > svn update is run on the production server (which also has the production > tree checked out). > > > > Now, if there is some code that is worked on for a long time, or never gets > approved to be deployed, then we have code sitting on development for a long > time and never being in source control. Sometimes ftp will screw up and > overwrite the file, and all the changes get lost. > > > > I heard that it's possible to set up svn with webdav through apache. Is it > possible to have a set up where we are editing files through webdav or > something, and every time we save it gets saved to the development branch or > repository and also gets updated in the file system? Then once we're ready > to deploy, we would commit it to the production repository as usual. > > > > Also what editors support webdav? Homesite doesn't seem to support it, and > I've been using CFEclipse lately, which is a little buggy with the ftp > support, but I'm assuming there is a webdav plugin for it somewhere. Is it > possible to set it up through windows somehow? I read something about web > folders, but have not been able to figure out how to set it up in XP Pro. > > > > Russ > > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219286 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

