Skip to content
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

autodownload only executes once #11

Open
cccs-cat001 opened this issue Apr 26, 2021 · 2 comments
Open

autodownload only executes once #11

cccs-cat001 opened this issue Apr 26, 2021 · 2 comments

Comments

@cccs-cat001
Copy link

cccs-cat001 commented Apr 26, 2021

Hi. I'm playing with these extensions on our nbgallery/jupyterhub instances. When I first launch my jupyterhub server with this autodownload installed, and go to the tree view, it will download all the starred notebooks (and probably recently executed but I don't have any so there's none in there).

So I starred more notebooks on nbgallery, but I can't seem to make jupyterhub download those.. I've tried restarting my server, refreshing, restarting the autodownload extension. None seem to make it work. Any idea why this happens?

Edit: I did make it redo the download by deleting the Starred directory. Is this how we're supposed to use this extension??

@jeffyjefflabs
Copy link

Yeah, the original intent was to help recreate your Jupyter environment when you're on ephemeral VMs that get recreated from scratch periodically. So the idea was just to run once at startup to fetch the notebooks you use frequently.

@mcrutch
Copy link
Contributor

mcrutch commented Aug 5, 2022

Was looking back at tickets and I have a possible idea on this, but it gets complicated.
Possible option: Periodic (obviously not every time, 1/day probably) check to download any NEW notebooks but won't touch existing. Can squirrel this away in settings to track when the last check was. Open to thoughts. Since it would only happens when the whole UI loads, it can be non-invasive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants