-
Notifications
You must be signed in to change notification settings - Fork 388
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
[MRG] Add Figshare to UI #951
Conversation
To get the latest version (or a particular version) of repo2docker you need to specify it. The BinderHub uses (I think) the latest released version. Lines 359 to 365 in 3fe8143
|
I think https://github.com/jupyterhub/binderhub/blob/master/binderhub/static/js/index.js#L109-L112 holds the secret to the mysterious trailing |
"Mysterious trailing master" removed, see also #953. Works now locally for me, ready for review, though this relies on a new repo2docker version, so not sure what the process is then. Regarding the build stuck at "Waiting for build to start...", the minikube dashboard shows me The error message "Failed to pull image "jupyter-repo2docker:figshare": rpc error: code = Unknown desc = Error response from daemon: pull access denied for jupyter-repo2docker, repository does not exist or may require 'docker login'" helped me so far as to identify the issue a bit further:
|
To get the tests to pass this needs rebasing onto the latest commit from
|
doc/federation/data-federation.txt | ||
.vscode/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I'm not wild about having editor specific ignores. Mostly because I fear we end up with many many different (poorly maintained) ignores for all the different editors people use. I think it is nicer if each of us has their own "global" gitignore a la https://help.github.com/en/articles/ignoring-files#create-a-global-gitignore
eb7b513
to
575fb2a
Compare
I've rebased this on master, if the tests pass this can be merged. |
You beat me to it! |
🎆 🍾 |
! This depends on an unreleased version of repo2docker !
This closes #938.
But it's not ready yet :-) Just would like to get some feedback :-), and need help:
With the UI, I get a
/master
at the end of the URL that I don't want:http://localhost:8585/v2/figshare/10.6084/m9.figshare.9782777.v1/master
Where does that get added? I can't find it :-/.
OTOH, the local test URL without
/master
http://localhost:8585/v2/figshare/10.6084/m9.figshare.9782777.v2
gives me "Waiting for build to start" and in the logs there is just
For several minutes now... shouldn't there be more logs?
Related questions
python3 -m pip install -e . ./testing/minikube/install-hub
I should have the latest code running in my local kube, right?
binderhub/main.py
SPEC_NAMES
from .repoproviders import
repo_providers = Dict(
binderhub/event-schemas/launch.json
(though unsure what that is for)binderhub/repoproviders.py
the actualclass FigshareProvider(RepoProvider):
binderhub/static/js/index.js
the example textbinderhub/templates/index.html
the item in the dropdownrepro_providers
at runtime by asking all the imported instances ofRepoProvidder
how they want to be added to that list ?