GithubHelp home page GithubHelp logo

Add a `info` command about pixi HOT 5 CLOSED

prefix-dev avatar prefix-dev commented on June 23, 2024
Add a `info` command

from pixi.

Comments (5)

baszalmstra avatar baszalmstra commented on June 23, 2024

Maybe something along the lines of: https://doc.rust-lang.org/cargo/commands/cargo-metadata.html

That would also make it machine readable. And usable by other tools.

What would you include in this info?

from pixi.

ruben-arts avatar ruben-arts commented on June 23, 2024

As of right now I only needed it for finding out where the cache was stored and which virtual packages are available.

A machine readable version could be handy!

The cargo metadata is only specific to the package which can be a nice addition but I'm more interested in the system config.

from pixi.

baszalmstra avatar baszalmstra commented on June 23, 2024

We could do something similar to docker info where you can specify --format and format it to your. There is a crate for that: https://github.com/fiji-flo/gtmpl-rust

from pixi.

baszalmstra avatar baszalmstra commented on June 23, 2024

Related to #74

from pixi.

wolfv avatar wolfv commented on June 23, 2024

Ideas for additional info elements:

  • global
    • authentication store location (if fallback used)
    • global cache size?
    • last time repodata downloaded?
    • proxy settings (HTTP_PROXY / HTTPS_PROXY)
    • netrc files (if they are used by reqwest)
  • project
    • number of packages installed
    • disk space used / size of .pixi folder
    • last time updated / locked
    • platforms that were locked

from pixi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.