prefix-dev / pixi

Package management made easy
https://pixi.sh
BSD 3-Clause "New" or "Revised" License
2.88k stars 156 forks source link

`pixi add` with comment #1440

Open jonashaag opened 3 months ago

jonashaag commented 3 months ago

Problem description

On a regular basis I pixi add pins to fix some versioning problems and immediately after doing so I add a comment to pixi.toml:

  1. pixi add 'python<3.12'
  2. vim pixi.toml
  3. Look for line with python, add # downpinned because of xyz

Would be nice to be able to do something like

pixi add 'python<3.12' --comment 'downpinned because of xyz'
ruben-arts commented 3 months ago

I gave this a try in #1441 but it's not a high value feature, so I'm giving it back to the community to pick up.

Feel free to finish what I started :100: