Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

To get repo language is not necessary for none github.com repository #196

Closed
linux-china opened this issue May 23, 2019 · 2 comments
Closed

Comments

@linux-china
Copy link

linux-china commented May 23, 2019

If you use Sail to run project on your internal git hosting, for example:

sail run gitlab.xxx.com/user/repo1 

and Sail still call "get repo languages api" and generate 404 not found error.

2019-05-23 13:29:50 ERROR	unable to get repo language: GET https://api.github.com/repos/user/repo1: 404 Not Found []
2019-05-23 13:29:50 INFO	using default image codercom/ubuntu-dev
2019-05-23 13:29:50 INFO	ensuring image codercom/ubuntu-dev exists

Please remove repo language REST API call for none github.com project.

@teddy-codes
Copy link
Contributor

This is only done when there is no .sail/Dockerfile within the cloned repo since at that point, it tried to guess.

@deansheather
Copy link
Member

Closing in favor of #197.

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

No branches or pull requests

3 participants