Closed
Description
Is your feature request related to a problem? Please describe.
When defining an index with PDM, one can skip SSL verification with verify_ssl = false
. This does not work for repositories.
Describe the solution you'd like
Add the option repository.company.verify_ssl
. This is especially useful for private company repositories.
Activity
frostming commentedon May 18, 2023
Would you like to PR?
p-rogalski commentedon May 22, 2023
Sure, I will try!
p-rogalski commentedon May 25, 2023
Could you give me a hint where to look?
frostming commentedon May 25, 2023
Since it is already able to be saved in the config, just not taking effect, you can simply add it to the
Repository
object:pdm/src/pdm/cli/commands/publish/__init__.py
Lines 117 to 126 in 87ec138
The
verify_ssl
value can be accessed byconfig.verify_ssl