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

pixi global upgrade-all regression in 0.33? #2293

Closed
2 tasks done
dhirschfeld opened this issue Oct 16, 2024 · 3 comments · Fixed by #2296
Closed
2 tasks done

pixi global upgrade-all regression in 0.33? #2293

dhirschfeld opened this issue Oct 16, 2024 · 3 comments · Fixed by #2296

Comments

@dhirschfeld
Copy link
Contributor

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

❯ pixi global upgrade-all
Upgrade specific package which is installed globally

Usage: pixi global upgrade-all [OPTIONS] [SPECS]...

Arguments:
  [SPECS]...  Specifies the packages to upgrade

Options:
  -c, --channel <CHANNEL>    The channels to consider as a name or a url. Multiple channels can be specified by using this field multiple times
      --platform <PLATFORM>  The platform to install the package for [default: linux-64]
  -v, --verbose...           Increase logging verbosity
  -q, --quiet...             Decrease logging verbosity
      --color <COLOR>        Whether the log needs to be colored [env: PIXI_COLOR=] [default: auto] [possible values: always, never, auto]
      --no-progress          Hide all progress bars [env: PIXI_NO_PROGRESS=]
  -h, --help                 Print help (see more with '--help')

Issue description

Previously upgrade-all would do as the name suggests - it would update all of globally installed tools.

Now it seems to want to provide a list of packages to update. Since I have a lot of packages and I want to keep them all update to date that's not very ergonomic.

Expected behavior

upgrade-all updates all global environments (as was done previously)

@dhirschfeld
Copy link
Contributor Author

It seems perhaps this functionality has moved to pixi global update - is that correct?

❯ pixi global update
✔ Updated environment fzf.
✔ Updated environment git-delta.
✔ Updated environment podman.
✔ Updated environment starship.
✔ Updated environment gh.
✔ Updated environment awscli.
✔ Updated environment uv.
✔ Updated environment terraform.
✔ Updated environment fd-find.
✔ Updated environment pgcli.
✔ Updated environment go-sqlcmd.
✔ Updated environment zoxide.
✔ Updated environment argocd-cli.
✔ Updated environment bat.
✔ Updated environment eza.
✔ Updated environment skopeo.
✔ Updated environment databricks-cli.
✔ Updated environment kubernetes-helm.
✔ Updated environment jq.
✔ Updated environment opentofu.
✔ Updated environment ghostscript.
✔ Updated environment helix.
✔ Updated environment kubernetes-client.
✔ Updated environment crane.
✔ Updated environment micromamba.
✔ Updated environment toolong.
✔ Updated environment harlequin.
✔ Updated environment hyperfine.
✔ Updated environment ripgrep.
✔ Updated environment nodejs.

☝ it would be helpful if the output stated what changes were made to the environments (the output from upgrade-all did this previously)

@Hofer-Julian
Copy link
Contributor

Hey!

pixi global upgrade-all is indeed replaced by pixi global update. You should have gotten a nice error message here, but apparently something went wrong here.

Yes, the output of pixi global update is not great. We have a WIP for that, which will be part of the next release.

@dhirschfeld
Copy link
Contributor Author

We have a WIP for that, which will be part of the next release.

I might suggest ordering the output so that it's easier to parse if you're interested in the changes to a particular package(s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants