#9433: Put more files under revision control.
------------------------------+---------------------------------------------
Reporter: jhpalmieri | Owner: tbd
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.6.1
Component: distribution | Keywords:
Author: John Palmieri | Upstream: N/A
Reviewer: Leif Leonhardy | 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 the patches trac_9433-sage-repo.patch and
> trac_9433-scripts.v3.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.
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.v4.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(by jhpalmieri):
I also found the following corrections to be added to the part of the
patch for sage-bdist:
{{{
#!diff
diff -r fa7bc24587ef sage-bdist
--- a/sage-bdist Fri Sep 24 19:13:24 2010 -0700
+++ b/sage-bdist Fri Nov 05 14:45:36 2010 -0700
@@ -46,16 +46,15 @@
if [ $? -ne 0 ]; then
echo "Error copying Sage root repository."
exit 1
+fi
rm "$TMP"/.hg/hgrc
echo "Done copying root repository."
-mkdir "$TMP"
-
cd "$SAGE_ROOT"
echo "Copying files over to tmp directory"
-cp -$CP_OPT examples local data "$TMP"/
+cp $CP_OPT examples local data "$TMP"/
if [ -d devel/sage-main ]; then
echo "Copying Sage library over"
@@ -63,7 +62,6 @@
cp -L $CP_OPT devel/sagenb-main "$TMP"/devel/sagenb-main
cp -L $CP_OPT devel/sage-main "$TMP"/devel/sage-main
cd "$TMP"/devel
- cd $TMP/devel
ln -s sage-main sage
ln -s sagenb-main sagenb
cd sage
}}}
I'm posting a "v4" patch including this and the above change in sage-sdist
(quoting "$PKGDIR").
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9433#comment:59>
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.