#11073: remove the spkg/base repo!
---------------------------+------------------------------------------------
Reporter: jhpalmieri | Owner: jdemeyer
Type: enhancement | Status: needs_work
Priority: blocker | Milestone: sage-5.0
Component: build | Keywords: scripts base hg
Work_issues: | Upstream: N/A
Reviewer: | Author: Volker Braun, Jeroen Demeyer
Merged: | Dependencies: sage-4.8.alpha6
---------------------------+------------------------------------------------
Description changed by jdemeyer:
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) apply [attachment:11073_root_hgignore.patch] to the root repo
>
> 2)
> {{{
> cd $SAGE_ROOT/spkg/base
> rm -rf .hg* stdint.h_Solaris9 sage-*
> hg add *-install README.txt
> mkdir ../bin
> mv *.py sage-* *.sh text-* ../bin
> cd ../bin
> cp -p $SAGE_ROOT/local/bin/sage-env .
> cp -p $SAGE_ROOT/local/bin/sage-spkg .
> cp -p $SAGE_ROOT/local/bin/sage-sage sage
> hg add . *
> hg commit -m "Trac #11073: Move base repository to root repository"
> }}}
>
> 4) apply [attachment:11073_root_after.patch] and
> [attachment:11073_prereq_install.patch] to the root repository.
>
> 5)
> {{{
> cd $SAGE_ROOT/local/bin
> hg remove sage-env sage-spkg sage-sage
> hg commit -m "Trac #11073: Move various scripts to spkg/bin"
> }}}
>
> 5) apply [attachment:11073_scripts.patch] to the scripts repo
>
> 6) apply [attachment:11073_sagelib_misc.patch] to the main Sage repo.
>
> The file {{{stdint.h_Solaris9}}} is not used and therefore deleted.
> `sage-env`, `sage-spkg` and `sage-sage` (renamed to `sage`) are moved to
> `spkg/bin`, `sage-make_relative` to scripts (`local/bin`).
>
> The script `sage-sage` is renamed to `spkg/bin/sage` and `$SAGE_ROOT` is
> no longer put in the $PATH, such that running "sage" after `sage-env`
> will run `$SAGE_ROOT/spkg/bin/sage`.
>
> Fixes #10970 (do not generate `pipestatus`), see also #12102 (make
> `bzip2` a standard package) and #12206 (install `sage_scripts` earlier).
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) apply [attachment:11073_root_hgignore.patch] to the root repo
2)
{{{
cd $SAGE_ROOT/spkg/base
rm -rf .hg* stdint.h_Solaris9 sage-*
hg add *-install README.txt
mkdir ../bin
mv *.py sage-* *.sh text-* ../bin
cd ../bin
cp -p $SAGE_ROOT/local/bin/sage-env .
cp -p $SAGE_ROOT/local/bin/sage-spkg .
cp -p $SAGE_ROOT/local/bin/sage-sage sage
hg add . *
hg commit -m "Trac #11073: Move base repository to root repository"
}}}
4) apply [attachment:11073_root_after.patch] and
[attachment:11073_prereq_install.patch] to the root repository.
5)
{{{
cd $SAGE_ROOT/local/bin
hg remove sage-env sage-spkg sage-sage
hg commit -m "Trac #11073: Move various scripts to spkg/bin"
}}}
5) apply [attachment:11073_scripts.patch] to the scripts repo
6) apply [attachment:11073_sagelib_misc.patch] to the main Sage repo.
The file {{{stdint.h_Solaris9}}} is not used and therefore deleted.
`sage-env`, `sage-spkg` and `sage-sage` (renamed to `sage`) are moved to
`spkg/bin`, `sage-make_relative` to scripts (`local/bin`).
The script `sage-sage` is renamed to `spkg/bin/sage` and `$SAGE_ROOT` is
no longer put in the $PATH, such that running "sage" after `sage-env` will
run `$SAGE_ROOT/spkg/bin/sage`.
Fixes #10970 (do not generate `pipestatus`), see also #12102 (make `bzip2`
a standard package) and #12206 (install `sage_scripts` earlier), #12311
(stop copying testcc.sh and testcxx.sh).
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11073#comment:68>
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.