#11073: remove the spkg/base repo!
---------------------------+------------------------------------------------
   Reporter:  jhpalmieri   |          Owner:  GeorgSWeber    
       Type:  enhancement  |         Status:  needs_work     
   Priority:  major        |      Milestone:  sage-4.8       
  Component:  build        |       Keywords:  scripts base hg
Work_issues:               |       Upstream:  N/A            
   Reviewer:               |         Author:  Volker Braun   
     Merged:               |   Dependencies:                 
---------------------------+------------------------------------------------

Old description:

> Given the creation of the Sage root repo (see #9433), the repository in
> `SAGE_ROOT/spkg/base` should be combined with it.
>
> 1) remove everything but the tar archives from spkg/base
>
> {{{
> cd $SAGE_ROOT/spkg/base
> rm -rf .hg .hgignore *-install README.txt sage-* test*sh
> stdint.h_Solaris9
> }}}
>
> 2) apply [attachment:trac_11073_remove_base_repo.patch] to the root repo
>
> 3) apply [attachment:trac_11073_stop_copying_stuff.patch] to the root
> repo
>
> 4) apply [attachment:trac_11073_stubs_for_base.patch] to the scripts repo
>
> Some notes about files formerly in the spkg/base repository:
>   * `stdint.h_Solaris9`: deleted
>   * `sage-spkg`: deleted from sage_scripts, should live in sage_root
> only.
>   * `sage-env`: replaced by stub in sage_scripts.
>   * `testcc.sh`, `testcxx.sh`: replaced by stub in sage_scripts
>   * `sage-make_relative`: was a Python script, but base doesn't have
> Python yet ?!?. Deleted.

New description:

 Given the creation of the Sage root repo (see #9433), the repository in
 `SAGE_ROOT/spkg/base` should be combined with it.

 1) remove everything but the tar archives from spkg/base

 {{{
 cd $SAGE_ROOT/spkg/base
 rm -rf .hg .hgignore *-install README.txt sage-* test*sh stdint.h_Solaris9
 }}}

 2) apply [attachment:trac_11073_remove_base_repo.patch] to the root repo

 3) apply [attachment:trac_11073_stop_copying_stuff.patch] to the root repo

 4) apply [attachment:trac_11073_stubs_for_base.patch] to the scripts repo

 Some notes about files formerly in the spkg/base repository:
   * `stdint.h_Solaris9`: deleted
   * `sage-spkg`: deleted from sage_scripts, should live in sage_root only.
   * `sage-env`: replaced by stub in sage_scripts.
   * `testcc.sh`, `testcxx.sh`: replaced by stub in sage_scripts
   * `sage-make_relative`: ???

 See also #12102 (make bzip2 a standard package)

--

Comment(by jdemeyer):

 Simpler solution instead of making stubs in `SAGE_ROOT/local/bin`:
  1. Create a new directory `SAGE_ROOT/spkg/bin`
  1. Put `sage-env`, `sage-spkg`,... there and not in `sage_scripts`, nor
 stubs in `sage_scripts`
  1. In `sage-env`, add `SAGE_ROOT/spkg/bin` to the path
  1. Make `sage-sage` and `sage-spkg` find the new `sage-env`

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