#12018: sage-list-packages will fail if user can't write to SAGE_ROOT
-----------------------------------+----------------------------------------
Reporter: jhpalmieri | Owner: leif
Type: defect | Status: positive_review
Priority: minor | Milestone: sage-5.0
Component: scripts | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: John Palmieri
Authors: R. Andrew Ohana | Merged in:
Dependencies: | Stopgaps:
-----------------------------------+----------------------------------------
Changes (by {'newvalue': u'R. Andrew Ohana', 'oldvalue': u'John Palmieri, R.
Andrew Ohana'}):
* status: needs_review => positive_review
* reviewer: => John Palmieri
* author: John Palmieri, R. Andrew Ohana => R. Andrew Ohana
Old description:
> As the summary says. The script sage-list-packages writes a temporary
> file to
> {{{
> file = "%s/tmp/list"%SAGE_ROOT
> }}}
> This should use a temporary file instead.
>
> ----
>
> Apply [attachment:trac_12018-tempfile.patch] OR
> [attachment:trac12018-notempfile.patch] to the scripts repo.
New description:
As the summary says. The script sage-list-packages writes a temporary
file to
{{{
file = "%s/tmp/list"%SAGE_ROOT
}}}
This should use a temporary file instead.
----
Apply [attachment:trac12018-notempfile.patch] to the scripts repo.
--
Comment:
Looks good to me.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12018#comment:11>
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.