scripts/dl_github_archive.py: rename from download.py
authorYousong Zhou <yszhou4tech@gmail.com>
Thu, 28 Jun 2018 10:27:27 +0000 (18:27 +0800)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:32:19 +0000 (17:32 +0100)
commit376a3eb76d24f6176d4100e363444cd2aadf2945
tree35a9852d9e94bc66a352f73b1120280f5ed16142
parent2bd41b3eeb762c32c94f6b63b62f8b7f78379fff
scripts/dl_github_archive.py: rename from download.py

 - Make the code more GitHub-specific
 - Requires mirror hash to work with .gitattributes
 - Use different API depending on whether PKG_SOURCE_VERSION is a
   complete commit id or other ref types like tags
 - Fix removing symbolic link
 - pre-clean dir_untar for possible leftovers from previous run

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(backported from 04b9f8587370f96366c6e53fb411473279ba7c02)
include/download.mk
scripts/dl_github_archive.py [new file with mode: 0755]
scripts/download.py [deleted file]