Randolph,

Underneath, Plone is just python, so you can do pretty much whatever you want 
to with it.  

It sounds to me like what you want to do is create a 'browser view', and have 
that view execute this code on your server.  This is not the type of thing that 
Plone will allow you to do through the web.  You will need to create a 
filesystem code add-on.  

I can offer some guidance if you'd like.

Yours,

Cris Ewing


On May 10, 2012, at 9:58 AM, Randolph M. Fritz wrote:

> [this may recur, thanks to mailing list server problems]
> 
> I have a simple script which finds all the symbolic names in a CVS source 
> tree.  I'd like to incorporate its output in a Plone site.  Unfortunately, 
> the script requires access to the underlying operating system and I can't 
> figure out how to do that in Plone.  In fact, I can scarcely decipher the 
> documentation at all.
> 
> One version of the script is:
> cvs -Q -d (place) rlog -h (root) | awk '/^symbolic names:/,/^keyword 
> substitution:/ {if ($0 ~ /^[ \t]/) {sub(/:/,""); print $1}}' |sort -u
> 
> The output of that version is a list of CVS symbolic names, one per line.  
> Can I integrate this script into our plone server somehow?  I can switch to a 
> Python script, but that script would still have to invoke the "cvs" app via 
> subprocess or system.  How would I use that output, or would it be better to 
> make it HTML?
> 
> Randolph M. Fritz
> [email protected]
> 

Cris Ewing
--------------------------------------------------
Principal, Cris Ewing, Developer LLC
http://www.crisewing.com
[email protected]
1.206.724.2112

Reply via email to