Installation script's github downloader blows up due to shell line length issue on macos 12.3 #1714
Labels
architecture: arm
Specific to ARM host architecture
conclusion: moved
Issue/PR moved to another repository
os: macos
Specific to macOS operating system
topic: infrastructure
Related to project infrastructure
type: imperfection
Perceived defect in any part of project
Bug Report
Current behavior
When running the current install script:
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh |sh
It blows up because it doesn't find an arduino download for
arm64
and then falls back to scraping the GitHub releases page for a download. The GitHub releases page for 0.21.1 has more than 4k of content on it, leading to abash
line length failure.Expected behavior
I'd expect the install to still fail due to the arm64 / 64bit issue.
Environment
arduino-cli version
): 0.21.1Additional context
There's a pretty straightforward change that would work for the arduino-cli implementation, although it might not be fully portable to other places arduino uses this script. You don't need to parse the releases page, since the release urls are easily predictable.
This is what the failure looks like.
The text was updated successfully, but these errors were encountered: