uv/docs/configuration
konsti 321101d340
Publish: Support --index <name> (#9694)
When publishing, we currently ask the user to set `--publish-url` to the
upload URL and `--check-url` to the simple index URL, or the equivalent
configuration keys. But that's redundant with the `[[tool.uv.index]]`
declaration. Instead, we extend `[[tool.uv.index]]` with a `publish-url`
entry and allow passing `uv publish --index <name>`.

`uv publish --index <name>` requires the `pyproject.toml` to be present
when publishing, unlike using `--publish-url ... --check-url ...` which
can be used e.g. in CI without a checkout step. `--index` also always
uses the check URL feature to aid upload consistency.

The documentation tries to explain both approaches together, which
overlap for the check URL feature.

Fixes #8864

---------

Co-authored-by: Zanie Blue <contact@zanie.dev>
2024-12-10 22:17:47 +01:00
..
authentication.md Fix .netrc typo in authentication docs (#8521) 2024-10-24 07:58:39 -05:00
environment.md Publish: Support --index <name> (#9694) 2024-12-10 22:17:47 +01:00
files.md Use [[index]] API in configuration example (#9065) 2024-11-12 14:43:54 -05:00
index.md Add support for named and explicit indexes (#7481) 2024-10-15 18:24:23 -04:00
indexes.md Add --index <name>=<url> syntax to index documentation (#9139) 2024-11-15 09:56:19 -06:00
installer.md Use XDG (i.e. ~/.local/bin) instead of the Cargo home directory in the installer (#8420) 2024-11-07 14:29:54 -06:00