!CXcIPzDZqFYqqXTaXa:matrix.org

nix-init

57 Members
https://github.com/nix-community/nix-init17 Servers

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


SenderMessageTime
14 Jul 2023
@figsoda:matrix.orgfigsoda i think ill just do something like ${src.rev}-00000000 20:52:24
@kranzes:matrix.org@kranzes:matrix.orgit should just be $version20:52:36
@kranzes:matrix.org@kranzes:matrix.orgall the time20:52:43
@figsoda:matrix.orgfigsodawell we don't know what people are doing with these templates20:53:01
@figsoda:matrix.orgfigsodamaybe they are parsing it (why?)20:53:06
@kranzes:matrix.org@kranzes:matrix.orghttps://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/continuous-integration/gitea-actions-runner/default.nix#L2320:53:21
@kranzes:matrix.org@kranzes:matrix.orgthat's what we got right now anyway20:53:25
@figsoda:matrix.orgfigsodalol20:53:30
@kranzes:matrix.org@kranzes:matrix.orgso pretty similar 20:53:42
@kranzes:matrix.org@kranzes:matrix.org btw hexa check the PR i just made for this 20:54:08
@hexa:lossy.networkhexano need to ping me here as well20:54:21
@kranzes:matrix.org@kranzes:matrix.orgI just saw you were lurking here already lol20:54:35
@figsoda:matrix.orgfigsoda

It is generated by git describe --dirty --always --tags, the format will be {Tag}-$N-{CommitSHA}

20:55:31
@kranzes:matrix.org@kranzes:matrix.orghttps://github.com/nix-community/nix-init/issues/184 is this not just another fetcher?20:55:55
@kranzes:matrix.org@kranzes:matrix.org shouldn't this be in nurl? 20:56:01
@figsoda:matrix.orgfigsodanurl already supports it20:56:08
@figsoda:matrix.orgfigsodabut nix-init doesn't the metadata fetching20:56:18
@figsoda:matrix.orgfigsoda * but nix-init does the metadata fetching20:56:25
@kranzes:matrix.org@kranzes:matrix.orgOh, right20:56:52
@kranzes:matrix.org@kranzes:matrix.orgi see20:56:54
@figsoda:matrix.orgfigsoda I checked the git describe --dirty --always --tags output of a few repositories, looks like parsing it would be super reliable, I think I will just do src.rev, or shorten it if it is a sha 20:58:59
@figsoda:matrix.orgfigsoda * I checked the git describe --dirty --always --tags output of a few repositories, looks like parsing it would be super unreliable, I think I will just do src.rev, or shorten it if it is a sha 20:59:08
@figsoda:matrix.orgfigsodakinda wanna make a full goreleaser parser21:00:36
@figsoda:matrix.orgfigsoda * kinda wanna make a full go templates parser21:00:42
@figsoda:matrix.orgfigsodahmm maybe ill just do src.rev21:06:36
@figsoda:matrix.orgfigsodaidk21:06:41

Show newer messages


Back to Room ListRoom Version: 10