#9433: Put more files under revision control.
--------------------------------------------+-------------------------------
Reporter: jhpalmieri | Owner: tbd
Type: enhancement | Status: positive_review
Priority: major | Milestone: sage-4.6.2
Component: distribution | Keywords:
Author: John Palmieri | Upstream: N/A
Reviewer: Leif Leonhardy, Volker Braun | Merged:
Work_issues: |
--------------------------------------------+-------------------------------
Changes (by vbraun):
* status: needs_review => positive_review
* reviewer: Leif Leonhardy => Leif Leonhardy, Volker Braun
* milestone: sage-4.6.1 => sage-4.6.2
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.2.patch and
> trac_9433-scripts.v5.patch
> - move the attached file "hgignore" to SAGE_ROOT/.hgignore (note that
> this is a ''new'' file)
> - move the attached file "root-spkg-install.v2" to SAGE_ROOT/spkg/root-
> spkg-install (note that this is a ''new'' file)
> - move the attached file "install" to SAGE_ROOT/spkg/install
> - move the attached file "deps" to SAGE_ROOT/spkg/standard/deps
>
> Then '''from $SAGE_ROOT''', run the attached script "hg_script" to create
> the Mercurial repository.
>
> To test upgrading, try
> {{{
> ./sage -upgrade
> http://sage.math.washington.edu/home/palmieri/misc/9433/sage-4.6.1.9433.alpha0/
> }}}
> You can then try
> {{{
> ./sage -upgrade
> http://sage.math.washington.edu/home/palmieri/misc/9433/sage-4.6.1.9433.alpha1/
> }}}
> to test an upgrade which changes an existing root repo: it is supposed to
> upgrade without error, changing just the beginning of the file
> SAGE_ROOT/README.txt.
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.2.patch` and
`trac_9433-scripts.v5.2.patch`
- move the attached file `hgignore` to `$SAGE_ROOT/.hgignore` (note that
this is a ''new'' file)
- move the attached file `root-spkg-install.v2` to `$SAGE_ROOT/spkg/root-
spkg-install` (note that this is a ''new'' file)
- move the attached file `install.2` to `$SAGE_ROOT/spkg/install`
- move the attached file `deps.2` to `$SAGE_ROOT/spkg/standard/deps`
Then '''from $SAGE_ROOT''', run the attached script `hg_script` to create
the Mercurial repository.
--
Comment:
After some rediffing I built it successfully on top of Sage-4.6.1.rc1
(identical to the Sage-4.6.1 release) with the following updated files:
* `trac_9433-scripts.v5.patch` -> `trac_9433-scripts.v5.2.patch`
* `install` -> `install.2`
* `deps` -> `deps.2`
I've changed the main ticket documentation accordingly.
For reference, here is a list of files in the root repository:
{{{
[vbraun@volker-two sage-4.6.1.vb2]$ hg st --all | grep -v '^I'
C .hgignore
C .hgtags
C COPYING.txt
C Makefile
C README.txt
C ipython/ipy_profile_sh.py
C ipython/ipy_user_conf.py
C ipython/ipythonrc
C ipython/ipythonrc-math
C ipython/ipythonrc-numeric
C ipython/ipythonrc-physics
C ipython/ipythonrc-pysh
C ipython/ipythonrc-scipy
C ipython/ipythonrc-tutorial
C sage
C spkg/README.txt
C spkg/gen_html
C spkg/install
C spkg/pipestatus
C spkg/root-spkg-install
C spkg/standard/README.txt
C spkg/standard/deps
C spkg/standard/libdist_filelist
C spkg/standard/newest_version
}}}
Really, any kind of root repository would be better than the caveman
technology we have in place right now. I read through all the scripts and
they do make sense to me. I built my private release using `sage -sdist
<version>` and it compiled fine. You guys put a lot of effort into this
ticket to make sure that nothing breaks, and I think it really is the time
to integrate this with Sage.
Positive review.
Jeroen, can you plug this into 4.6.2.alpha as soon as possible to give it
as much exposure as possible?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9433#comment:87>
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.