Hi, I'm pleased to announce the availability of ZShell 1.0pre3. ZShell is an external Zope method which allows you to manipulate the ZODB using standard unix shell's commands from within Zope's Management Interface in your web browser. ZShell is licensed under the GNU General Public Licence, with some clarifications of my own concerning it's use with Zope. You can download it from: http://cortex.unice.fr/~jerome/zshell/ New features are: ================= * view, manage and properties now work fine. * Modification time format in ls output is shorter. * The dump command works. * wget now handles local files and directories correctly. * suckfs will never exist because wget now can do that, and more... * Added some urls to the GNU GPL FAQ, backing my position. * DocStrings fixes. Apart from the fixes, the most interesting things in this version are: * you can now suck files or directories (not recursively yet) from the server's filesystem into the ZODB, using wget. * you can now dump objects' source to the server's filesystem using the dump command. However only objects which have a callable document_src attribute are dumpable, yet. This means, essentially: DTML Methods, DTML Documents, Python Scripts. Thanks to all the people who helped to make this happen, especially Jim Penny who gave the dump command idea, but I've just realised I've forgotten to put his name in the CREDITS file... (it's a TODO for the next version) As usual, comments, patches, bug reports, etc... are welcome. Jerome Alet - alet@unice.fr
Help! No new bug reports for the moment, but yesterday I wrote a function to list the contents of the FS zope install directory. For example lszopedir import Extensions lists a bunch of .zexp files first and then mostly .py files. It displayed filesize and date Anyways, since I don't want to change your code I wrote a extended class around ZopeShell something like this: import zshell class ExtendedZopeShell(ZopeShell): def run_lszopedir(self): bla bla bla def zshell(self): MyShell = ExtendedZopeShell(self) bla bla bla Everything works fine except that it lists only the functions in the ExtendedZopeShell class It used to be three columns filled with hyperlinked names of functions available and when you click them you get the man page of each. Now it was only one: lszopedir The problem is in this I suspect methodslist = map(lambda n: n[4:], filter(lambda f: f[:4] == 'run_', self.__class__.__dict__.keys())) at around line 743 How to do it right I don't know. Do you? ----- Original Message ----- From: "Jerome Alet" <alet@unice.fr> To: <zope@zope.org> Sent: Thursday, May 24, 2001 4:06 PM Subject: [Zope] [ANN] ZShell 1.0pre3
Hi,
I'm pleased to announce the availability of ZShell 1.0pre3.
ZShell is an external Zope method which allows you to manipulate the ZODB using standard unix shell's commands from within Zope's Management Interface in your web browser.
ZShell is licensed under the GNU General Public Licence, with some clarifications of my own concerning it's use with Zope.
You can download it from:
http://cortex.unice.fr/~jerome/zshell/
New features are: =================
* view, manage and properties now work fine. * Modification time format in ls output is shorter. * The dump command works. * wget now handles local files and directories correctly. * suckfs will never exist because wget now can do that, and more... * Added some urls to the GNU GPL FAQ, backing my position. * DocStrings fixes.
Apart from the fixes, the most interesting things in this version are:
* you can now suck files or directories (not recursively yet) from the server's filesystem into the ZODB, using wget.
* you can now dump objects' source to the server's filesystem using the dump command. However only objects which have a callable document_src attribute are dumpable, yet. This means, essentially: DTML Methods, DTML Documents, Python Scripts.
Thanks to all the people who helped to make this happen, especially Jim Penny who gave the dump command idea, but I've just realised I've forgotten to put his name in the CREDITS file... (it's a TODO for the next version)
As usual, comments, patches, bug reports, etc... are welcome.
Jerome Alet - alet@unice.fr
_______________________________________________ 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 )
participants (2)
-
Jerome Alet -
Peter Bengtsson