#8027: change the wiki(...) command to store data in $HOME/.sage
----------------------------+-----------------------------------------------
Reporter: was | Owner: schilly
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.3.2
Component: website/wiki | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Replying to [comment:5 mpatel]:
> Replying to [comment:2 kcrisman]:
> > Also, why is it still in the sage_wiki folder and not in
.sage/sage_wiki or something similar to what is now done with the
notebook?
>
> I'm not sure. We do the same with `trac()` and the [optional] Trac
spkg. It makes sense to use a default directory under `DOT_SAGE`, but I
think upgrading existing !MoinMoin wikis can be problematic.
When I wrote the wiki and trac command, there was no .sage/* folder, and
the SAge notebook was stored in sage_notebook in the current directory.
The notebook has moved over to be in .sage, but nobody moved the wiki and
trac yet. It would be reasonable to do so. HOWEVER, note that this
would break all my wiki's, since a typical situation is:
{{{
s...@sagemath:~/wiki/sage$ ls
nohup.err nohup.out sage_wiki start
s...@sagemath:~/wiki/sage$ more start
ulimit -v 2000000; nohup echo "wiki(port=9001, address='')" | sage-new >
nohup.out 2>nohup.err &
s...@sagemath:~/wiki/sage$
}}}
If you change the wiki to be in $HOME/.sage by default, then suddenly all
my wiki's will get started on top of each other (hence all but one will
fail to start).
So it might be worth checking if there is a wiki directory "sage_wiki" in
the current directory, and only if there isn't then default to
$HOME/.sage/moinmoin.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8027>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.