New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package Thebe #21309
Comments
Branch: u/tmonteil/package_thebe_js |
New commits:
|
Commit: |
Changed keywords from none to sd75 |
Changed branch from u/tmonteil/package_thebe_js to u/nthiery/package_thebe_js |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
We discussed this face to face with Thierry, and I made minor improvements to the text in the SPKG that he double checked over my shoulder. The files look good. I tested it, and it works. Positive review. Thanks Thierry! |
This comment has been minimized.
This comment has been minimized.
Reviewer: Nicolas M. Thiéry |
comment:7
I personally would have preferred a |
comment:8
Would downloading thebe-9624e0a07a00026103dce1a3e32bbfbf90a6d0f9.zip instead of master.zip be satisfying ? |
comment:9
It would probably work :) |
Changed branch from u/nthiery/package_thebe_js to u/tmonteil/package_thebe_js |
This comment has been minimized.
This comment has been minimized.
comment:12
OK i have done that. The hash of the zipball changed, but according to dirdiff the content is the same. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:19
Replying to @jdemeyer:
Done.
Done. Replying to @jdemeyer:
Most javascript libs have dual names, for example |
This comment has been minimized.
This comment has been minimized.
comment:21
Looks good. |
Changed reviewer from Nicolas M. Thiéry to Nicolas M. Thiéry, Jeroen Demeyer |
This comment has been minimized.
This comment has been minimized.
comment:22
Just expanding the ticket description to make it more explanatory. |
This comment has been minimized.
This comment has been minimized.
comment:24
I am going through this for inclusion in sage-on-gentoo. Are we taking a tarball of the whole repo to install only a 1010KB text file out of it? Why not ship it directly in |
comment:25
Replying to @kiwifb:
Reminds me of talks and blog posts such as
Sounds like a good idea. |
comment:26
Well I guess it ties in with my earlier comment on #20690 #20690 comment:47 so it is also not totally disinterested. But it has to be overkill, I must not be the only thinking it is, once the realisation sets in. |
comment:27
#20690 originally was just including thebe.js in the Sage sources as you suggest, and it was requested that we made a proper package ... See the comments there:
I don't mind either solution, but let's decide quickly to get this in! |
comment:28
I can understand the point of tracking upstream, but shipping a whole tarball and only installing only one file out of it because the rest is not of interest is overkill, we don't even use the rest to build something. And it creates the problem of pointing out to the file later. Another point is that the whole repo is actually not in an installable form, it is to be used as is, the fact that upstream doesn't do release means that is not that much easier to keep track of new version. Not pretending that there is a good solution to the problem. An additional consideration is licensing, this is MIT, can we ship it with the rest of the code of the sage documentation? |
comment:29
It is not overkill, because the tarball of "the whole repo" is 1.2M while "the only one file" is 1M. Indeed this only one file is the compiled version of the rest (from coffee+less+js to js), which is the source (+ a few examples). Most js library ship things that way with the compiled result included. Compressed, it would make a 300K archive. Of course, we could make a Hardcoding things within
The idea behind the current solution is in minimizing maintenance work, while staying transparent. If you insist, i can write a |
comment:30
Fine. You do the maintenance here, not me. |
comment:31
Replying to @sagetrac-tmonteil:
Thanks for your thorough explanation. It's very different from the examples I quoted. |
comment:32
I agree with Thierry. Distributions will be happy when we don't bundle external stuff in the Sage library. |
comment:33
Replying to @jdemeyer:
I generally agree with you on that point. I started getting agitated on this ticket after looking into packaging this for Gentoo and going |
Changed branch from u/tmonteil/package_thebe_js to |
Changed keywords from sd75 to sd75, sdl |
Thebe is a Jupyter javascript plugin for static sites that allows to render
selected divs of an HTML page as live cells connected to a Jupyter server.
Ticket #20690 aims to use this technology to implement live documentation
in the Jupyter notebook. Indeed, live documentation is one of the features
we had in the legacy Sage notebook and that was not yet available in Sage
when using the Jupyter notebook.
A first implementation of #20690 was entangling thebe.js within Sage source
code. Since upstream is well-defined, the aim of this ticket is to instead
package it the usual way, and #20690 is now based on this packaged version.
The zipball can be found at
https://github.com/oreillymedia/thebe/archive/9624e0a07a00026103dce1a3e32bbfbf90a6d0f9.zip
and should be renamed
thebe-9624e0a0.zip
(upstream does not propose explicit releases).
It can also temporarily be downloaded at
https://lipn.univ-paris13.fr/~monteil/hebergement/tmp/thebe-9624e0a0.zip
CC: @sagetrac-fcayre @videlec @nthiery @slel
Component: packages: standard
Keywords: sd75, sdl
Author: Thierry Monteil
Branch/Commit:
520cdd0
Reviewer: Nicolas M. Thiéry, Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/21309
The text was updated successfully, but these errors were encountered: