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

pixi list / tree filter for explicit dependencies only #1372

Closed
cdeil opened this issue May 12, 2024 · 3 comments
Closed

pixi list / tree filter for explicit dependencies only #1372

cdeil opened this issue May 12, 2024 · 3 comments
Labels
✨ enhancement Feature request 👋 good first issue Good for newcomers

Comments

@cdeil
Copy link
Contributor

cdeil commented May 12, 2024

Problem description

Is it possible to list just the explicit dependencies?

This is nice, but it's difficult to see the explicit ones because there's so many:

$ pixi list --help
List project's packages. Highlighted packages are explicit dependencies

This is also nice, but again it's difficult to see just the ones that are top-level in the tree because there's so many:

$ pixi tree --help
Show a tree of project dependencies

Dependency names highlighted in green are directly specified in the manifest.

Does it make sense to add filter options for explicit only to pixi list or pixi tree?
Or am I doing it wrong and I should look at some other command or file?

@cdeil cdeil added the ✨ enhancement Feature request label May 12, 2024
@abkfenris
Copy link
Contributor

It depends on what you are trying to find out, as I think of pixi list/tree for different tasks (seeing solved versions and sources vs what dependency brought in which other ones).

If you are looking to see what the explicit dependencies are, then pixi info will show that you per environment.

@cdeil
Copy link
Contributor Author

cdeil commented May 12, 2024

Ah OK. But then with pixi info I can't see the versions. So bottom line: I think it would be useful to add a an option just to make it easier to scan/grok the explicit dependencies what versions I have installed.

pixi list --only-explicit

@ruben-arts
Copy link
Contributor

That makes sense, and shouldn't be to hard to support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement Feature request 👋 good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants