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

Authentication against restricted repositories while bootstraping #27

Closed
ghost opened this issue Jun 29, 2013 · 3 comments
Closed

Authentication against restricted repositories while bootstraping #27

ghost opened this issue Jun 29, 2013 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 29, 2013

Originally reported by: khoppert (Bitbucket: khoppert, GitHub: Unknown)


Hi,

is there any interest in having an authentication while you are bootstrapping your project.
The authentication works for the find-links parameter in the buildout section and downstreamed for the eggs matched to index list in the restricted repository.

I developed a small piece of code which is doing such things.

The credentials are taken from a ~.pypirc file.

If an url is given to the open_with_auth method from package_index.py i am comparing the url to the repository urls which are in the repository sections of the pypirc file.

If credentials are found they are integrated in the open_with_auth authentication mechanism.

Greetings

Kai


@ghost
Copy link
Author

ghost commented Aug 6, 2013

Original comment by wichert (Bitbucket: wichert, GitHub: wichert):


This would certainly be useful.

@ghost
Copy link
Author

ghost commented Nov 14, 2013

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Merge support for loading credentials from .pypirc (based on pull request #11). Fixes #27.

@ghost
Copy link
Author

ghost commented Nov 14, 2013

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Thanks in part to the pull request from Kai, the latest beta, available from setuptools downloads has support for loading the credentials from .pypirc. Please test and report any emergent issues in a new ticket.

@ghost ghost closed this as completed Mar 29, 2016
jaraco added a commit that referenced this issue Mar 29, 2016
Fixed tests for skipping when svn not present.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants