#11409: Remove old notebook files
---------------------------+------------------------------------------------
Reporter: jdemeyer | Owner: jason
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7.1
Component: misc | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Jeroen Demeyer
Merged: | Dependencies:
---------------------------+------------------------------------------------
Changes (by jdemeyer):
* status: new => needs_review
Old description:
> The old Sage notebook (as part of the Sage library) has been superseded
> by the sagenb spkg. The following files are from the old notebook and
> should be removed:
> * {{{SAGE_ROOT/devel/sage/sage/server/introspect.py}}}
> * {{{SAGE_ROOT/devel/sage/sage/server/notebook/*}}}
> * {{{SAGE_ROOT/devel/sage/sage/server/simple/*}}}
>
> The following files are duplicated in sagenb but contain some
> functionality which is not specific to the notebook. At the moment no
> effort is made to dis-entangle these:
> * {{{SAGE_ROOT/devel/sage/sage/server/misc.py}}}
> * {{{SAGE_ROOT/devel/sage/sage/server/support.py}}}
>
> '''Apply''':
> 1. `cd sage/server && hg remove introspect.py notebook simple && hg
> commit -m "Trac #11409: Remove old notebook files"`
> 2. [attachment:11409.patch]
> 3. [attachment:11409_scripts.patch] to the scripts repository
> ''local/bin''
> 4. [attachment:11409_sagenb.patch] to the sagenb repository
> ''devel/sagenb''
>
> See also #9237, #9552.
New description:
The old Sage notebook (as part of the Sage library) has been superseded by
the sagenb spkg. The following files are from the old notebook and should
be removed:
* {{{SAGE_ROOT/devel/sage/sage/server/introspect.py}}}
* {{{SAGE_ROOT/devel/sage/sage/server/notebook/*}}}
* {{{SAGE_ROOT/devel/sage/sage/server/simple/*}}}
The following files are duplicated in sagenb but contain some
functionality which is not specific to the notebook. At the moment no
effort is made to dis-entangle these:
* {{{SAGE_ROOT/devel/sage/sage/server/misc.py}}}
* {{{SAGE_ROOT/devel/sage/sage/server/support.py}}}
'''Apply''':
1. `cd sage/server && hg remove introspect.py notebook simple && hg
commit -m "Trac #11409: Remove old notebook files"`
2. [attachment:11409.patch]
3. [attachment:11409_scripts.patch] to the scripts repository
''local/bin''
4. [attachment:11409_sagenb.patch] to the sagenb repository
''devel/sagenb''
See also #9237, #9552.
Testing Sage distribution:
[http://boxen.math.washington.edu/home/jdemeyer/release/sage-4.7.1.alpha2
-remove-old-notebook/]
--
Comment:
After applying the patches, running sdist, and then make from scratch, I
get the following results:
{{{
$ cd $SAGE_ROOT
$ grep -e 'server.simple' -e 'server.notebook' -e 'server.introspect' -R .
Binary file ./devel/sage/.hg/store/data/doc/en/reference/notebook.rst.i
matches
Binary file ./devel/sage/.hg/store/data/_m_a_n_i_f_e_s_t.in.i matches
Binary file ./devel/sage/.hg/store/00manifest.d matches
Binary file ./devel/sage-
main/.hg/store/data/doc/en/reference/notebook.rst.i matches
Binary file ./devel/sage-main/.hg/store/data/_m_a_n_i_f_e_s_t.in.i matches
Binary file ./devel/sage-main/.hg/store/00manifest.d matches
./local/share/texmf/tex/generic/sagetex/remote-sagetex.dtx:% in
\texttt{sage/server/simple/twist.py}.
}}}
This proves that the deleted files are no longer referenced (expect for a
comment in SageTeX, this has been reported to Dan Drake).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11409#comment:13>
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.