Skip to content

Authentication against restricted repositories while bootstraping #27

@ghost

Description

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


Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions