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

add Gitlab support #371

Open
srooks10 opened this issue Dec 1, 2014 · 6 comments
Open

add Gitlab support #371

srooks10 opened this issue Dec 1, 2014 · 6 comments
Labels
tag:Provider Related to a notebook provider type:Enhancement A proposed extension to the behavior of the project

Comments

@srooks10
Copy link

srooks10 commented Dec 1, 2014

I am trying to convert our team to using notebooks for data analysis. A feature request is for non coders stakeholders to be able to easily read the notebooks. Our code is hosted on an internal instance of gitlab. Since #361 is being reviewed, would you consider adding gitlab (api) as a source for nbviewer?

@rgbkrk
Copy link
Member

rgbkrk commented Dec 1, 2014

I'd certainly review a PR for it, I used to use GitLab regularly.

@bollwyvl bollwyvl added type:Enhancement A proposed extension to the behavior of the project tag:Provider Related to a notebook provider labels Mar 3, 2015
@astrojuanlu
Copy link

Upvote this if you implemented in-house GitLab support for your company and you were not allowed to publish it.

@nilsnolde
Copy link

I was looking to do the same for a WordPress plugin I'm developing, where you can render all sorts of document types, incl notebooks, directly from any Git VCS (well, Bitbucket, GH, GL..) in a post/page. And was fairly frustrated that it wouldn't work with Gitlab (or Bitbucket)..

However, the workaround is to replace the blob in the Gitlab URL with raw and voila, working:

https://gitlab.com/nilsnolde/wp-plugin-test/-/blob/master/folder.ipynb becomes

https://gitlab.com/nilsnolde/wp-plugin-test/-/raw/master/folder.ipynb

Same goes for Bitbucket, just that you'll have to replace src with raw.

@krinsman
Copy link
Collaborator

krinsman commented Mar 8, 2020

Hi all, this issue will likely be addressed here: #879

@nilsnolde Please let @cbowdon know if you want to help or collaborate.

@nilsnolde
Copy link

Thanks for the PR link, only checked the issues!

Yeah, I considered opening a PR actually (good that I didn't start yet, looking at the already good work being done), but these days there's so much FOSS waiting to get done, it's hard to tackle another medium-big project.

However, I'd like to get back to this in a few weeks/months latest and try Bitbucket support. Should actually be easier than Gitlab, since the API is not so weird;)

@cmosguy
Copy link

cmosguy commented Feb 28, 2022

HI All,

What do you do if you need an API access token for gitlab? We have an on-premise gitlab server, and I think we need an API token for this to work. What do you recommend?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag:Provider Related to a notebook provider type:Enhancement A proposed extension to the behavior of the project
Projects
None yet
Development

No branches or pull requests

7 participants