#13122: Remove last vestiges of darcs from Sage
-----------------------------------------------------------+----------------
Reporter: kcrisman | Owner:
leif
Type: enhancement | Status:
positive_review
Priority: minor | Milestone:
sage-5.2
Component: scripts | Resolution:
Keywords: | Work issues:
Report Upstream: Completely fixed; Fix reported upstream | Reviewers:
Karl-Dieter Crisman
Authors: R. Andrew Ohana | Merged in:
Dependencies: | Stopgaps:
-----------------------------------------------------------+----------------
Changes (by kcrisman):
* status: needs_review => positive_review
* reviewer: => Karl-Dieter Crisman
* upstream: N/A => Completely fixed; Fix reported upstream
* milestone: => sage-5.2
Old description:
> #9257 removed one of the last remnants of the darcs revision control
> system from Sage. Currently we have
> {{{
> $ grep -r darcs Downloads/sage-4.8/devel/sage/
> Binary file Downloads/sage-4.8/devel/sage/.hg/store/00manifest.d matches
> Binary file Downloads/sage-4.8/devel/sage/.hg/store/data/changes.i
> matches
> Binary file Downloads/sage-4.8/devel/sage/.hg/store/data/commit.i matches
> Binary file Downloads/sage-4.8/devel/sage/.hg/store/data/doc/new.i
> matches
> Binary file Downloads/sage-4.8/devel/sage/.hg/store/data/new.i matches
> Binary file Downloads/sage-4.8/devel/sage/.hg/store/data/notes.txt.i
> matches
> Binary file
> Downloads/sage-4.8/devel/sage/.hg/store/data/sage/misc/darcs.py.i matches
> }}}
> which is fine, all repo history. But apparently we still have a file
> named sage-mirror-darcs-script:
> {{{
> $ grep -r darcs Downloads/sage-5.0/local/bin/
> Binary file Downloads/sage-5.0/local/bin/.hg/dirstate matches
> Downloads/sage-5.0/local/bin/.hg/store/fncache:data/sage-mirror-darcs-
> scripts.i
> Binary file Downloads/sage-5.0/local/bin/.hg/undo.dirstate matches
> Downloads/sage-5.0/local/bin/.hgignore:(^|/)\_darcs($|/)
> Downloads/sage-5.0/local/bin/.hgignore:darcs
> Downloads/sage-5.0/local/bin/sage-mirror:rsync -axLH --rsh=ssh --delete
> -r -v bin/sage-* bin/_darcs modular:/home/was/www/sage/dist/src/scripts-
> darcs/
> Downloads/sage-5.0/local/bin/sage-mirror-darcs-scripts:cd _darcs/
> Downloads/sage-5.0/local/bin/sage-mirror-darcs-scripts:rsync -axLH
> --rsh=ssh --delete -r -v *
> [email protected]:www/sage/dist/src/scripts-darcs/_darcs/
> }}}
> and it's even still in spkg/bin/sage (the old sage-sage)!
> {{{
> $ grep -r darcs Downloads/sage-5.0/spkg/bin/
> Downloads/sage-5.0/spkg/bin/sage:if [ "$1" = '-darcs' -o "$1" = '--
> darcs' ]; then
> Downloads/sage-5.0/spkg/bin/sage: darcs "$@"
> }}}
> Needless to say,
> {{{
> $ sage -darcs
> /Users/.../sage-5.0/spkg/bin/sage: line 606: darcs: command not found
> }}}
> So let's get rid of these last things. Especially if we might be
> migrating to git in the mid-range future...
New description:
#9257 removed one of the last remnants of the darcs revision control
system from Sage. Currently we have
{{{
$ grep -r darcs Downloads/sage-4.8/devel/sage/
Binary file Downloads/sage-4.8/devel/sage/.hg/store/00manifest.d matches
Binary file Downloads/sage-4.8/devel/sage/.hg/store/data/changes.i matches
Binary file Downloads/sage-4.8/devel/sage/.hg/store/data/commit.i matches
Binary file Downloads/sage-4.8/devel/sage/.hg/store/data/doc/new.i matches
Binary file Downloads/sage-4.8/devel/sage/.hg/store/data/new.i matches
Binary file Downloads/sage-4.8/devel/sage/.hg/store/data/notes.txt.i
matches
Binary file
Downloads/sage-4.8/devel/sage/.hg/store/data/sage/misc/darcs.py.i matches
}}}
which is fine, all repo history. But apparently we still have a file
named sage-mirror-darcs-script:
{{{
$ grep -r darcs Downloads/sage-5.0/local/bin/
Binary file Downloads/sage-5.0/local/bin/.hg/dirstate matches
Downloads/sage-5.0/local/bin/.hg/store/fncache:data/sage-mirror-darcs-
scripts.i
Binary file Downloads/sage-5.0/local/bin/.hg/undo.dirstate matches
Downloads/sage-5.0/local/bin/.hgignore:(^|/)\_darcs($|/)
Downloads/sage-5.0/local/bin/.hgignore:darcs
Downloads/sage-5.0/local/bin/sage-mirror:rsync -axLH --rsh=ssh --delete -r
-v bin/sage-* bin/_darcs modular:/home/was/www/sage/dist/src/scripts-
darcs/
Downloads/sage-5.0/local/bin/sage-mirror-darcs-scripts:cd _darcs/
Downloads/sage-5.0/local/bin/sage-mirror-darcs-scripts:rsync -axLH
--rsh=ssh --delete -r -v *
[email protected]:www/sage/dist/src/scripts-darcs/_darcs/
}}}
and it's even still in spkg/bin/sage (the old sage-sage)!
{{{
$ grep -r darcs Downloads/sage-5.0/spkg/bin/
Downloads/sage-5.0/spkg/bin/sage:if [ "$1" = '-darcs' -o "$1" = '--darcs'
]; then
Downloads/sage-5.0/spkg/bin/sage: darcs "$@"
}}}
Needless to say,
{{{
$ sage -darcs
/Users/.../sage-5.0/spkg/bin/sage: line 606: darcs: command not found
}}}
So let's get rid of these last things. Especially if we might be
migrating to git in the mid-range future...
----
Apply [attachment: trac13122_scripts.patch],
[attachment:trac13122_root.patch], [attachment:trac13122_extcode.patch],
and [attachment:trac_13122-reviewer1.patch].
Also reported upstream at https://github.com/sagemath/sagenb/pull/70
--
Comment:
Otherwise I guess this is fine. Everything I find now is either directly
related to the changes made here (in .hg/patches etc.), part of the
revision history, or part of unrelated files (like Pygments and hgext in
our Python).
Patchbot, apply [attachment: trac13122_scripts.patch],
[attachment:trac13122_root.patch], [attachment:trac13122_extcode.patch],
and [attachment:trac_13122-reviewer1.patch].
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13122#comment:3>
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.