jupyterlab-git icon indicating copy to clipboard operation
jupyterlab-git copied to clipboard

Feature Request: Link to File in git remote repository

Open jugi92 opened this issue 4 years ago • 1 comments

Hi,

when Jupyterlab is used in Jupyterhub with the jupyterlab-git extension, it would be very useful to be able to get the link of the file in the remote repository to share that link with others.

I would consider that more useful than the shareable link which is currently provided when right clicking a file: image

I found some script that provides the link of the folder one is currently in, that could be a starting point: https://stackoverflow.com/questions/47524709/how-to-get-the-full-path-of-a-file-in-a-git-remote-repo

Thanks and best regards

jugi92 avatar Oct 16 '20 09:10 jugi92

Thanks for the suggestion.

Unfortunately this will be complicated to implement as it depends on the Git web service hosting the remote repository.

fcollonval avatar Oct 24 '20 14:10 fcollonval