!UUYziobKGGxpovWyAN:nixos.org

Robotnix

205 Members
Build Android (AOSP) using Nix | https://github.com/nix-community/robotnix65 Servers

Load older messages


SenderMessageTime
12 Feb 2025
@atemu12:matrix.orgAtemuThere's a doc on local mirroring08:06:54
@atemu12:matrix.orgAtemuI don't remember the exact env var name08:07:08
@atemu12:matrix.orgAtemuYou can just use a remote mirror instead08:07:32
@waltmck:matrix.orgwaltmckfound it08:07:32
@waltmck:matrix.orgwaltmck

okay, I followed the instructions to set a local git mirror at /cache/mirror and but got the following error:

subprocess.CalledProcessError: Command '['git', 'ls-remote', '/cache/mirror/platform/external/android-key-attestation']' returned non-zero exit status 128.

This also fails from the command line, sine it is the wrong location: the correct location is /cache/mirror/external/android-key-attestation. I tried moving /cache/mirror to /cache/mirror/platform so that it would find the correct location, but then it fails with

subprocess.CalledProcessError: Command '['git', 'ls-remote', '/cache/mirror/device/generic/goldfish-opengl']' returned non-zero exit status 128

It seems like it is looking in the wrong location for external/*, any idea what the reason for this could be?

21:09:36
@waltmck:matrix.orgwaltmck BTW this error happens even before I add my device to supported_devices, so I don't think it's particular to that 21:11:15
@waltmck:matrix.orgwaltmck *

okay, I followed the instructions to set a local git mirror at /cache/mirror and but got the following error:

subprocess.CalledProcessError: Command '['git', 'ls-remote', '/cache/mirror/platform/external/android-key-attestation']' returned non-zero exit status 128.

This also fails from the command line, since it is the wrong location: the correct location is /cache/mirror/external/android-key-attestation. I tried moving /cache/mirror to /cache/mirror/platform so that it would find the correct location, but then it fails with

subprocess.CalledProcessError: Command '['git', 'ls-remote', '/cache/mirror/device/generic/goldfish-opengl']' returned non-zero exit status 128

It seems like it is looking in the wrong location for external/*, any idea what the reason for this could be?

21:12:18
@atemu12:matrix.orgAtemuWait, you actually set up a mirror?22:04:09
@atemu12:matrix.orgAtemuAs in the full 1.4TiB?22:04:26
@atemu12:matrix.orgAtemuWhat I meant was to use the github mirror22:04:49
@atemu12:matrix.orgAtemuThough thinking about it again, it has a different structure because it can't do sub-paths, only owner/repo22:05:49
@waltmck:matrix.orgwaltmck It's only 126GB. I followed these instructions 22:28:21
@atemu12:matrix.orgAtemuThat's just a local checkout22:29:04
@atemu12:matrix.orgAtemuThe full mirror has separate instructions and is enormous22:29:29
@waltmck:matrix.orgwaltmck your documentation calls it a local mirror, but sure I see 22:29:40
@atemu12:matrix.orgAtemuOh neat Google removed the instructions on how to set up your own mirror22:31:03
@waltmck:matrix.orgwaltmckso you're saying issue would apply to a github mirror as well?22:31:12
@atemu12:matrix.orgAtemuThat's always great to see22:31:13
@atemu12:matrix.orgAtemuIt'd be a different kind of issue22:31:32
@atemu12:matrix.orgAtemuThough perhaps it could be worked around in the mirror handling code?22:31:55
@atemu12:matrix.orgAtemuUnless you have a full mirror, waiting for google to like you again and then not doing it quite as hard is your best bet22:32:46
@atemu12:matrix.orgAtemuAn exponential backoff retry mechanism would be great but I wouldn't put too much effort into the updaters, given that a replacement is in the works22:34:05
@atemu12:matrix.orgAtemu * 22:34:20
@waltmck:matrix.orgwaltmckHave you been blacklisted by google's servers before? how long did you have to wait?22:35:10
@atemu12:matrix.orgAtemuYes and only a few hours I think22:35:32
@waltmck:matrix.orgwaltmckI tried after 8 hours again with 1 thread and it still didn't work22:35:46
@atemu12:matrix.orgAtemuYou should be good to try right about now22:35:46
@atemu12:matrix.orgAtemuHm22:35:55
@waltmck:matrix.orgwaltmcksure, I'll try again now. It's been about 4-5 hours since my last try22:36:01
@atemu12:matrix.orgAtemuWell as I said, your guess is as good as mine22:36:15

Show newer messages


Back to Room ListRoom Version: 6