question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow repos to specify initial URL

See original GitHub issue

Right now a binder instances opens to the classic notebook which has a URL of /tree. It would be very helpful to allow a repo to specify the initial URL so that, for example, JupyterLab could open up (/lab). Combined with per repo DOCKERFILE support this would open the door to host just about anything this way.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:19 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ellisonbgcommented, Oct 4, 2017

We have not implemented the ability to open lab with a particular file. Here is the issue though:

https://github.com/jupyterlab/jupyterlab/issues/1075

On Wed, Oct 4, 2017 at 6:59 AM, Min RK notifications@github.com wrote:

I think 1 is going to make sense as an escape hatch, regardless. I don’t think urlPrefix will make sense - it assumes that any supported application supports the same filepath URLs that the notebook app does (none do, as far as I know). 3. sounds good for cases where we can accumulation knowledge over time about:

  1. what application is launched, and
  2. how that application can be told to open filepath

while urlpath covers all such cases until we develop the knowledge of the given application.

@ellisonbg https://github.com/ellisonbg what’s the current status of opening a particular file with jupyterlab via a url?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jupyterhub/binderhub/issues/128#issuecomment-334164319, or mute the thread https://github.com/notifications/unsubscribe-auth/AABr0I7VDJgjFcOxHvenZsrbBLh_9iHJks5so48rgaJpZM4PmO2_ .

– Brian E. Granger Associate Professor of Physics and Data Science Cal Poly State University, San Luis Obispo @ellisonbg on Twitter and GitHub bgranger@calpoly.edu and ellisonbg@gmail.com

0reactions
ellisonbgcommented, Nov 1, 2017

Yeah, I think that is a good idea to hide some of these details from the user behind a more intuitive UI

On Wed, Nov 1, 2017 at 1:01 PM, Grant Nestor notifications@github.com wrote:

Regarding UI, I don’t think that urlPath and filePath should be user-facing. Ideally, there would be a dropdown menu in the binder dashboard that allows users to select from a couple options (e.g. “Jupyter Notebook”, “JupyterLab”, “Custom path”) and for the notebook and custom options (until JupyterLab supports URLs), there would be an optional text field for extending that path.

Something like this:

[image: binder] https://user-images.githubusercontent.com/512354/32294683-2849f096-bf04-11e7-8115-28988ca7cac7.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jupyterhub/binderhub/issues/128#issuecomment-341222909, or mute the thread https://github.com/notifications/unsubscribe-auth/AABr0CFmb1yuWMzk2AJp9WhRRTJWIpf9ks5syM4SgaJpZM4PmO2_ .

– Brian E. Granger Associate Professor of Physics and Data Science Cal Poly State University, San Luis Obispo @ellisonbg on Twitter and GitHub bgranger@calpoly.edu and ellisonbg@gmail.com

Read more comments on GitHub >

github_iconTop Results From Across the Web

About remote repositories - GitHub Docs
Creating remote repositories​​ This associates the name origin with the REMOTE_URL . You can use the command git remote set-url to change a...
Read more >
Configure the Repository for URL-Based Patching
You can configure a custom repository URL as the current source of patches for your environment's requirements. By default the current ...
Read more >
Repo Command Reference | Android Open Source Project
-u : Specify a URL from which to retrieve a manifest repository. The common manifest is found at https://android.googlesource.com/platform/ ...
Read more >
Declaring repositories - Gradle User Manual
Repositories with custom URLs can be specified as Maven or Ivy repositories by calling the corresponding methods available on the RepositoryHandler API. Gradle ......
Read more >
Set Git repository settings - Azure Repos | Microsoft Learn
On the Settings tab of the All Repositories page, set Default branch name for new repositories to On, and then enter a default...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found