Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
57f274b0
Commit
57f274b0
authored
May 09, 2022
by
Arun Babu Neelicattu
Committed by
Bjorn Neergaard
May 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: add information on git and http-basic auth
parent
35c3cf1f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
docs/dependency-specification.md
+14
-4
No files found.
docs/dependency-specification.md
View file @
57f274b0
...
...
@@ -116,11 +116,21 @@ To use an SSH connection, for example in the case of private repositories, use t
requests
=
{
git
=
"git@github.com:requests/requests.git"
}
```
To use HTTP basic authentication with your git repositories, you can configure credentials similar to
how
[
repository credentials
](
{{
<
relref
"
repositories
#
configuring-credentials
"
>
}}) are configured.
```
bash
poetry config repositories.git-org-project https://gitlhub.com/org/project.git
poetry config http-basic.git-org-project username token
poetry add git+https://github.com/org/project.git
```
{{% note %}}
With Poetry 1.2 releases, the default git client used is
[
Dulwich
](
https://www.dulwich.io/
)
. We
fall back to legacy system git client implementation in cases where
[
gitcredentials
](
https://git-scm.com/docs/gitcredentials
)
are used. This fallback will be removed in a future release where username/password authentication
can be better supported natively.
With Poetry 1.2 releases, the default git client used is
[
Dulwich
](
https://www.dulwich.io/
)
.
We fall back to legacy system git client implementation in cases where
[
gitcredentials
](
https://git-scm.com/docs/gitcredentials
)
is used. This fallback will be removed in
a future release where
`gitcredentials`
helpers can be better supported natively.
In cases where you encounter issues with the default implementation that used to work prior to
Poetry 1.2, you may wish to explicitly configure the use of the system git client via a shell
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment