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 version information to pixi global list #708

Closed
pavelzw opened this issue Jan 26, 2024 · 1 comment · Fixed by #723
Closed

Add version information to pixi global list #708

pavelzw opened this issue Jan 26, 2024 · 1 comment · Fixed by #723
Labels
✨ enhancement Feature request 👋 good first issue Good for newcomers

Comments

@pavelzw
Copy link
Contributor

pavelzw commented Jan 26, 2024

Problem description

It would be nice to have the version information when using pixi global list. Maybe even an indicator if it's outdated or not.

@pavelzw pavelzw added the ✨ enhancement Feature request label Jan 26, 2024
@ruben-arts ruben-arts added the 👋 good first issue Good for newcomers label Jan 29, 2024
@chawyehsu
Copy link
Contributor

I could do this. I'm thinking of refactoring the output format of pixi global list, inspired by npm:

current

❯ pixi global list
Globally installed binary packages:
  -  [package] pigz
     -  [bin] pigz.bat
     -  [bin] unpigz.bat
  -  [package] python
     -  [bin] idle.bat
     -  [bin] pythonw.bat
     -  [bin] python.bat
     -  [bin] pydoc.bat
     -  [bin] 2to3.bat
  -  [package] rattler-build
     -  [bin] rattler-build.bat

proposal

❯ .\target\debug\pixi.exe global list
C:\pixi # <- showing the global install path
├─┬ pigz@2.8
│ ├──[bin] pigz.bat
│ └──[bin] unpigz.bat
├─┬ python@3.12.1
│ ├── [bin] idle.bat
│ ├── [bin] pythonw.bat
│ ├── [bin] python.bat
│ ├── [bin] pydoc.bat
│ └── [bin] 2to3.bat
└─┬ rattler-build@0.7.0
  └── [bin] rattler-build.bat

perhaps a flag --all/--binary could be introduced to toggle the display of binaries of installed packages.

any thoughts?

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

Successfully merging a pull request may close this issue.

3 participants