-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Global configuration of custom sources #5958
Copy link
Copy link
Open
Labels
area/sourcesReleated to package sources/indexes/repositoriesReleated to package sources/indexes/repositorieskind/featureFeature requests/implementationsFeature requests/implementations
Description
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
I am using private repositories to download dependencies as I am working behind a corporate firewall. According to the docs (https://python-poetry.org/docs/repositories/#install-dependencies-from-a-private-repository), I am supposed to put a private repo into pyproject.toml.
# pyproject.toml
[[tool.poetry.source]]
name = "foo"
url = "https://foo.bar/simple/"
default = true
If I do that, I am basically not able to commit pyproject.toml to GitHub as I don't want to reveal internal server names. Committing these information would be useless for others anyway, as they are not able to access our internal repos.
I am wondering if it would make sense to define private repos in poetry's own configuration on my local machine? Or maybe I can set some environment variables?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/sourcesReleated to package sources/indexes/repositoriesReleated to package sources/indexes/repositorieskind/featureFeature requests/implementationsFeature requests/implementations