Skip to content
This repository

Basic Authentication #786

merged 0 commits into from about 1 year ago

3 participants

Paul Nasrat Marcus Smith

When you use a private, password protected, repository you can use "--index-url" on the command line to access it.

Anyway this is not suitable when you are using a Continuos Integration engine (Buildbot) because the credentials are clearly available in the log.

Usually, when you have a private repository, you store your credentials in the .pypirc file to allow you to upload the packages
This patch use the credentials in the .pypirc to load the HTTPPasswordMgrWithDefaultRealm used by the UrlOpener.
Also remove the FIXME about the 401 error handling.
It's very simple, only one file and few lines of code, but IMHO required to use pip with password protected repositories

Paul Nasrat

Thanks for the pull request - this needs tests for both the happy and sad path.

great, I'll come back when ready

saxix closed this February 07, 2013
saxix reopened this February 07, 2013
saxix closed this February 09, 2013
saxix reopened this February 10, 2013
Marcus Smith qwcode merged commit 188ac20 into from March 11, 2013
Marcus Smith qwcode closed this March 11, 2013
saxix commented March 12, 2013

I was working on the merging with the ssl code, is there any interest on this pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Sorry, commit information is not available for this pull request.

This page is out of date. Refresh to see the latest.

Showing 0 changed files with 0 additions and 0 deletions. Show diff stats Hide diff stats


Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.