- Oct 31, 2021
-
-
Josh Soref authored
This only affects typos in comments or user-facing output. Signed-off-by:
Josh Soref <jsoref@users.noreply.github.com> [only picks changes to scripts, drop "commandline" replacement, fix case for "arbitrary", improve commit message] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
- Nov 04, 2019
-
-
Yousong Zhou authored
Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
- Aug 20, 2019
-
-
Yousong Zhou authored
Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
- Jul 26, 2019
-
-
Petr Štetiar authored
Let's convert the script to Python 3. Signed-off-by:
Petr Štetiar <ynezz@true.cz>
-
- Jul 17, 2018
-
-
Yousong Zhou authored
Closes openwrt/openwrt#1163 Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
- Jul 04, 2018
-
-
Yousong Zhou authored
- 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>
-
- Jun 27, 2018
-
-
Yousong Zhou authored
The previous api [1] includes in its response patch data among other things, as such the response size can vary and be big. Use another api[2] to improve it a bit [1] Get a single commit, Repositories, https://developer.github.com/v3/repos/commits/#get-a-single-commit [2] Git Commits, Git Data, https://developer.github.com/v3/git/commits/#get-a-commit Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-
Yousong Zhou authored
A new python script scripts/download.py is added to fetch tarballs using GitHub archive API [1], then repack in a reproducible way same as the current DownloadMethod/git GitHub imposes a 60 reqs/hour rate limit on unauthenticated API access[2]. This affects fetching commit date for feeding tar --mtime= argument. However, observation indicates that archive download is NOT subject to this limit at the moment. In the rare cases where download fails because of this, we will falback to using DownloadMethod/git The missing piece in the GitHub API is that it cannot provide in the tarball dependent submodules's source code. In that case, the implementation will also fallback to using DownloadMethod/git [1] Get archive link, https://developer.github.com/v3/repos/contents/#get-archive-link [2] Rate limiting, https://developer.github.com/v3/#rate-limiting v2 <- v1: - allow passing multiple urls with --urls argument - add commit ts cache. can be helpful on retry Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com>
-