Skip to content

Add JSON output to uv download - #877

Draft
zaniebot wants to merge 1 commit into
zb/uv-download-dry-runfrom
zb/uv-download-json
Draft

zaniebot wants to merge 1 commit into
zb/uv-download-dry-runfrom
zb/uv-download-json

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Add --output-format json to uv download for callers that need a machine-readable prefetch report.

The JSON report preserves lockfile artifact order and includes each distribution's package name, URL, hash, size, and cache outcome. Normal downloads distinguish newly downloaded archives from existing packed entries; with --dry-run, the same schema reports which archives would be downloaded without changing the cache. Summary counts and a preview schema marker make the output suitable for automation while leaving the existing text output unchanged.

This is stacked on uv-dev#876.

@astral-automations-bot astral-automations-bot Bot added enhancement New feature or request preview Experimental behavior labels Aug 28, 2026
@zaniebot zaniebot added priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect. risk:1 Negligible risk of localized mistakes that are obvious and easy to correct. labels Sep 9, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request preview Experimental behavior priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. risk:1 Negligible risk of localized mistakes that are obvious and easy to correct. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants