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

Support creating Gists on Enterprise GitHub accounts #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Support creating Gists on Enterprise GitHub accounts #96

wants to merge 1 commit into from

Conversation

etes
Copy link

@etes etes commented Feb 20, 2019

GitHub Enterprise supports self-hosted GitHub server. It should be possible to provide a custom Gist API URL as opposed to GitHub's default API,

@@ -17,6 +17,7 @@ function makeGist(serviceOptions, body) {
var gistFile = {};
gistFile[serviceOptions.gistFilename || 'usercatalog.json'] = { content: body };

gistAPI = serviceOptions.gistAPI || githubGistAPI;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe gistAPI is undeclared. Add a var in front.

@kring
Copy link
Member

kring commented Feb 21, 2019

Thank for the PR @etes! It looks good other than that one comment. Could you please also create a pull request in TerriaJS adding yourself to https://github.com/TerriaJS/terriajs/blob/master/CONTRIBUTORS.md and sign the Contributors License Agreement (CLA)?

@kring
Copy link
Member

kring commented May 16, 2019

Hey @etes thanks again for this pull request! Any chance we can get you to sign the CLA so that we can merge it? The purpose of the CLA is just to ensure that we (and other users of terriajs-server) are allowed to use your contributions.

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

Successfully merging this pull request may close these issues.

2 participants