Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix incorrect/inconsistent "available in project" values #2278

Merged
merged 2 commits into from
Sep 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/docs/reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The following configuration items can be retrieved and modified by [`pdm config`

| Config Item | Description | Default Value | Available in Project | Env var |
| --------------------------------- | ------------------------------------------------------------------------- | --------------------------------------------------------------------- | -------------------- | ------------------------- |
| `build_isolation` | Isolate the build environment from the project environment | Yes | True | `PDM_BUILD_ISOLATION` |
| `build_isolation` | Isolate the build environment from the project environment | Yes | Yes | `PDM_BUILD_ISOLATION` |
| `cache_dir` | The root directory of cached files | The default cache location on OS | No | |
| `check_update` | Check if there is any newer version available | True | No | `PDM_CHECK_UPDATE` |
| `global_project.fallback` | Use the global project implicitly if no local project is found | `False` | No | |
Expand All @@ -51,7 +51,7 @@ The following configuration items can be retrieved and modified by [`pdm config`
| `pypi.username` | The username to access PyPI | | Yes | `PDM_PYPI_USERNAME` |
| `pypi.password` | The password to access PyPI | | Yes | `PDM_PYPI_PASSWORD` |
| `pypi.ignore_stored_index` | Ignore the configured indexes | `False` | Yes | `PDM_IGNORE_STORED_INDEX` |
| `pypi.ca_certs` | Path to a PEM-encoded CA cert bundle (used for server cert verification) | The CA certificates from [certifi](https://pypi.org/project/certifi/) | No | |
| `pypi.ca_certs` | Path to a PEM-encoded CA cert bundle (used for server cert verification) | The CA certificates from [certifi](https://pypi.org/project/certifi/) | Yes | |
| `pypi.client_cert` | Path to a PEM-encoded client cert and optional key | | No | |
| `pypi.client_key` | Path to a PEM-encoded client cert private key, if not in pypi.client_cert | | No | |
| `pypi.verify_ssl` | Verify SSL certificate when query PyPI | `True` | Yes | |
Expand All @@ -72,7 +72,7 @@ The following configuration items can be retrieved and modified by [`pdm config`
| `repository.<name>.url` | The URL of custom package source | `https://pypi.org/simple` | Yes | |
| `repository.<name>.username` | The username to access custom repository | | Yes | |
| `repository.<name>.password` | The password to access custom repository | | Yes | |
| `repository.<name>.ca_certs` | Path to a PEM-encoded CA cert bundle (used for server cert verification) | The CA certificates from [certifi](https://pypi.org/project/certifi/) | No | |
| `repository.<name>.ca_certs` | Path to a PEM-encoded CA cert bundle (used for server cert verification) | The CA certificates from [certifi](https://pypi.org/project/certifi/) | Yes | |
| `repository.<name>.verify_ssl` | Verify SSL certificate when uploading to repository | `True` | Yes | |

_If the corresponding env var is set, the value will take precedence over what is saved in the config file._