!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

You have reached the beginning of time (for this room).


SenderMessageTime
5 Jun 2024
@samueldr:matrix.org@samueldr:matrix.orgoverall, remember that Nix trusts you when you tell it what the hash of a thing is06:15:02
@erahhal:matrix.orgerahhalI pulled down the LFS repo, then realized I don't know what I should be hashing06:15:25
@erahhal:matrix.orgerahhalNo idea how to get the hash for an LFS repo06:15:36
@erahhal:matrix.orgerahhalBetter yet, how should the update_device_dirs.py script know that a repo has LFS files? I guess that would be specifically flagged similar to other devices with special cases?06:19:39
@erahhal:matrix.orgerahhal Did the old trick of corrupting the hash to see what Nix would expect, and it still wants to old hash despite fetchLFS being true. 06:24:21
@samueldr:matrix.org@samueldr:matrix.orgthe "old trick" is "TOFU"; trust on first use06:24:52
@samueldr:matrix.org@samueldr:matrix.organd yeah06:24:56
@samueldr:matrix.org@samueldr:matrix.orgthough I guess you need something else06:25:09
@samueldr:matrix.org@samueldr:matrix.org(haven't touched robotnix in a while)06:25:14
@erahhal:matrix.orgerahhal
In reply to @samueldr:matrix.org
the "old trick" is "TOFU"; trust on first use
Learned a new term
06:25:34
@samueldr:matrix.org@samueldr:matrix.orgit's the name of the pattern like with SSH where you are asked to "trust on first use" [though you should also check really]06:26:19
@samueldr:matrix.org@samueldr:matrix.orgT&COFU doesn't have a good sound to it06:26:32
@erahhal:matrix.orgerahhalSo to be clear, even if the hash is changed, it will ignore the updated properties until it finds a new matching hash?06:28:18
@erahhal:matrix.orgerahhalotherwise erroring out and ignoring the props06:28:40
@samueldr:matrix.org@samueldr:matrix.orgit would have tried to fetch the thing, however it's configured to fetch06:32:45
@samueldr:matrix.org@samueldr:matrix.orgso it sounds like, from our back and forth, that what youdid is not proper for it to fetch the LFS bits06:33:05
@samueldr:matrix.org@samueldr:matrix.orgthough sorry, gotta go06:33:22
@erahhal:matrix.orgerahhalyeah definitely, digging into it.06:36:26
@erahhal:matrix.orgerahhalThanks for your help06:36:29
@erahhal:matrix.orgerahhalPerhaps this is why the google stuff was in gitlab for lineage 206:39:53
@erahhal:matrix.orgerahhal * Perhaps this is why the google stuff was in gitlab for lineage 2906:39:55
@erahhal:matrix.orgerahhal * Perhaps this is why the google stuff was in gitlab for lineage 2006:39:58
@atemu12:matrix.orgAtemu
In reply to @erahhal:matrix.org
Sorry for spamming here. Please let me know if my level of messaging is inappropriate.
Nah, 101% on topic
07:00:52
@atemu12:matrix.orgAtemu
In reply to @erahhal:matrix.org
Manually updated the vendor.json entry for cheetah setting fetchLFS to true to no effect. digging into why this is not working.
eyJhb implemented LFS support somewhereat some point. Make sure it's used
07:02:03
@eyjhb:eyjhb.dkeyJhbhttps://github.com/nix-community/robotnix/pull/22807:02:26
@atemu12:matrix.orgAtemu
In reply to @erahhal:matrix.org
Better yet, how should the update_device_dirs.py script know that a repo has LFS files? I guess that would be specifically flagged similar to other devices with special cases?
I see no reason to attempt to fetch without LFS honestly
07:02:53
@eyjhb:eyjhb.dkeyJhbI think it fixes a bunch of smaller bugs.07:03:06

Show newer messages


Back to Room ListRoom Version: 6