#9967: Allow concurrent running/testing of multiple sage branches
-------------------------------+--------------------------------------------
   Reporter:  robertwb         |       Owner:  mvngu       
       Type:  defect           |      Status:  needs_review
   Priority:  major            |   Milestone:  sage-4.6    
  Component:  doctest          |    Keywords:              
     Author:  Robert Bradshaw  |    Upstream:  N/A         
   Reviewer:                   |      Merged:              
Work_issues:                   |  
-------------------------------+--------------------------------------------

Comment(by ddrake):

 Replying to [comment:4 robertwb]:
 > Currently, the branch of a Sage install is determined by where the
 devel/sage symlink points. This means that one cannot have one process
 running the version of Sage in devel/sage-foo while another runs the
 version of sage in devel/sage-blarg. This patch puts control of which
 branch to use into an environment variable (set from the symlink by
 default), so two branches can safely be run or tested at the same time out
 of the same install.

 Ah, okay. Thanks for the help. Doing "{{{env SAGE_BRANCH=foo ./sage}}}" to
 use a different branch is great. I'll test this and see how it works.

 Also, I see that right now, we use os.popen to call "ls -l" and parse the
 resulting string to determine the branch. Yikes! This is way better.

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

Reply via email to