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

Add dependents ("via ..." comments) in export command #12350

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zmeir
Copy link

@zmeir zmeir commented Mar 20, 2025

Adding dependency trace/parent comments ("via ...") to the export command output.
This is a similar behavior to the pip compile output.

Note to the eager reviewer:

First of all - thanks!
Secondly, this is still a very rough draft. These are the first lines of code I've ever written in Rust. This is still mostly an educational/fun exercise for myself. If opening a Draft PR is creating too much noise - I apologize and I will close it until it is ready.

Summary

Resolves #7777

Test Plan

  • manual command execution
  • update expected output in tests

@zmeir zmeir force-pushed the zmeir/export_like_pip_compile branch from 3db6731 to 28b5dc4 Compare March 20, 2025 22:27
@zanieb zanieb requested a review from charliermarsh March 21, 2025 18:15
@zmeir zmeir force-pushed the zmeir/export_like_pip_compile branch 3 times, most recently from 537c5f7 to df20e9f Compare March 23, 2025 06:53
@zmeir zmeir force-pushed the zmeir/export_like_pip_compile branch from df20e9f to 713aef3 Compare March 23, 2025 21:51
@zmeir zmeir changed the title Add dependency parents ("via" comments) in export command Add dependents ("via ..." comments) in export command Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding package dependency trace to uv export
1 participant