Jump to content

[Armbian build PR] - Use GITHUB_SOURCE to accelerate download file from github


RSS Bot

Recommended Posts

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Jira reference number [AR-9999]

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • [x] test with command ./compile.sh build GITHUB_MIRROR=ghproxy REGIONAL_MIRROR=china BOARD=licheepi-4a BRANCH=legacy BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=yes RELEASE=jammy SKIP_EXTERNAL_TOOLCHAINS=no,can download releate package success as:
[๐Ÿธ] wget --no-verbose --progress=dot:giga -O /home/red/Codes_of_pro/ai_light_brain/misc/build/cache/tools/batcat/bat-v0.23.0-x86_64-unknown-linux-gnu-bin.tar.gz.tmp https://ghproxy.com/https://github.com/sharkdp
/bat/releases/download/v0.23.0/bat-v0.23.0-x86_64-unknown-linux-gnu.tar.gz
[๐Ÿ”จ]   2023-10-06 09:43:05 URL:https://ghproxy.com/https://github.com/sharkdp/bat/releases/download/v0.23.0/bat-v0.23.0-x86_64-unknown-linux-gnu.tar.gz [2806915/2806915] -> "/home/red/Codes_of_pro/ai_light_brain/
misc/build/cache/tools/batcat/bat-v0.23.0-x86_64-unknown-linux-gnu-bin.tar.gz.tmp" [1]
[๐Ÿธ] mv /home/red/Codes_of_pro/ai_light_brain/misc/build/cache/tools/batcat/bat-v0.23.0-x86_64-unknown-linux-gnu-bin.tar.gz.tmp /home/red/Codes_of_pro/ai_light_brain/misc/build/cache/tools/batcat/bat-v0.23.0-x86_
64-unknown-linux-gnu-bin.tar.gz
[๐Ÿธ] tar -xf /home/red/Codes_of_pro/ai_light_brain/misc/build/cache/tools/batcat/bat-v0.23.0-x86_64-unknown-linux-gnu-bin.tar.gz -C /home/red/Codes_of_pro/ai_light_brain/misc/build/cache/tools/batcat bat-v0.23.0-
x86_64-unknown-linux-gnu/bat
[๐Ÿธ] rm -rf /home/red/Codes_of_pro/ai_light_brain/misc/build/cache/tools/batcat/bat-v0.23.0-x86_64-unknown-linux-gnu-bin.tar.gz
[๐Ÿธ] wget --no-verbose --progress=dot:giga -O /home/red/Codes_of_pro/ai_light_brain/misc/build/cache/tools/batcat/sublime-debian.tar.gz.tmp https://ghproxy.com/https://github.com/barnumbirr/sublime-debian/archive
/refs/heads/master.tar.gz
[๐Ÿ”จ]   2023-10-06 09:43:06 URL:https://ghproxy.com/https://github.com/barnumbirr/sublime-debian/archive/refs/heads/master.tar.gz [28188/28188] -> "/home/red/Codes_of_pro/ai_light_brain/misc/build/cache/tools/batc
at/sublime-debian.tar.gz.tmp" [1]

...

[๐Ÿ›] Down URL: https://ghproxy.com/https://github.com/oras-project/oras/releases/download/v0.16.0/oras_0.16.0_linux_amd64.tar.gz [ ORAS ]
[๐Ÿ›] ORAS_BIN: /home/red/Codes_of_pro/ai_light_brain/misc/build/cache/tools/oras/oras_0.16.0_linux_amd64 [ ORAS ]
[๐ŸŒฑ] Downloading required [ ORAS tooling ]
[๐Ÿธ] wget --no-verbose --progress=dot:giga -O /home/red/Codes_of_pro/ai_light_brain/misc/build/cache/tools/oras/oras_0.16.0_linux_amd64.tar.gz.tmp https://ghproxy.com/https://github.com/oras-project/oras/releases
/download/v0.16.0/oras_0.16.0_linux_amd64.tar.gz
2023-10-06 09:43:10 URL:https://ghproxy.com/https://github.com/oras-project/oras/releases/download/v0.16.0/oras_0.16.0_linux_amd64.tar.gz [3377400/3377400] -> "/home/red/Codes_of_pro/ai_light_brain/misc/build/cac
he/tools/oras/oras_0.16.0_linux_amd64.tar.gz.tmp" [1]
[๐Ÿธ] mv /home/red/Codes_of_pro/ai_light_brain/misc/build/cache/tools/oras/oras_0.16.0_linux_amd64.tar.gz.tmp /home/red/Codes_of_pro/ai_light_brain/misc/build/cache/tools/oras/oras_0.16.0_linux_amd64.tar.gz
[๐Ÿธ] tar -xf /home/red/Codes_of_pro/ai_light_brain/misc/build/cache/tools/oras/oras_0.16.0_linux_amd64.tar.gz -C /home/red/Codes_of_pro/ai_light_brain/misc/build/cache/tools/oras oras

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

View the full article

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

ร—
ร—
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines