Skip to content

feat: install.sh supports installing without tar and unzip commands#3551

Merged
Hofer-Julian merged 8 commits intoprefix-dev:mainfrom
gzm55:work/improve-installer-1
Apr 16, 2025
Merged

feat: install.sh supports installing without tar and unzip commands#3551
Hofer-Julian merged 8 commits intoprefix-dev:mainfrom
gzm55:work/improve-installer-1

Conversation

@gzm55
Copy link
Copy Markdown
Contributor

@gzm55 gzm55 commented Apr 9, 2025

  1. when the tar and unzip is not found, download the uncompressed executable directly.
  2. detect msys os once (from chore: improve download robustness in install.sh #3451)
  3. check PIXI_NO_PATH_UPDATE before detecting shell types. (from chore: improve download robustness in install.sh #3451)

@Hofer-Julian
Copy link
Copy Markdown
Contributor

Thanks for that @gzm55. Could you please solve the merge conflicts now that we merged your shell format PR?

@gzm55
Copy link
Copy Markdown
Contributor Author

gzm55 commented Apr 9, 2025

Thanks for that @gzm55. Could you please solve the merge conflicts now that we merged your shell format PR?

resolved.

@Hofer-Julian Hofer-Julian requested a review from Copilot April 9, 2025 09:34
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • install/install.sh: Language not supported
Comments suppressed due to low confidence (2)

.github/workflows/ci.yml:829

  • Before renaming tar, check if the command exists to prevent errors in environments where tar may already be absent.
mv $(which tar) $(which tar).bak

.github/workflows/ci.yml:872

  • Consider simulating the absence of unzip (for example, by renaming it) in the msys2 test to fully validate the new feature behavior.
sh < ./install/install.sh

@gzm55 gzm55 changed the title feat: install.sh supports installing without tar and unzip comands feat: install.sh supports installing without tar and unzip commands Apr 9, 2025
Copy link
Copy Markdown
Contributor

@Hofer-Julian Hofer-Julian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small comments, after that it seems good to go to me!

Copy link
Copy Markdown
Contributor

@Hofer-Julian Hofer-Julian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! @gzm55

@Hofer-Julian Hofer-Julian enabled auto-merge (squash) April 16, 2025 09:03
@Hofer-Julian Hofer-Julian merged commit 3090679 into prefix-dev:main Apr 16, 2025
35 checks passed
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.

3 participants