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
bb-migration opened this Issue Jun 29, 2013 · 3 comments

Comments

Projects
None yet
1 participant
@bb-migration

bb-migration 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


@bb-migration

This comment has been minimized.

bb-migration commented Aug 6, 2013

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


This would certainly be useful.

@bb-migration

This comment has been minimized.

bb-migration 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.

@bb-migration

This comment has been minimized.

bb-migration 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.

jaraco added a commit that referenced this issue Mar 29, 2016

Merged in philip_thiem/setuptools (pull request #27)
Fixed tests for skipping when svn not present.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment