FWIW, ZCVSMixin now at 0.0.2... and rising. ;-)
FYI... if anyone out there is testing... there is already an update to ZCVSMixin. http://www.zope.org/Members/sspickle/ZCVSMixin This is of course in cvs! http://cvs.spvi.com/cgi-bin/viewcvs.cgi/zope/lib/python/Products/ZCVSMixin/ and you can see some cvs'ed objects: http://cvs.spvi.com/cgi-bin/viewcvs.cgi/zopeObjs/testCVS/ -steve
Ack.. had to move one of these URLS:
"Steve" == Steve Spicklemire <steve@spvi.com> writes:
Steve> FYI... if anyone out there is testing... there is already Steve> an update to ZCVSMixin. Steve> http://www.zope.org/Members/sspickle/ZCVSMixin Steve> This is of course in cvs! Steve> http://cvs.spvi.com/cgi-bin/viewcvs.cgi/zope/lib/python/Products/ZCVSMixin/ not any more! Now it's http://cvs.spvi.com/cgi-bin/viewcvs.cgi/zopepub/lib/python/Products/ZCVSMixi... Steve> and you can see some cvs'ed objects: Steve> http://cvs.spvi.com/cgi-bin/viewcvs.cgi/zopeObjs/testCVS/ Steve> -steve I've not heard any comments about the usefulness of this concept... am I barking up the wrong tree to get version control of zope objects? Does someone know of a better way? thanks! -steve
Steve Spicklemire wrote:
I've not heard any comments about the usefulness of this concept... am I barking up the wrong tree to get version control of zope objects? Does someone know of a better way?
Steve, this has been my fondest hope for about three months now. Now, if I could also get it to do through-the-web XML (DocBook) editing and rendering, I'd have a complete end-to-end document management system. Particularly if it preserved accountability, like Jonothan was mentioning. I'll be testing this tommorow, and doing my best to get this to do unnatural things with XMLWidgets and DocBookDocument. Many thanks, Michael Bernstein.
Hi Michael, I need to put some verbage in the README about setting up the workspace on the filesystem to work with ZCVSMixin. No time like the present! ;-) Before you begin, you need to set up a cvs repository somewhere. This is described pretty well in the cvs reference: http://www.loria.fr/cgi-bin/molli/wilma.cgi/doc.847210383.html After that is done.... and you set your CVSROOT environment variable to match that repository, you can setup your module for zope objects... Basically you must first become the same user that runs as the zope process. If this is a totally new project you will need to create a module in cvs. I usually do this with 'cvs import'.. like this: ---------------------------------------------------------------------- mkdir foo cd foo cvs import -m "start new project" zopeObjs/foo steve start No conflicts created by this import ---------------------------------------------------------------------- Now, go to the place on your filesystem where you want to keep your 'live' zope objects. This might be called your active workspace. I might do it like this: mkdir workspace cd workspace cvs co zopeObjs/foo cvs checkout: Updating zopeObjs/foo cd zopeObjs/foo pwd /usr/home/steve/workspace/zopeObjs/foo this is the path you would enter in the ZCVS Folder as the 'fsdir' parameter. Now you can manage the contents of this folder in Zope, or on the command line. The Zope stuff doesn't handle subdirectories at the moment.. we can add that as soon as we have a sane way of making that work! ;-) Good Luck! -steve
"Michael" == Michael Bernstein <webmaven@lvcm.com> writes:
Michael> Steve Spicklemire wrote: >> I've not heard any comments about the usefulness of this >> concept... am I barking up the wrong tree to get version >> control of zope objects? Does someone know of a better way? Michael> Steve, this has been my fondest hope for about three Michael> months now. Now, if I could also get it to do Michael> through-the-web XML (DocBook) editing and rendering, I'd Michael> have a complete end-to-end document management Michael> system. Particularly if it preserved accountability, like Michael> Jonothan was mentioning. Michael> I'll be testing this tommorow, and doing my best to get Michael> this to do unnatural things with XMLWidgets and Michael> DocBookDocument. Michael> Many thanks, Michael> Michael Bernstein.
participants (2)
-
Michael Bernstein -
Steve Spicklemire