I know that this is quite a bit off-topic, but I just thought I would share some experiences with Subversion. It is probably most interresting for other Zope developers on Windows. I am not in any way related to the Subversion project! I have developed products for Zope/Plone for a long time. It has mosty been custom products for different customers without too much overlap. But lately it has become easier to repurpose modules, mostly due to CMF/Plone frameworks and the common stylesheets etc. Copying products from one INSTANCE_HOME to another started to become a frail process. I needed to remember to manually copy back from one INSTANCE_HOME to the first when I made updates to shared products. And didn't I also update the same file because of another bug I found in a third INSTANCE_HOME? Off course I know CVS, and I knew that this was a good job for it. But I am mostly working on Windows, and as far as I know CVS runs poorly on Windows. To quote from http://www.cvshome.org/dev/codewindow.html: """ The second way is known as "local" or "non-client/server" CVS. This lets you run CVS if you have only Windows machines. However, due to issues (a) with local CVS on Windows, and (b) with the suitability of Windows as a server operating system in general, we would generally recommend this more to try out CVS and get a feel for it rather than for production use. """ I use Linux on some servers, but for various reasons I am more interrested in setting up the Versioning server on my Windows workstation. I remembered trying to install CVS on Windows in the past without succes, and I also remembered Subversion being mentioned on /. a few times. So I looked around and found Subversion at http://subversion.tigris.org/: """ Subversion is meant to be a better CVS, so it has most of CVS's features. Generally, Subversion's interface to a particular feature is similar to CVS's, except where there's a compelling reason to do otherwise. """ So I thought I would give it a go. It also has Python bindings, and I mean, anything with Python bindings is great as we know. It installed on Windows without a problem, and there is a nice client for it: http://tortoisesvn.tigris.org/ that integrates with the windows explorer. So for a while I have been using it to keep version controll on my Zope/Python/Plone projects, and it works like a charm. It even feels like a Windows product. It took me around a days work to get up and running from scratch with my most important software put under versioning controll. regards Max M
Max M wrote:
It took me around a days work to get up and running from scratch with my most important software put under versioning controll.
Yup, and the server is a nice WebDAV DeltaV pluggin for Apache 2, which makes authentication and authorisation to your SVN repository as easy as configuring user access in Apache. All of which I have working nicely on Windows, yes Windows ;-) I defy anyone to get ViewCVS, and CVS working as a secure server, on windows, as quickly or easily :-) cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
On 9 Mar 2004 at 0:29, Max M wrote:
So for a while I have been using it to keep version controll on my Zope/Python/Plone projects, and it works like a charm. It even feels like a Windows product.
It took me around a days work to get up and running from scratch with my most important software put under versioning controll.
What are you versioning? Extensions, products, Data.fs? --- I use APE to put everything in the file system, then use subversion on the file system. This has worked out really well for my remote clients. I can "clone" their zope localling, do all my work, then check in to subversion, go to the remote client's machine and check out. Wonderful! -- Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements
Brad Clements wrote:
On 9 Mar 2004 at 0:29, Max M wrote:
It took me around a days work to get up and running from scratch with my most important software put under versioning controll.
What are you versioning? Extensions, products, Data.fs?
Just the products, so that they are easier to keep in synch between customers. I think it is dangerous to put the Data.fs in there too. Beside I only ever develop on the filesystem. Even if I just need to put skin files into the custom folder I make a filesystem based skin instead.
I use APE to put everything in the file system, then use subversion on the file system. This has worked out really well for my remote clients. I can "clone" their zope localling, do all my work, then check in to subversion, go to the remote client's machine and check out. Wonderful!
Yes, that is a good idea! I will probably start doing that too. It will make updating a lot faster, as it is only the diffs that needs to be moved over the net. But I could imagine it being a bit of a headache with products shared between different customers, if the repository structure is wrong. All the shared products would need to be in their own repository anyway. regards Max M
participants (3)
-
Brad Clements -
Chris Withers -
Max M