Hi, I'm pleased to announce you the very latest ZShell version: 0.9 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. It's a very powerful tool which can possibly destroy your ZODB's contents when not used correctly: You've been warned. You can download it from: http://cortex.unice.fr/~jerome/zshell/ New features: ============= - Commands grep, view, properties and manage added. WARNING: no security check is done on manage. - Command replace was deleted since grep can do replace. - Command google now opens a new window. - If javascript is not activated then new windows are not opened but the user can follow links to the results in commands: google, view, properties and manage. - Some minor fixes. - Code simplifications. - find was going one level too deep when --maxdepth was used. You'll probably find the new grep command useful, considering that it can search and also replace patterns in objects. You can use the full re module regexp possibilities, both for the search and replace patterns. Currently grep is able to replace in objects content for objects which are or inherits from: DTMLMethod, DTMLDocument, PythonScript, provided you've got sufficient permissions. But grep can also replace in any other object type properties with its --properties option, again, if your current priviledges allow that. the meaning of a matching pattern can be reversed using the --invert option: objects that doesn't contain the pattern match. finally, the grep command may be used recursively with its --recurse option. Feel free to send any comment, bug report, or wish to me. Thanks in advance. Jerome Alet - alet@unice.fr
Jerome Alet wrote:
Hi,
I'm pleased to announce you the very latest ZShell version: 0.9
I hate to bring it up, but after reading the comments on jaxml page it seems that using it forces whole Zope to use GPL ;( I'm sure this is not the intention but some sort of explanation could clarify it . BTW, is this the reason why calling the method is "DISABLED UNTIL FURTHER INVESTIGATION" ? ------------------- Hannu
On Wed, 16 May 2001, Hannu Krosing wrote:
Jerome Alet wrote:
I'm pleased to announce you the very latest ZShell version: 0.9
I hate to bring it up, but after reading the comments on jaxml page it seems that using it forces whole Zope to use GPL ;(
Of course that's not my intentions, see below.
I'm sure this is not the intention but some sort of explanation could clarify it .
Here are my views, which may be (read: are) different from that of the Free Software Foundation: My own code is GPLed, so if you plan to use it in your own code, then your code must be GPLed too, that's the GPL, and everyone either have to agree or not use the code. However I don't consider installing my code inside a Zope installation is using it from your own code, or from Zope's code, so both your code and Zope's one retain their existing license: You install my GPLed external method inside Zope and use it from its "Test" tab, it's OK for me, and IMHO you're OK with regard to the GPL because I consider it just like if you run a GPLed program under a "proprietary" operating system: it's perfectly allowed since the GPL doesn't restrict the running of the code in any way, provided you distribute MY software with all its sources and the attached COPYING file. The second reason why Zope should'nt fall under the GPL when you use this software is because Zope itself doesn't need any line of my code to run, yet ;-) But if in your own code, or in Zope's core (dream, dream, dream), you put something like: <dtml-var "zshell(...)"> then you're using my GPLed code in your own code, so your code falls under the GPL. I suspect the FSF disagrees entirely with my opinion, and IMHO this is a complete misunderstanding of what Zope is, but I decide how it applies since I've written this code.
BTW, is this the reason why calling the method is "DISABLED UNTIL FURTHER INVESTIGATION" ?
Ho, no ! I'm sorry but not being a native english speaker may cause problems when you try to write english and be understood. I'm really sorry. What is disabled is calling the zshell method from another method, like: <dtml-var "zshell(zshellscript=....)"> but it's only because of a bug: the code is commented out at the end of zshell.py because it seems it caused many users problems when running zshell: it didn't work at all. I haven't experienced any such problem myself, but under popular pressions I've disabled this code just, with # signs ;-) If you plan to uncomment it and send a patch you're perfectly welcome. Again, I'm so sorry about all this confusion, and I'll include this text in the next release in order to clarify my views and intentions once and for all. bye, Jerome Alet
Jerome Alet wrote:
On Wed, 16 May 2001, Hannu Krosing wrote:
Jerome Alet wrote:
I'm pleased to announce you the very latest ZShell version: 0.9
I hate to bring it up, but after reading the comments on jaxml page it seems that using it forces whole Zope to use GPL ;(
Of course that's not my intentions, see below.
I'm sure this is not the intention but some sort of explanation could clarify it .
Here are my views, which may be (read: are) different from that of the Free Software Foundation:
In this case I'm sure it is your views that matter as you are licensing the code Thanks for clarification!
My own code is GPLed, so if you plan to use it in your own code, then your code must be GPLed too, that's the GPL, and everyone either have to agree or not use the code.
Fair enough ..
BTW, is this the reason why calling the method is "DISABLED UNTIL FURTHER INVESTIGATION" ?
Ho, no ! I'm sorry but not being a native english speaker may cause problems when you try to write english and be understood. I'm really sorry.
What is disabled is calling the zshell method from another method, like:
<dtml-var "zshell(zshellscript=....)">
That's exactly how I did understand this, but it may because I'm not a native speaker either ;) --------- Hannu
From: "Jerome Alet" <alet@unice.fr>
I'm pleased to announce you the very latest ZShell version: 0.9 You can download it from: -snip-8<--- http://cortex.unice.fr/~jerome/zshell/
New features: =============
- Commands grep, view, properties and manage added. WARNING: no security check is done on manage. - Command replace was deleted since grep can do replace. - Command google now opens a new window. - If javascript is not activated then new windows are not opened but the user can follow links to the results in commands: google, view, properties and manage. - Some minor fixes. - Code simplifications. - find was going one level too deep when --maxdepth was used.
Yow! The best just keeps getting better. Thanks :-) ------------------------------- BUG REPORT [latest zshell-0.9]: RESULTS Manage/View links not yet 100% compatible with SiteRoot Since version 0.8 the handy hyperlinked command set to the right of the zshell input textarea have been working correctly. But the 'manage/view' links in the far right hand column which are 'Results:' returns when doing, for example 'ls *' These are still slightly broken on my setup: Linux RedHat 6.2 Zope 2.3.2 SiteAccess2 and SiteRoot instance in zoperoot Apache 1.3.14 with ProxyPass and ProxyReverse directives Now I am losing the Path which SiteRoot handles: Base = http://www.mysite.com Path = /zope Thus Zope is happily running on http://www.mysite.com/zope Manage/View links from zshell is missing the /zope. For example, 'View' link for index_html points at http://www.mysite.com/index_html It should be http://www.mysite.com/zope/index_html ------------------------ GUI SUGGESTION Include an 'implemented' property status flag for each zshell command method. Those commands not yet implemented should be listed by not yet actively hyperlinked. This way easier to see what is available to use. As zshell is clearly alive and growing, this will make it easier for new users to avoid confusion and frustration. hth ./Jason
participants (3)
-
Hannu Krosing -
Jason Cunliffe -
Jerome Alet