Are Versions evil?
Are Zope Version objects evil? I'm doing a bit of work on the Zope Book and have stumbled across the section describing Versions (I dont use them myself). I seem to remember that some people encountered bugs using Versions and there has even been talk[1] of deprecating[2] them; on the other hand there isn't much in the way of bug reports about Versions in the Collector[3]. Has anyone had trouble using Versions recently? Should I advise against using Versions in the Zope Book? Thanks, peter. [1] http://mail.zope.org/pipermail/zope-dev/2003-June/019731.html [2] http://mail.zope.org/pipermail/zodb-dev/2004-January/006573.html [3] #922 describes a critical problem but is seemingly hard to reproduce
You're using the wrong list. Please use zope@zope.org for Zope related questions. -aj --On Donnerstag, 15. Juli 2004 2:08 Uhr +0200 Peter Sabaini <peter@sabaini.at> wrote:
Are Zope Version objects evil? I'm doing a bit of work on the Zope Book and have stumbled across the section describing Versions (I dont use them myself). I seem to remember that some people encountered bugs using Versions and there has even been talk[1] of deprecating[2] them; on the other hand there isn't much in the way of bug reports about Versions in the Collector[3].
Has anyone had trouble using Versions recently?
Should I advise against using Versions in the Zope Book?
Thanks, peter.
[1] http://mail.zope.org/pipermail/zope-dev/2003-June/019731.html [2] http://mail.zope.org/pipermail/zodb-dev/2004-January/006573.html [3] #922 describes a critical problem but is seemingly hard to reproduce
_______________________________________________ Zope-web maillist - Zope-web@zope.org http://mail.zope.org/mailman/listinfo/zope-web
On Thu, Jul 15, 2004 at 02:08:21AM +0200, Peter Sabaini wrote:
Are Zope Version objects evil?
Yes, this is one of few dark sides of Zope, unfortunately. Good thing that there are no so much dark sides in Zope. ;-) In Zope you have evil buggy versions (better just forget them at all), no CVS (ZCVS looks like the best solution ever available for Zope, though it stands on unusability edge and might turn to you as a slippery pitfall in some cases), no other bind to any else concurrent version control of source code. Yet is too tricky to make term "groupware developing" in real. All you can do: is to dump your source to *.zexp files for some backup or so and hope (or help) for better life with Z3... I still use ZCVS, but very carefull with all prudence. P.S. Do not use wrong mail list. Use "zope at zope.org". -- 暮 If you are smart enough to know that you're not smart enough to be an Engineer, then you're in Business.
Early in my Zope experience, I had gotten bit by Versions... at the time, I thought I had done something wrong, and chose to avoid them... I wonder how many Zope Newbies didn't push through to the benefits of the Zope Architecture. A warning at the very least is needed, maybe the feature should become an optional product to add in, if you're comfortable with it. My Two Cents, -Jon Cyr
Peter Sabaini wrote:
Has anyone had trouble using Versions recently?
Should I advise against using Versions in the Zope Book?
I have had problems with a Version recently in 2.6.2: work in a version, accept the changes, delete the version - not the end of the story as Zope believed that one folder was still locked by the version and would not allow modification of material which had been in the version. We have also had big problems with versions in the root. In both cases we had to rely on our Zope guru (thanks, Chris!) to poke around until the problem cleared. I don't think Chris actually knew what he did to fix it - certainly restarts etc didn't help. So a warning might be useful... -- Mark Barratt Text Matters Information design: we help explain things using language | design | systems | process improvement ______________________________________________________ phone +44 (0)118 986 8313 email markb@textmatters.com web http://www.textmatters.com
On Thu, 2004-07-15 at 09:25, Mark Barratt wrote:
Peter Sabaini wrote:
Has anyone had trouble using Versions recently?
Should I advise against using Versions in the Zope Book?
I have had problems with a Version recently in 2.6.2: work in a version, accept the changes, delete the version - not the end of the story as Zope believed that one folder was still locked by the version and would not allow modification of material which had been in the version.
We have also had big problems with versions in the root.
In both cases we had to rely on our Zope guru (thanks, Chris!) to poke around until the problem cleared. I don't think Chris actually knew what he did to fix it - certainly restarts etc didn't help.
Seen this... It seams that the list of objects in a version does not work. therefore the release/delete etc fail to get all items... I was in the same the situatin descrivbed above... I undid the release, the released each modified file individually, then it worked. Seams such a pity to through away such a usefull feature, because of such a small bug... But then again, there you have it... Jerry P.S. I avoid it also. I now copy directories, work on copy and then rename to "Release" into production... Almost as good for simple applicattions...
So a warning might be useful...
Mark Barratt wrote:
In both cases we had to rely on our Zope guru (thanks, Chris!) to poke around until the problem cleared. I don't think Chris actually knew what he did to fix it
Don't worry, I knew exactly what to do to fix it, but it just goes to prove that versions are evil ;-) Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (8)
-
Andreas Jung -
bo@bitute.b4net.lt -
Chris Withers -
Jens Vagelpohl -
Jerome R. Westrick -
Jonathan Cyr -
Mark Barratt -
Peter Sabaini