#11409: Remove old notebook files
----------------------------------+-----------------------------------------
       Reporter:  jdemeyer        |         Owner:  jdemeyer  
           Type:  enhancement     |        Status:  needs_work
       Priority:  critical        |     Milestone:  sage-5.0  
      Component:  notebook        |    Resolution:            
       Keywords:                  |   Work issues:            
Report Upstream:  N/A             |     Reviewers:            
        Authors:  Jeroen Demeyer  |     Merged in:            
   Dependencies:                  |      Stopgaps:            
----------------------------------+-----------------------------------------
Description changed by jdemeyer:

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 (but I have made them more uniform)
>  * {{{$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"}}} # I prefer this
> shell command to a patch because there are some `hg` problems with
> removing empty 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''
>
> -----
>
> 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).
>
> ----
>
> 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 (but I have made them more uniform)
  * {{{$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"}}} # I prefer this
 shell command to a patch because there are no chances of a merge conflict
  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''

 -----

 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).

 ----

 See also #9237, #9552.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11409#comment:21>
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.

Reply via email to