| 12 Feb 2025 |
waltmck | I'm following this process, but whenever I run the script I get an error originating from line 157 of mk_repo_file.py:
subprocess.CalledProcessError: Command '['git', 'ls-remote', 'https://android.googlesource.com/platform/external/rust/crates/regex']' returned non-zero exit status 128.
(the specific repo varies every time I run it). What's strange is that git ls-remotehttps://android.googlesource.com/platform/external/rust/crates/regex works fine. Is this a known issue?
| 07:07:01 |
waltmck | * I'm following this process, but whenever I run the script I get an error originating from line 157 of mk_repo_file.py:
subprocess.CalledProcessError: Command '['git', 'ls-remote', 'https://android.googlesource.com/platform/external/rust/crates/regex']' returned non-zero exit status 128.
(the specific repo varies every time I run it). What's strange is that git ls-remote https://android.googlesource.com/platform/external/rust/crates/regex works fine. Is this a known issue?
| 07:07:16 |
atemu12 | You're likely being rate-limited | 07:11:01 |
atemu12 | It happens after the 2nd or so time of running mk_repo_file.py | 07:11:36 |
atemu12 | (Against googlesource) | 07:11:54 |
atemu12 | Google is surprisingly strict here | 07:12:42 |
waltmck | It happened on my first time running as well | 07:12:43 |
atemu12 | You could try limiting the parallelism | 07:13:04 |
atemu12 | It's probably hard-coded | 07:13:18 |
atemu12 | You could also try using the github mirror | 07:13:38 |
waltmck | it looks like the number of jobs defaults to the number of logical cores from reading the code | 07:13:57 |
atemu12 | I've never done it myself but it ought to be possible using ROBOTNIX_MIRRORS | 07:14:16 |
waltmck | I capped the number of jobs to 4 and it appears to be chugging along, I'll see if it works. Might be smart to adjust the code so it works on CPUs with many cores | 07:18:34 |