Skip to content

Add temporary protected fetch solution by leveraging web server's HTTP Basic Auth#80

Merged
smellsblue merged 2 commits intorubygems:masterfrom
taonic:add_temporary_http_basic_auth_solution_to_private_gem_readme
Mar 23, 2016
Merged

Add temporary protected fetch solution by leveraging web server's HTTP Basic Auth#80
smellsblue merged 2 commits intorubygems:masterfrom
taonic:add_temporary_http_basic_auth_solution_to_private_gem_readme

Conversation

@taonic
Copy link
Copy Markdown

@taonic taonic commented Mar 12, 2016

As discussed here: #24 (comment)

/cc @smellsblue

Comment thread docs/private_gems.md
Private gems often require protected fetching. While the feature is still being discussed at here: https://github.com/bundler/gemstash/issues/24, a temporary solution is available through configuring web server.

Depends on your choice of the web server, for example, Nginx has a `basic_auth` module, which helps to setup HTTP Basic Authentication. On the Bundler side, HTTP Basic Auth credentials can be configured through: http://bundler.io/man/gemfile.5.html#CREDENTIALS-credentials

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could you also provide a sample on how to setup a basic auth? (rather than pointing to the manual)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@pcarranza Sure thing. Please let me know if this helps: taonic@35d5ef8

@taonic taonic force-pushed the add_temporary_http_basic_auth_solution_to_private_gem_readme branch from c599aab to 7dfecde Compare March 13, 2016 03:42
@taonic taonic force-pushed the add_temporary_http_basic_auth_solution_to_private_gem_readme branch from 7dfecde to 35d5ef8 Compare March 13, 2016 03:44
@taonic
Copy link
Copy Markdown
Author

taonic commented Mar 22, 2016

@pcarranza @smellsblue How do you think about the new doc section?

@smellsblue
Copy link
Copy Markdown
Contributor

Looks good to me! Thanks for the work!

@smellsblue smellsblue merged commit aed1085 into rubygems:master Mar 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants