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

Extend pixi project command #575

Closed
ruben-arts opened this issue Dec 18, 2023 · 3 comments
Closed

Extend pixi project command #575

ruben-arts opened this issue Dec 18, 2023 · 3 comments
Labels
✨ enhancement Feature request 👋 good first issue Good for newcomers

Comments

@ruben-arts
Copy link
Contributor

Our idea is to extend the pixi project command to have more option.

Some ideas that would be helpful on top of my mind:

  • version modification/fetch support
  • platforms modification/fetch support
  • description modification/fetch support
pixi project version
0.1.0
pixi project version major
1.0.0
pixi project version minor
1.1.0
pixi project version patch
1.1.1
pixi project version 1.2.3
1.2.3
# Should also update the lockfile
pixi project platforms add linux-64
pixi project platforms remove osx-64
pixi project platforms 
linux-64, osx-arm64
pixi project description "This is a test description"
pixi project description
This is a test description
@ruben-arts ruben-arts added 👋 good first issue Good for newcomers ✨ enhancement Feature request labels Dec 18, 2023
@hadim
Copy link
Contributor

hadim commented Dec 18, 2023

Will give it a try!

ruben-arts added a commit that referenced this issue Dec 20, 2023
…scription}` (#579)

A first proposal for #575

The idea is to add a few new `pixi project` commands:

- [x] `pixi project description set`
- [x] `pixi project description get`
- [x] `pixi project channel list`
- [x] `pixi project channel remove`
- [x] `pixi project platform list`
- [x] `pixi project platform remove`
- [x] `pixi project platform add`
- [x] `pixi project version get`
- [x] `pixi project version set`
- [x] `pixi project version {major,minor,patch}`: I did a first pass,
but I feel the logic should live on rattler, no?

Tests are missing.

See also a few comments/questions below.

---------

Co-authored-by: Ruben Arts <[email protected]>
@hadim
Copy link
Contributor

hadim commented Dec 20, 2023

This can be close.

@wolfv wolfv closed this as completed Dec 20, 2023
@wolfv
Copy link
Member

wolfv commented Dec 20, 2023

Thanks @hadim !

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