Hello!
The documentation is not precise on how to configure repositories via variables.
In the docs on
|
**Environment Variable**: `POETRY_REPOSITORIES_<NAME>` |
the variable should be configured as
POETRY_REPOSITORIES_<NAME> but in the code on
|
pattern = re.compile(r"POETRY_REPOSITORIES_(?P<name>[A-Z_]+)_URL") |
expects a pattern like:
pattern = re.compile(r"POETRY_REPOSITORIES_(?P<name>[A-Z_]+)_URL")
With _URL suffix.
So configuring as documented won't work.
Thanks and keep up the good work
Hello!
The documentation is not precise on how to configure repositories via variables.
In the docs on
poetry/docs/configuration.md
Line 444 in 0811469
POETRY_REPOSITORIES_<NAME>but in the code onpoetry/src/poetry/config/config.py
Line 200 in 0811469
pattern = re.compile(r"POETRY_REPOSITORIES_(?P<name>[A-Z_]+)_URL")With _URL suffix.
So configuring as documented won't work.
Thanks and keep up the good work