Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Stefan Schwarzer <Stefan.S<chwarzer@tu...> - 2002-01-11 10:46:00
Hello to all, especially J=FCrgen :)
It would be nice to have a setting for the complete path of the diff
utility to use in the configuration. For example in moin_config.py:
diff_utility =3D '/path/to/diff/gdiff'
If this setting would not be there, it could default to 'diff' and
use that in the PATH.
Background of this sugesstion:
I finally managed to get diff'ing to work. I had some problems with
1. The test.cgi script issues a 'diff --version' and processes the
standard output. However, the diff utility on Solaris 8 doesn't
know this option and emits a message to standard error. Thus, the
Solaris diff is not recognized whether or not it would actually
2. After finding this source of confusion, I tried to use the
actually installed diff. However, I recovered (finally by the
Apache bug database) that Apache's SetEnv is not able to change
the PATH variable. (This is not MoinMoin's fault, of course, but
it complicates matters.)
So I added to moin.cgi (and test.cgi) as a workaround:
os.environ['PATH'] =3D '...:/path/to/diff' =20
3. I don't know why this still didn't work. Finally, I changed
MoinMoin.wikiutil to use './diff ...' instead of simply 'diff ...'
and now it works. :-)
Apart from this, I like MoinMoin very much. :-) Also, after struggling
with the Python 2.2 incompatibility of version 0.10 I was glad to find
the pointer to the CVS version on the mailing list. Thank you very
From: Juergen Hermann <jh@we...> - 2002-01-11 20:39:14
On Fri, 11 Jan 2002 11:49:10 +0100, Stefan Schwarzer wrote:
>It would be nice to have a setting for the complete path of the diff
>utility to use in the configuration.
Added as external_diff, please test it.
From: Stefan Schwarzer <stefan.schwarzer@tu...> - 2002-01-14 09:42:14
On Fri, 11 Jan 2002, Juergen Hermann wrote:
> >It would be nice to have a setting for the complete path of the diff
> >utility to use in the configuration.
> Added as external_diff, please test it.
Yes, it works. Thank you. :)
However, I got it via ViewCVS; the new wikiutil.py was not included in
today's "nightly CVS tarball".
Dipl.-Ing. Stefan Schwarzer
Informationsdienst Wissenschaft (idw) http://idw-online.de/
Rechenzentrum der TU Clausthal
Erzstra=DFe 51 Tel. +49 (0)5323 / 72-2346
D-38678 Clausthal-Zellerfeld Fax +49 (0)5323 / 72-3536
From: Juergen Hermann <jh@we...> - 2002-01-14 19:19:08
On Mon, 14 Jan 2002 10:42:06 +0100 (MET), Stefan Schwarzer wrote:
>However, I got it via ViewCVS; the new wikiutil.py was not included in
>today's "nightly CVS tarball".
Problem with the cron job which should be fixed by now.