#9433: Put more files under revision control.
------------------------------------------------------------+---------------
Reporter: jhpalmieri | Owner: tbd
Type: enhancement | Status:
needs_review
Priority: blocker | Milestone:
sage-4.7
Component: distribution | Keywords:
Author: John Palmieri | Upstream: N/A
Reviewer: Leif Leonhardy, Volker Braun, Jeroen Demeyer | Merged:
Work_issues: |
------------------------------------------------------------+---------------
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 [attachment:trac_9433-sage-repo.2.patch]
> - apply [attachment:trac_9433-scripts.v9.patch] to the scripts
> repository
> - move the attached file [attachment:hgignore] to `$SAGE_ROOT/.hgignore`
> (note that this is a ''new'' file)
> - move the attached file [attachment:root-spkg-install.v3] to
> `$SAGE_ROOT/spkg/root-spkg-install` (note that this is a ''new'' file)
> - apply [attachment:9433_install.diff] to `$SAGE_ROOT/spkg/install`
> - apply [attachment:9433_deps.diff] to `$SAGE_ROOT/spkg/standard/deps`
>
> Then '''from $SAGE_ROOT''', run the attached script
> [attachment:9433_hg_script.sh] to create the Mercurial repository.
>
> ----
>
> '''Testing''': see
> [http://sage.math.washington.edu/home/release/sage-4.7.alpha0/]
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 [attachment:trac_9433-sage-repo.2.patch]
- apply [attachment:trac_9433-scripts.v9.patch] to the scripts repository
- move the attached file [attachment:hgignore] to `$SAGE_ROOT/.hgignore`
(note that this is a ''new'' file)
- move the attached file [attachment:root-spkg-install.v4] to
`$SAGE_ROOT/spkg/root-spkg-install` (note that this is a ''new'' file)
- apply [attachment:9433_install.diff] to `$SAGE_ROOT/spkg/install`
- apply [attachment:9433_deps.diff] to `$SAGE_ROOT/spkg/standard/deps`
Then '''from $SAGE_ROOT''', run the attached script
[attachment:9433_hg_script.sh] to create the Mercurial repository.
----
'''Testing''': see
[http://sage.math.washington.edu/home/release/sage-4.7.alpha0/]
--
Comment(by jhpalmieri):
Replying to [comment:153 vbraun]:
> I think there is still one problem: If the user has no .hgrc (like many
non-developers trying to upgrade), then mercurial will fail
I wouldn't have spotted this. Good catch. I have new patches which add
"-u ..." to various commit commands: in sage-update and in root-spkg-
install. I haven't bothered with sage-sdist or sage-make_devel_packages,
since these are done by the release manager who had better have a .hgrc
file. (Besides, there are already other "hg commit" commands in those
scripts.)
I've also updated my versions (4.6.2.X0 etc.) for testing upgrades with
these changes.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9433#comment:154>
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.