#10908: Make SageTeX support SAGE_SPKG_INSTALL_DOCS
---------------------------+------------------------------------------------
   Reporter:  jason        |       Owner:  tbd         
       Type:  enhancement  |      Status:  needs_review
   Priority:  major        |   Milestone:  sage-4.7    
  Component:  packages     |    Keywords:              
     Author:               |    Upstream:  N/A         
   Reviewer:               |      Merged:              
Work_issues:               |  
---------------------------+------------------------------------------------
Changes (by ddrake):

  * status:  new => needs_review


Comment:

 I have a spkg that supports SAGE_SPKG_INSTALL_DOCS:
 http://sage.math.washington.edu/home/drake/code/sage/st/sagetex-2.3.1.spkg.
 Please review.

 I do have a question about what I did in `spkg-install`: right now, when
 it tries to build the documentation and fails, it puts a file in the doc
 directory explaining the failure. But the installation fails. If someone
 is building Sage with SAGE_SPKG_INSTALL_DOCS set, the build will fail if
 the documentation can't be built -- so why put the file in the doc
 directory saying that it failed?

 I have a couple ideas for what to do and would like some feedback:

   * if building the docs fails, print the "you can download the pdfs"
 message to stdout, instead of putting it in a file -- then the user who is
 trying to build Sage can see how to correct the error.

   * if building the docs fails, automatically try to download the docs
 using wget or curl -- and if that works, don't do the "exit 1" in spkg-
 install so the build can continue.

 Thoughts?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10908#comment:6>
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.

Reply via email to