Skip to content

[WIP] make install.sh install using curl#4

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/fix-d116d5e9-d395-46e8-aa74-86120fd50aaa
Closed

[WIP] make install.sh install using curl#4
Copilot wants to merge 1 commit intomainfrom
copilot/fix-d116d5e9-d395-46e8-aa74-86120fd50aaa

Conversation

Copy link

Copilot AI commented Sep 7, 2025

Flux Install Script: Add curl-based installation support

Plan: Modify install.sh to use curl instead of git where possible

  • Explore repository structure and understand current install.sh script
  • Identify git clone operations that can be replaced with curl downloads
  • Replace main repository cloning (git clone) with curl-based tar.gz download
  • Add tar extraction functionality to handle downloaded archives
  • Test the modified installation process
  • Ensure backwards compatibility and error handling
  • Verify the installation still works correctly

Current Analysis:

The current install.sh script uses git clone in two places:

  1. Line 110: git clone --depth=1 https://aur.archlinux.org/yay-bin.git (AUR package - harder to replace)
  2. Line 121: git clone "$REPO_URL" "$INSTALL_DIR" (main repository - can be replaced with curl)

The main improvement will be replacing the main repository cloning with a curl-based download of the GitHub archive, making the installation more efficient and not requiring git to be installed.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@tr1xem tr1xem closed this Sep 7, 2025
Copilot AI requested a review from tr1xem September 7, 2025 10:38
@tr1xem tr1xem deleted the copilot/fix-d116d5e9-d395-46e8-aa74-86120fd50aaa branch March 8, 2026 09:00
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.

2 participants