Forums Sign Up Reply Search Statistics
CVS or SVN for Dreamweaver GraFX Software Solutions - Forum / CVS or SVN for Dreamweaver /

Can Remote Depository also be Web folder?

 
Author Anonymous
Guest
#1 Posted: 24 Jan 2005 17:00:46
Reply 
Hi

I plan to evaluate CVSNT and CVS Lite (or Full) for DW MX on our development Windows 2003 Server.

We currently use this Windows 2003 Server to develo & test our ASP websites. The folder for each project is also local to this server (usually under E:/hosting).

My question is - can we set the Repository subfolders to be physically the same folders as used by IIS for testing the ASP web pages?

This would obviously be extremely handy (currently we do the DW check-outs in this this folder).

Regards

Nigel Sedgwick
MD eCommerce Consortium
Author software
Admin
#2 Posted: 24 Jan 2005 18:23:43
Reply 
NO, and the reson is that will not working like that.
CVS keep in one file all modified informations in time, and your ASP file will look very odd as ASP.
So repository need to be a separate place, only for CVS and test server or final server totally different. Need to read more abut how CVS work with files to understand this, but I not recommend to use how you suggest it.
Author Anonymous
Guest
#3 Posted: 11 Feb 2005 02:40:31
Reply 
I was thinking about a similar strategy also. The problem with things like ASP, PHP, ColdFusion etc. is that they require a server to operate and also often require you to monitor changes to databases, either a flavour of SQL or Access.

As far a the 'normal' CVS workflow goes, basic HTML/JavaScript is easy because after you 'checkout' a version to your local computer, you can view these pages from your local version.

I was doing research on how to apply CVS to this problem for a developer I am working with and stumbled upon your MX plugin, which was subsequently purchased. Now that we have it we need to come up with a strategy for implimenting it.

We are running a Win 2003 Server with ColdFusion and MSSQL as our development server. I managed to get this up and running with CVSNT and have been able to access and change files in a test repository, admittedly not with your plugin, but with another client.

Reading 'admin' comments is a bit discouraging, but I think are a bit misleading also. In developing a strategy, two spring to mind -

Strategy 1

a) Create a 'non-served' repository with the imported site structure on the server.
b) Setup workstations to run the Server and Server applications and make the 'checked out' versions' folders 'active'
c) Test changes on the 'local version' then commit to the repository
This would be handy but pricey to run on each machine and may run into problems if the workstation setups change.

Strategy 2

a) Create a 'Served' repository with the imported site structure 'on the server'.
(In spite of what has been stated by 'admin', it would seem that once a file had been commited to the server, the 'current version' is stored intact, not just the original version plus the differences over time. This may be different on a non-Win server, not running CVSNT)
b) Checkout local versions of the Site to work on
c) Make changes 'locally' then commit to repository
d) View and test from server
with this strategy you don't need to run a local server etc. you would also have to be diligent in tagging changes so that contributors were only updating to, or checking out finished changes. Alternatively, you could branch any time you wanted to make a change then merge, however this could be too laborious for day to day, minor development.

I'm trying to look at implimenting Strategy 2 as I believe that this is the best way to account for future growth. There may be some battles when it comes to branches etc. but I think we will be able to overcome these.
Author software
Admin
#4 Posted: 12 Feb 2005 20:31:23
Reply 
As I told, cannot be a webdirectory to be a CVS repository.
The reason is that CVS keep in own proprietary way the files, so you cannot use that, only CVS can. Hope this help.
Author Anonymous
Guest
#5 Posted: 22 Feb 2005 01:33:39
Reply 
Ok, I just realised that I was wrong. I was actually creating a sandbox on the server which was automatically created when I created a module from the original files, this made the original files, as I said, a sandbox. I was using tortoisecvs as the client rather than the dreamweaver plugin. Tortoise allows you to change the policy regarding permitting sandboxes and repositories on remote machines. This is disallowed by default with most cvs clients but I'm not sure about the plugin.

What's the deal 'software'??
Author software
Admin
#6 Posted: 22 Feb 2005 06:48:00
Reply 
We are glad that you have managed. We will see what can be done to have that change the policy.
If you have any other ideea, let us know.
 
Your Reply

» Username  » Password 
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or sign up first.