uv/crates/uv-cli/src
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
..
comma.rs Remove separate test files in favor of same-file mod tests (#9199) 2024-11-18 20:11:46 +00:00
compat.rs Add support for pip list --outdated (#8872) 2024-11-07 02:32:30 +00:00
lib.rs Publish: Support --index <name> (#9694) 2024-12-10 22:17:47 +01:00
options.rs Respect --index-url in uv pip list (#8942) 2024-11-08 09:52:32 -05:00
version.rs Remove separate test files in favor of same-file mod tests (#9199) 2024-11-18 20:11:46 +00:00