Skip to content

fix: create shortcut with pixi global#3401

Closed
Glatzel wants to merge 5 commits intoprefix-dev:mainfrom
Glatzel:fix-shortcut
Closed

fix: create shortcut with pixi global#3401
Glatzel wants to merge 5 commits intoprefix-dev:mainfrom
Glatzel:fix-shortcut

Conversation

@Glatzel
Copy link
Copy Markdown
Contributor

@Glatzel Glatzel commented Mar 23, 2025

fix #3400
Do not update branch before #3402 fixed.

  • pixi global update
  • pixi global sync

@Glatzel Glatzel marked this pull request as ready for review March 24, 2025 03:15
@Glatzel Glatzel changed the title fix: create shortcut with pixi global update fix: create shortcut with pixi global Mar 24, 2025
@Glatzel
Copy link
Copy Markdown
Contributor Author

Glatzel commented Mar 24, 2025

@Hofer-Julian , In my local test, forcing shortcut installation in common.rs will also fix the issue with pixi global sync, do not require code changes in pixi global execute.

All global commands that call sync_environment in mod.rs will be effected, including add, shortcut, remove, sync. But I do not have time to test all these commands.

The example of mss is a little heavy, so I create a lightweight conda package for local windows test. If someone need it, I will upload it here.

@Glatzel
Copy link
Copy Markdown
Contributor Author

Glatzel commented Mar 24, 2025

Close this as it is not accord with functional design of pixi global update.

@Glatzel Glatzel closed this Mar 24, 2025
@Glatzel Glatzel deleted the fix-shortcut branch March 25, 2025 13:03
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 this pull request may close these issues.

pixi global update doesn't create shortcut

1 participant