feat(list): add a flag to only list local packages#6030
Conversation
baszalmstra
left a comment
There was a problem hiding this comment.
We also already have --explicit what does --local mean? You now check that the size == None but that can also be true for binary conda packages or pypi packages.
|
Hi @baszalmstra
If I understand correctly,
Fair, while trying to implement, I found out that checking https://github.com/prefix-dev/pixi/blob/main/crates/pixi_api/src/workspace/list/package.rs#L71-L115 But probably there is a better way to do it, either in the package discovery, or while scraping the content of the workspace's Thanks for the feedback ! |
Description
Provide a way to list only packages that are part of a Pixi workspace.
How Has This Been Tested?
Ran
pixi run lintandpixi run testUsed the built
pixibinary to test the behavior on different workspaces (as visible above)Checklist: