| 24 Nov 2025 |
helle (just a stray cat girl) | that is a tad cursed | 19:41:20 |
helle (just a stray cat girl) | the docs for it | 19:41:22 |
helle (just a stray cat girl) | https://docs.lix.systems/manual/lix/2.94/language/builtins.html#builtins-fetchTree | 19:41:46 |
helle (just a stray cat girl) | uh, yeah, mention how incomplete they are | 19:41:54 |
helle (just a stray cat girl) | * uh, yeah, mentions how incomplete they are | 19:43:33 |
helle (just a stray cat girl) | this technically is it's own bug independent of all the other doc bugs and should probably exist | 19:43:50 |
goldstein | thanks for the link anyway! | 19:43:51 |
goldstein | I think these docs are similar to nix.dev ones | 19:44:00 |
helle (just a stray cat girl) | that part is still the same, not really been touched | 19:44:12 |
goldstein | e.g. they miss allRefs attr in git fetcher | 19:44:19 |
goldstein | not sure if intentional | 19:44:22 |
helle (just a stray cat girl) | there are a bunch of misses | 19:44:28 |
helle (just a stray cat girl) | I am planning on holding the source to all the builtins, fetchurl was what tripped me, it takes a structured attributes, but doesn't mention that at all there | 19:45:18 |
helle (just a stray cat girl) | also there is a need for a more formal syntax spec | 19:45:28 |
helle (just a stray cat girl) | https://git.lix.systems/lix-project/lix/issues/1048 | 19:45:58 |
goldstein | I would offer to document this part, but unfortunately I don’t understand half the attrs there :(
maybe if I start to understand them after reading this code more for my current project lol | 19:46:05 |
helle (just a stray cat girl) | but fetchTree is it's own cursed bit | 19:46:11 |
goldstein | e.g. rev and revCount are supported for all the fetchers, including file and tarball and path | 19:47:03 |
goldstein | for reasons I do not comprehend | 19:47:07 |
helle (just a stray cat girl) | oh, the reason is very easy | 19:47:18 |
helle (just a stray cat girl) | every fetcher got rewritten to be basically fetchTree in disguise | 19:47:28 |
helle (just a stray cat girl) | I should file a further bug on this..... | 19:47:46 |
helle (just a stray cat girl) | because it leads to some question on if we want to keep that behaviour and how many people are relying on it | 19:48:04 |
helle (just a stray cat girl) | Redacted or Malformed Event | 19:48:34 |
helle (just a stray cat girl) | because while unifying a bunch of the code is useful, having behaviour of flakes leak outside of flakes is suboptimal | 19:49:19 |
goldstein | fetchTree is a cool primitive to have, but flakerefs are kind of a weird format... | 19:49:52 |
helle (just a stray cat girl) | yes, this is the underlying problem and as everything flakey, underdocumented | 19:50:14 |
helle (just a stray cat girl) | there is a reason flakes are being ripped out of core | 19:50:28 |
goldstein | the URL form trips me up so much bc of the meta-query-parameters in what is otherwise HTTP urls | 19:51:18 |
goldstein | very excited for this | 19:51:25 |