Hi, does anybody know what needs to be done to change the Zsyncer-Product so that it just serves as an uploader without needing to be installed on the client-side (if possible). Or is there an other solution to upload Zope-Objects with properties (without zexp-import) -- many thanks for relpies, Elena
Hello As I know ther is no possibility to use ZSyncer without a client installation. But it's really easy to do. I think you're mother tongue is German, you'll find a mini-howto here: http://www.dzug.org/Members/Dieter/zsyncerhowto/view Regards Dieter
-----Ursprüngliche Nachricht----- Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im Auftrag von Elena Schulz Gesendet am: Mittwoch, 20. November 2002 12:40 An: zope@zope.org Betreff: [Zope] Zsyncer to Zuploader
Hi,
does anybody know what needs to be done to change the Zsyncer-Product so that it just serves as an uploader without needing to be installed on the client-side (if possible). Or is there an other solution to upload Zope-Objects with properties (without zexp-import)
-- many thanks for relpies, Elena
_______________________________________________ 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 )
does anybody know what needs to be done to change the Zsyncer-Product so that it just serves as an uploader without needing to be installed on the client-side (if possible). Or is there an other solution to upload Zope-Objects with properties (without zexp-import)
Not really without major changes to well, most of it. Maybe if you tell us what you are trying to do... you are trying to get objects from one Zope to another that doesn't have a ZSyncer on it? -- Andy McKay www.agmweb.ca
Hi Andy, yes, exactly. And with no zexp import admission, too. How could this be possible? -- Elena ----- Original Message ----- From: "Andy McKay" <andy@agmweb.ca> To: "Elena Schulz" <elena.schulz@gmx.net>; <zope@zope.org> Sent: Wednesday, November 20, 2002 5:34 PM Subject: Re: [Zope] Zsyncer to Zuploader
does anybody know what needs to be done to change the Zsyncer-Product so that it just serves as an uploader without needing to be installed on the client-side (if possible). Or is there an other solution to upload Zope-Objects with properties (without zexp-import)
Not really without major changes to well, most of it.
Maybe if you tell us what you are trying to do... you are trying to get objects from one Zope to another that doesn't have a ZSyncer on it? -- Andy McKay www.agmweb.ca
With difficulty, you are asking to take an object from one place pickle its attributes and such in some arbitrary format, and then unpickle on the destination server. I would either get a better zope installation that allows to move objects across or start writing some Python scripts. -- Andy McKay www.agmweb.ca
On Wed, Nov 20, 2002 at 12:39:44PM +0100, Elena Schulz wrote:
Hi,
does anybody know what needs to be done to change the Zsyncer-Product so that it just serves as an uploader without needing to be installed on the client-side (if possible). Or is there an other solution to upload Zope-Objects with properties (without zexp-import)
when you say "client", do you mean the source? For starters, ZSyncer uses a push model, not a pull model. You push from the source to the destination. And it uses xml-rpc to call zsyncer methods on the destination. I don't know diddly about xml-rpc in zope, aside from what zsyncer does. You'd have to replace those calls, if possible, with suitable rpc calls to things in the zope API, and if that won't do the job, you'll need to create some methods on the remote server. ZSyncer takes the latter approach by providing everything you need to be a source or a destination in one product. I think what you want is too different from the way zsyncer is designed, you might do better to start from scratch, maybe stealing ideas from zsyncer source. -- Paul Winkler http://www.slinkp.com "Welcome to Muppet Labs, where the future is made - today!"
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Paul Winkler Sent: Wednesday, November 20, 2002 9:52 AM To: zope@zope.org Subject: Re: [Zope] Zsyncer to Zuploader
On Wed, Nov 20, 2002 at 12:39:44PM +0100, Elena Schulz wrote:
Hi,
does anybody know what needs to be done to change the Zsyncer-Product so that it just serves as an uploader without needing to be installed on the client-side (if possible). Or is there an other solution to upload Zope-Objects with properties (without zexp-import)
when you say "client", do you mean the source? For starters, ZSyncer uses a push model, not a pull model. You push from the source to the destination. And it uses xml-rpc to call zsyncer methods on the destination. I don't know diddly about xml-rpc in zope, aside from what zsyncer does. You'd have to replace those calls, if possible, with suitable rpc calls to things in the zope API, and if that won't do the job, you'll need to create some methods on the remote server. ZSyncer takes the latter approach by providing everything you need to be a source or a destination in one product.
I think what you want is too different from the way zsyncer is designed, you might do better to start from scratch, maybe stealing ideas from zsyncer source.
I think (and I'm taking a wild stab here) that what Elena wants to do is use zsyncer with freezope. freezope won't install zsyncer for security reasons, since a zsyncer can pretty much install anything it wants. If this is the case, a better approach might be to create a restricted zsyncer that only creates objects from a pre-specified list of types. This is not just a bit of hackery as it is a philosophical shift for zsyncer: away from an admin-only mirroring tool and toward a user development tool. You would have to make other changes as well (such as removing the logfile pathname from the UI). No, I'm not volunteering, though it sounds like a worthy project.
On Wed, Nov 20, 2002 at 10:05:17AM -0800, Charlie Reiman wrote:
If this is the case, a better approach might be to create a restricted zsyncer that only creates objects from a pre-specified list of types. This is not just a bit of hackery as it is a philosophical shift for zsyncer: away from an admin-only mirroring tool and toward a user development tool. You would have to make other changes as well (such as removing the logfile pathname from the UI).
Well, you can already disable logging and restrict the syncable types in the ZSyncer admin interface. It would just be a matter of only allowing certain roles to change those properties. -- Paul Winkler http://www.slinkp.com "Welcome to Muppet Labs, where the future is made - today!"
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Paul Winkler Sent: Wednesday, November 20, 2002 10:09 AM To: zope@zope.org Subject: Re: [Zope] Zsyncer to Zuploader
On Wed, Nov 20, 2002 at 10:05:17AM -0800, Charlie Reiman wrote:
If this is the case, a better approach might be to create a restricted zsyncer that only creates objects from a pre-specified list of types. This is not just a bit of hackery as it is a philosophical shift for zsyncer: away from an admin-only mirroring tool and toward a user development tool. You would have to make other changes as well (such as removing the logfile pathname from the UI).
Well, you can already disable logging and restrict the syncable types in the ZSyncer admin interface. It would just be a matter of only allowing certain roles to change those properties.
I imagine it might be that restricting types and such can't be manifested in the ZMI, since FZ users are admins in their little fiefdoms. They could add a zsyncer and change it's type restriction on their own. At this point I'm just talking without solid knowledge so I'll just shut up. I'd have to renew my freezope account to play with this anyway and I just don't have the time.
Elena Schulz writes:
does anybody know what needs to be done to change the Zsyncer-Product so that it just serves as an uploader without needing to be installed on the client-side (if possible). Or is there an other solution to upload Zope-Objects with properties (without zexp-import) You need something on the client side that packages and sends the objects.
It is not necessarily a ZSyncer instance. But, why do you want something else? Dieter
Hi Dieter and Andi, thanks for your replies.
You need something on the client side that packages and sends the objects. It looks as if I have to write some Scripts to do that. I hoped someone has done this before.
It is not necessarily a ZSyncer instance. But, why do you want something else? On that server ZSyncer and zexp are not allowed due to security reasons
-- Elena ----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Elena Schulz" <elena.schulz@gmx.net> Cc: <zope@zope.org> Sent: Wednesday, November 20, 2002 8:01 PM Subject: Re: [Zope] Zsyncer to Zuploader
Elena Schulz writes:
does anybody know what needs to be done to change the Zsyncer-Product so that it just serves as an uploader without needing to be installed on the client-side (if possible). Or is there an other solution to upload Zope-Objects with properties (without zexp-import) You need something on the client side that packages and sends the objects.
It is not necessarily a ZSyncer instance. But, why do you want something else?
Dieter
participants (6)
-
Andy McKay -
Charlie Reiman -
Dieter Fischer -
Dieter Maurer -
Elena Schulz -
Paul Winkler