#9433: Put more files under revision control.
-----------------------------+----------------------------------------------
   Reporter:  jhpalmieri     |       Owner:  tbd         
       Type:  enhancement    |      Status:  needs_review
   Priority:  major          |   Milestone:  sage-4.5.3  
  Component:  distribution   |    Keywords:              
     Author:  John Palmieri  |    Upstream:  N/A         
   Reviewer:                 |      Merged:              
Work_issues:                 |  
-----------------------------+----------------------------------------------
Changes (by jhpalmieri):

  * status:  needs_work => needs_review


Old description:

> Put the text files in $SAGE_ROOT, and also the text files in spkg, under
> revision control.  (See the discussion at the end of #9351.)
>
> Here are the instructions:
>
>  - apply the patches trac_9433-sage-repo.patch and
> trac_9433-scripts.patch
>
> and create the Mercurial repository:
>
>  - move the attached file "hgignore" to SAGE_ROOT/.hgignore
>  - move the attached file "root-spkg-install" to SAGE_ROOT/spkg/root-
> spkg-install
>  - cd $SAGE_ROOT
>  - hg init .
>  - hg add .hgignore COPYING.txt README.txt makefile sage sage-python
>  - cd ipython
>  - hg add *.py ipythonrc*
>  - cd ../spkg
>  - hg add README.txt gen_html install pipestatus root-spkg-install
>  - cd standard
>  - hg add README.txt deps libdist_filelist newest_version
>  - hg commit

New description:

 Put the text files in $SAGE_ROOT, and also the text files in spkg, under
 revision control.  (See the discussion at the end of #9351.)

 Here are the instructions:

  - apply the patches trac_9433-sage-repo.patch and trac_9433-scripts.patch
  - move the attached file "hgignore" to SAGE_ROOT/.hgignore
  - move the attached file "root-spkg-install" to SAGE_ROOT/spkg/root-spkg-
 install

 Then '''from $SAGE_ROOT''', run the attached script "hg_script" to create
 the Mercurial repository.

--

Comment:

 This seems to work for me, with one slight glitch: if I run "sage
 -upgrade" on a copy of sage which does not yet include the root repo, it
 lists the spkg's to be upgraded and asks me "do you really want to
 continue", then it does some stuff, and then it lists just the root_repo
 spkg and asks me again if I want to continue.  The issue is that, before
 it has installed some of the upgraded packages, it doesn't know what to do
 with the root_repo spkg, so it doesn't get installed the first time
 through.  I don't see any way around this, but it's a one-time problem.

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