question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support multiple private repositories

See original GitHub issue

pip supports at least two private repositories through the combination of --index-url and --extra-index-url. It’d be nice to support any number of private repositories, but having at least two is necessary for my particular use case.

PS: thanks for this very promising project!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
abncommented, Sep 18, 2020

@languitar

[[tool.poetry.source]]
name = "foo"
url = "https://foo.bar/simple/"

[[tool.poetry.source]]
name = "bar"
url = "https://bar.baz/simple/"

This is equivalent to

tool.poetry.source = [
 { name = "foo", url = "https://foo.bar/simple/" },
 { name = "bar", url = "https://bar.baz/simple/" }
]
0reactions
leiflmcommented, May 2, 2021
[[tool.poetry.source]]
name = "foo"
url = "https://foo.bar/simple/"

[[tool.poetry.source]]
name = "bar"
url = "https://bar.baz/simple/"

This is equivalent to

tool.poetry.source = [
 { name = "foo", url = "https://foo.bar/simple/" },
 { name = "bar", url = "https://bar.baz/simple/" }
]

Just a heads-up for anybody coming across this, wondering why it won’t work for them.

Using an array of tables seems to be broken for source:

poetry check
Error: [urls.tool] {'poetry': {'source': [{'name': 'foo', 'url': 'https://foo.bar/simple/'}, {'name': 'bar', 'url': 'https://bar.baz/simple/'}]}} is not of type 'string'
Read more comments on GitHub >

github_iconTop Results From Across the Web

Support multiple private repositories · Issue #14 - GitHub
pip supports at least two private repositories through the combination of --index-url and --extra-index-url . It'd be nice to support any ...
Read more >
Accessing Multiple Private Repositories - Netlify Support Forums
My site name is: code-comments I'm trying to follow the guide: [Support Guide] How do I access private repositories in the build environment?...
Read more >
Maven - multiple private repositories in Artifactory
The best practice for using more than one repository is to configure a virtual repository in Artifactory. Then you can aggregate all of...
Read more >
Private Repositories - Declarative GitOps CD for Kubernetes
If application manifests are located in private repository then repository credentials have to be configured. Argo CD supports both HTTPS and SSH Git ......
Read more >
Apps with submodules or private repo dependencies
Registering the same SSH key for every repository is the best, most secure way - but not all services support it. GitLab and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found