!UUYziobKGGxpovWyAN:nixos.org

Robotnix

217 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix71 Servers

Load older messages


SenderMessageTime
9 Feb 2025
@baduhai:beeper.combaduhai changed their display name from William to baduhai.00:09:37
@baduhai:beeper.combaduhai set a profile picture.00:09:52
@tired:fairydust.space@tired:fairydust.space left the room.22:50:18
12 Feb 2025
@waltmck:matrix.orgwaltmck

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:matrix.orgwaltmck *

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:matrix.orgatemu12You're likely being rate-limited07:11:01
@atemu12:matrix.orgatemu12It happens after the 2nd or so time of running mk_repo_file.py07:11:36
@atemu12:matrix.orgatemu12(Against googlesource)07:11:54
@atemu12:matrix.orgatemu12Google is surprisingly strict here07:12:42
@waltmck:matrix.orgwaltmckIt happened on my first time running as well07:12:43
@atemu12:matrix.orgatemu12You could try limiting the parallelism07:13:04
@atemu12:matrix.orgatemu12It's probably hard-coded07:13:18
@atemu12:matrix.orgatemu12You could also try using the github mirror07:13:38
@waltmck:matrix.orgwaltmckit looks like the number of jobs defaults to the number of logical cores from reading the code07:13:57
@atemu12:matrix.orgatemu12I've never done it myself but it ought to be possible using ROBOTNIX_MIRRORS07:14:16
@waltmck:matrix.orgwaltmckI 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 cores07:18:34
@waltmck:matrix.orgwaltmck* 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 default so it works on CPUs with many cores07:18:50
@atemu12:matrix.orgatemu12Sounds like a good idea07:18:56
@waltmck:matrix.orgwaltmck it's line 251 of mk_repo_file.py, just change default=4 or some other small number 07:19:22
@waltmck:matrix.orgwaltmckI can file a PR later for it if that's easier07:19:31
@atemu12:matrix.orgatemu12You probably don't gain anything after a few cores because you become network-bound07:19:46
@atemu12:matrix.orgatemu12Just PR it07:20:00
@waltmck:matrix.orgwaltmckhuh it's still throttling with 4 jobs, just takes longer. I'll try 2.07:33:33
@atemu12:matrix.orgatemu12Well you've already been limited07:34:05
@waltmck:matrix.orgwaltmckah, how long does the cooldown last?07:56:09
@atemu12:matrix.orgatemu12Your guess is as good as mine07:56:42
@waltmck:matrix.orgwaltmckwow that's annoying07:57:52
@waltmck:matrix.orgwaltmcksomeone should let richard stallman know about this07:58:01
@waltmck:matrix.orgwaltmck okay, it is not failing even with only 1 thread. Could you tell me more about this? Searching the repo for ROBOTNIX_MIRRORS doesn't give anything 08:06:30
@waltmck:matrix.orgwaltmck * okay, it is now failing even with only 1 thread. Could you tell me more about this? Searching the repo for ROBOTNIX_MIRRORS doesn't give anything 08:06:38

Show newer messages


Back to Room ListRoom Version: 6