#12647: Add support for a "sagerc" script
-----------------------------+----------------------------------------------
Reporter: jdemeyer | Owner: leif
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: scripts | Keywords:
Work_issues: | Upstream: N/A
Reviewer: John Palmieri | Author: Jeroen Demeyer
Merged: | Dependencies:
-----------------------------+----------------------------------------------
Changes (by jhpalmieri):
* reviewer: => John Palmieri
Old description:
> This deals with adding support for a file
> {{{
> $DOT_SAGE/sagerc
> }}}
> which will be sourced after `sage-env`, so it can be used to override the
> environment variables used in Sage.
>
> '''Apply''':
> 1. [attachment:12647_sagerc.patch] to `SAGE_ROOT`.
> 2. [attachment:12647_sagerc_doc.patch] to the Sage library.
New description:
This deals with adding support for a file
{{{
$DOT_SAGE/sagerc
}}}
which will be sourced after `sage-env`, so it can be used to override the
environment variables used in Sage.
'''Apply''':
1. [attachment:12647_sagerc.patch] to `SAGE_ROOT`.
2. [attachment:12647_sagerc_doc.patch],
[attachment:trac_12647-review.patch] to the Sage library.
--
Comment:
In a line like
{{{
#!sh
if [ "$SAGE_RC_FILE" = "" ]; then
}}}
is there any advantage to replacing the test with `[ -z "$SAGE_RC_FILE"
]`? (I guess you did it the way you did for consistency with other parts
of the script?)
See the review patch for two minor changes to the documentation.
Otherwise, positive review.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12647#comment:5>
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.