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 github enterprise API URL and access_token support. #16

Merged
merged 1 commit into from Apr 6, 2014

Conversation

christianchristensen
Copy link
Contributor

It would be nice to include the GitHub Enterprise users with the ability to sync their gists as well (the API should be identical to the public one). This should be an easy enough configuration option (just supporting the enterprise URL). However, the OAuth token support may be a little trickier...

@swdyh
Copy link
Owner

swdyh commented Jul 10, 2013

  1. update gisty 0.2.6

  2. download https://github.com/swdyh/gisty/raw/master/bin/gisty

  3. rename gisty to my-ghe-gisty

  4. edit my-ghe-gisty: add api_url. edit gisy_dir and access_token.

    31: @g = Gisty.new ENV['GISTY_DIR'], nil, nil, :ssl_ca => ENV['GISTY_SSL_CA'],
    :ssl_verify => ENV['GISTY_SSL_VERIFY'], :access_token => ENV['GISTY_ACCESS_TOKEN'], api_url => 'your-ghe-gist-api-url'

  5. use my-ghe-gisty

@christianchristensen
Copy link
Contributor Author

Thanks @swdyh, it looks like there's still a couple of hard references for syncing gists. Here's a couple of updates I believe help use with an enterprise installation (see diff).

swdyh added a commit that referenced this pull request Apr 6, 2014
Support github enterprise API URL and access_token support.
@swdyh swdyh merged commit 060dacc into swdyh:master Apr 6, 2014
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.

None yet

2 participants