FTP/WebDAV editing in version (proposed interface)
I would really love to edit zope objects via FTP or WebDAV within the version. I know that it is possible to hack z2.py this way, but this is unelegant and troublesome on updates. And ... there is in Zope similar problem with perfect solution: changing URLs and VirtualHostMonster. And one could do almost the same. Would be really nice if editing ftp://my.zope.site:8021/_Version_/SomeVersionName/some/document or even ftp://my.zope.site:8021/SomeVersionName/some/document changed /some/document withing version SomeVersionName (created on the top Zope level). Similarly, for the versions on the lower levels: ftp://my.zope/site:8021/somedir/SomeVersionName/some/document Would it be hard to be implemented?
WebDAV would be the way to go with this...I imagine you just need a client with the proper support. I don't know how Zope wraps WebDAV around activity done in a version object, besides write-locking however (or if it even is done at all). Since KDE just recently got native WebDAV support, I haven't gotten a chance to play with it much yet. This is a good topic for discussion, however. I suppose there could be a way to access a version object's changes through FTP using URL mangling. Regards, Eron On Wednesday 20 February 2002 07:00 am, you wrote:
I would really love to edit zope objects via FTP or WebDAV within the version. I know that it is possible to hack z2.py this way, but this is unelegant and troublesome on updates.
And ... there is in Zope similar problem with perfect solution: changing URLs and VirtualHostMonster. And one could do almost the same.
Would be really nice if editing
ftp://my.zope.site:8021/_Version_/SomeVersionName/some/document or even ftp://my.zope.site:8021/SomeVersionName/some/document
changed /some/document withing version SomeVersionName (created on the top Zope level).
Similarly, for the versions on the lower levels:
ftp://my.zope/site:8021/somedir/SomeVersionName/some/document
Would it be hard to be implemented?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Marcin Kasperski writes:
I would really love to edit zope objects via FTP or WebDAV within the version. I know that it is possible to hack z2.py this way, but this is unelegant and troublesome on updates.
And ... there is in Zope similar problem with perfect solution: changing URLs and VirtualHostMonster. And one could do almost the same.
Would be really nice if editing
ftp://my.zope.site:8021/_Version_/SomeVersionName/some/document or even ftp://my.zope.site:8021/SomeVersionName/some/document
changed /some/document withing version SomeVersionName (created on the top Zope level). The first variant should be easy with a SiteAccess AccessRule (--> Zope.org).
The second should be very difficult, as there seems to be not easy way to distinguish between version controlled access and direct (without version) access. Dieter
Dieter Maurer wrote:
Marcin Kasperski writes:
I would really love to edit zope objects via FTP or WebDAV within the version. I know that it is possible to hack z2.py this way, but this is unelegant and troublesome on updates.
And ... there is in Zope similar problem with perfect solution: changing URLs and VirtualHostMonster. And one could do almost the same.
Would be really nice if editing
ftp://my.zope.site:8021/_Version_/SomeVersionName/some/document or even ftp://my.zope.site:8021/SomeVersionName/some/document
changed /some/document withing version SomeVersionName (created on the top Zope level). The first variant should be easy with a SiteAccess AccessRule (--> Zope.org).
Hmm... Sample?
The second should be very difficult, as there seems to be not easy way to distinguish between version controlled access and direct (without version) access.
If I understand correctly, it would be the problem to distinguish between things like Version 'manage' screen and the syntax above. So maybe: ftp://my.zope.site:8021/somedir/SomeVersionName/_access_/some/document (accessing somedir/some/document within version somedir/SomeVersionName) As you can see, I suggest here adding some functionality to the Version object - so just any Version could handle ftp access, without adding additional objects.
participants (3)
-
Dieter Maurer -
Eron Lloyd -
Marcin Kasperski