depot/tvix/store/protos, branch refs/r/6947 monorepo for the virus lounge http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F6947 2023-10-22T17:04:37+00:00 feat(tvix/store/protos): add CA field 2023-10-22T17:04:37+00:00 Florian Klink flokli@flokli.de 2023-10-19T12:50:05+00:00 urn:sha1:833957b3749d4d31ccb7aeb96a8fb25ebb931e67 This adds support to represent the `CA` field found in some .narinfo files. As `deriver`, it's also a subfield of the `narinfo` field. Extending nix-compat with a more accessible data structure that can take care of formatting, as well as writing validation functions in Rust + Golang, and integrating it into nar-bridge is something for a followup CL. Change-Id: I71e9c30957bcd03051a491aa54d7baac25b6dd2d Reviewed-on: https://cl.tvl.fyi/c/depot/+/9795 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com> refactor(tvix/store): move deriver field into narinfo submessage 2023-10-22T17:04:37+00:00 Florian Klink flokli@flokli.de 2023-10-17T22:27:37+00:00 urn:sha1:9118dc8a5056ad0cdb91a0688f50ac5d6e28a1ec This information is present in the .narinfo files, it should have gone there. Change-Id: Ib43d0cf30c2795bf1fe77c46646174353ade0458 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9794 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI chore(tvix/store-go): rename go module 2023-10-17T20:36:36+00:00 Florian Klink flokli@flokli.de 2023-10-17T20:30:29+00:00 urn:sha1:2d51da7f40e85b9411642e4c65efb23a9a0c4255 `code.tvl.fyi/tvix/store/protos` now points to a directory that only contains the `.proto` files, while all golang tooling and .pb.go files live in tvix/store-go. As discussed in https://cl.tvl.fyi/c/depot/+/9787/comment/fc5d155c_1bd38e3a/, the amount of people currently using this is still small, so rename the go.mod now, while it doesn't yet hurt. Also, use code.tvl.fyi/tvix/castore-go instead of code.tvl.fyi/tvix/ castore/protos, to make use of cl/9791. Change-Id: I9ea89957d7c29dfae4c893b9aae8ac8a0bad2d8e Reviewed-on: https://cl.tvl.fyi/c/depot/+/9792 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com> chore(tvix): move store golang bindings to tvix/store-go 2023-10-17T19:51:24+00:00 Florian Klink flokli@flokli.de 2023-10-17T12:42:58+00:00 urn:sha1:1b26bf21e3305232b9bbdc928a063da9be9eaee0 Similar to the castore-go CL before, this also updates the store-go bindings to the new layout. Change-Id: Id73d7ad43f7d70171ab021728e303300c5db71f0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9788 Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com> feat(tvix/store/protos): use Validate() function on root node 2023-10-14T14:21:32+00:00 Florian Klink flokli@flokli.de 2023-10-12T23:16:08+00:00 urn:sha1:786b0324a9df1a63606bae72011978fc415f6f07 This updates the code to make use of the new Validate() function defined on a Node. Change-Id: I9b6ed694661f41e700f19cc78d53d2224b61852d Reviewed-on: https://cl.tvl.fyi/c/depot/+/9718 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: tazjin <tazjin@tvl.su> feat(tvix/store/protos): add Deriver field to PathInfo 2023-10-14T13:23:07+00:00 Florian Klink flokli@flokli.de 2023-10-10T22:22:40+00:00 urn:sha1:2d2c4322d93308ddffe1647466abd91025af6a68 This uses the newly introduced StorePath message type to add a Deriver field to the PathInfo message. Support for validation is added to both the golang and rust implementation. This includes extending unit tests. Change-Id: Ifc3eb3263fa25b9eec260db354cd74234c40af7e Reviewed-on: https://cl.tvl.fyi/c/depot/+/9647 Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI feat(tvix/store/protos): add StorePath message 2023-10-14T13:23:07+00:00 Florian Klink flokli@flokli.de 2023-10-10T21:06:42+00:00 urn:sha1:5f8eb4eeaaad31aedc45efee3143e6b0bbc982a4 This encodes a store path a bit more concise, which is used in the Deriver field. Change-Id: Ibfb54d3b206917e51970d1d5fe94fcedb901704b Reviewed-on: https://cl.tvl.fyi/c/depot/+/9646 Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI refactor(tvix/store/protos): remove unused mustBlobDigest function 2023-10-13T14:43:26+00:00 Florian Klink flokli@flokli.de 2023-10-12T23:18:13+00:00 urn:sha1:64beaab16338518b016a151196b8305604ec0764 Change-Id: I79a73de0cb06abcf16a6579ae298876004ab0ba8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9719 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Connor Brewster <cbrewster@hey.com> feat(tvix/store/protos): validate NarSha256 2023-10-11T15:29:08+00:00 Florian Klink flokli@flokli.de 2023-10-11T11:08:29+00:00 urn:sha1:8ced43f3c79d61c91c88ad86b8f7b801b94d93f3 Change-Id: I016d1b020b04850f0dca68c2ea96643230dada10 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9649 Reviewed-by: Brian McGee <brian@bmcgee.ie> Tested-by: BuildkiteCI docs(tvix/store/protos): explain a bit more what we're doing 2023-10-11T11:43:29+00:00 Florian Klink flokli@flokli.de 2023-10-10T21:03:47+00:00 urn:sha1:fb04645b0d6242b1f75da0b2d20d3371a7a9be51 Explain a bit better what we do in the codeblock below, and add a newline to make it clear we don't just document the first branch. Change-Id: Ifb142d9984e6d2cbca648525c10298f2fcbdfedf Reviewed-on: https://cl.tvl.fyi/c/depot/+/9645 Tested-by: BuildkiteCI Reviewed-by: Brian McGee <brian@bmcgee.ie> Autosubmit: flokli <flokli@flokli.de>
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<feed xmlns="http://www.w3.org/2005/Atom">
<title>depot/tvix/store/protos, branch refs/r/6947</title>
<subtitle>monorepo for the virus lounge</subtitle>
<id>http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F6947</id>
<link rel="self" href="http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F6947"/>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/"/>
<updated>2023-10-22T17:04:37+00:00</updated>
<entry>
<title>feat(tvix/store/protos): add CA field</title>
<updated>2023-10-22T17:04:37+00:00</updated>
<author>
<name>Florian Klink</name>
<email>flokli@flokli.de</email>
</author>
<published>2023-10-19T12:50:05+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=833957b3749d4d31ccb7aeb96a8fb25ebb931e67"/>
<id>urn:sha1:833957b3749d4d31ccb7aeb96a8fb25ebb931e67</id>
<content type="text"> This adds support to represent the `CA` field found in some .narinfo files. As `deriver`, it's also a subfield of the `narinfo` field. Extending nix-compat with a more accessible data structure that can take care of formatting, as well as writing validation functions in Rust + Golang, and integrating it into nar-bridge is something for a followup CL. Change-Id: I71e9c30957bcd03051a491aa54d7baac25b6dd2d Reviewed-on: https://cl.tvl.fyi/c/depot/+/9795 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com> </content>
</entry>
<entry>
<title>refactor(tvix/store): move deriver field into narinfo submessage</title>
<updated>2023-10-22T17:04:37+00:00</updated>
<author>
<name>Florian Klink</name>
<email>flokli@flokli.de</email>
</author>
<published>2023-10-17T22:27:37+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=9118dc8a5056ad0cdb91a0688f50ac5d6e28a1ec"/>
<id>urn:sha1:9118dc8a5056ad0cdb91a0688f50ac5d6e28a1ec</id>
<content type="text"> This information is present in the .narinfo files, it should have gone there. Change-Id: Ib43d0cf30c2795bf1fe77c46646174353ade0458 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9794 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI </content>
</entry>
<entry>
<title>chore(tvix/store-go): rename go module</title>
<updated>2023-10-17T20:36:36+00:00</updated>
<author>
<name>Florian Klink</name>
<email>flokli@flokli.de</email>
</author>
<published>2023-10-17T20:30:29+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=2d51da7f40e85b9411642e4c65efb23a9a0c4255"/>
<id>urn:sha1:2d51da7f40e85b9411642e4c65efb23a9a0c4255</id>
<content type="text"> `code.tvl.fyi/tvix/store/protos` now points to a directory that only contains the `.proto` files, while all golang tooling and .pb.go files live in tvix/store-go. As discussed in https://cl.tvl.fyi/c/depot/+/9787/comment/fc5d155c_1bd38e3a/, the amount of people currently using this is still small, so rename the go.mod now, while it doesn't yet hurt. Also, use code.tvl.fyi/tvix/castore-go instead of code.tvl.fyi/tvix/ castore/protos, to make use of cl/9791. Change-Id: I9ea89957d7c29dfae4c893b9aae8ac8a0bad2d8e Reviewed-on: https://cl.tvl.fyi/c/depot/+/9792 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com> </content>
</entry>
<entry>
<title>chore(tvix): move store golang bindings to tvix/store-go</title>
<updated>2023-10-17T19:51:24+00:00</updated>
<author>
<name>Florian Klink</name>
<email>flokli@flokli.de</email>
</author>
<published>2023-10-17T12:42:58+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=1b26bf21e3305232b9bbdc928a063da9be9eaee0"/>
<id>urn:sha1:1b26bf21e3305232b9bbdc928a063da9be9eaee0</id>
<content type="text"> Similar to the castore-go CL before, this also updates the store-go bindings to the new layout. Change-Id: Id73d7ad43f7d70171ab021728e303300c5db71f0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9788 Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com> </content>
</entry>
<entry>
<title>feat(tvix/store/protos): use Validate() function on root node</title>
<updated>2023-10-14T14:21:32+00:00</updated>
<author>
<name>Florian Klink</name>
<email>flokli@flokli.de</email>
</author>
<published>2023-10-12T23:16:08+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=786b0324a9df1a63606bae72011978fc415f6f07"/>
<id>urn:sha1:786b0324a9df1a63606bae72011978fc415f6f07</id>
<content type="text"> This updates the code to make use of the new Validate() function defined on a Node. Change-Id: I9b6ed694661f41e700f19cc78d53d2224b61852d Reviewed-on: https://cl.tvl.fyi/c/depot/+/9718 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: tazjin <tazjin@tvl.su> </content>
</entry>
<entry>
<title>feat(tvix/store/protos): add Deriver field to PathInfo</title>
<updated>2023-10-14T13:23:07+00:00</updated>
<author>
<name>Florian Klink</name>
<email>flokli@flokli.de</email>
</author>
<published>2023-10-10T22:22:40+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=2d2c4322d93308ddffe1647466abd91025af6a68"/>
<id>urn:sha1:2d2c4322d93308ddffe1647466abd91025af6a68</id>
<content type="text"> This uses the newly introduced StorePath message type to add a Deriver field to the PathInfo message. Support for validation is added to both the golang and rust implementation. This includes extending unit tests. Change-Id: Ifc3eb3263fa25b9eec260db354cd74234c40af7e Reviewed-on: https://cl.tvl.fyi/c/depot/+/9647 Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI </content>
</entry>
<entry>
<title>feat(tvix/store/protos): add StorePath message</title>
<updated>2023-10-14T13:23:07+00:00</updated>
<author>
<name>Florian Klink</name>
<email>flokli@flokli.de</email>
</author>
<published>2023-10-10T21:06:42+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=5f8eb4eeaaad31aedc45efee3143e6b0bbc982a4"/>
<id>urn:sha1:5f8eb4eeaaad31aedc45efee3143e6b0bbc982a4</id>
<content type="text"> This encodes a store path a bit more concise, which is used in the Deriver field. Change-Id: Ibfb54d3b206917e51970d1d5fe94fcedb901704b Reviewed-on: https://cl.tvl.fyi/c/depot/+/9646 Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI </content>
</entry>
<entry>
<title>refactor(tvix/store/protos): remove unused mustBlobDigest function</title>
<updated>2023-10-13T14:43:26+00:00</updated>
<author>
<name>Florian Klink</name>
<email>flokli@flokli.de</email>
</author>
<published>2023-10-12T23:18:13+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=64beaab16338518b016a151196b8305604ec0764"/>
<id>urn:sha1:64beaab16338518b016a151196b8305604ec0764</id>
<content type="text"> Change-Id: I79a73de0cb06abcf16a6579ae298876004ab0ba8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9719 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Connor Brewster <cbrewster@hey.com> </content>
</entry>
<entry>
<title>feat(tvix/store/protos): validate NarSha256</title>
<updated>2023-10-11T15:29:08+00:00</updated>
<author>
<name>Florian Klink</name>
<email>flokli@flokli.de</email>
</author>
<published>2023-10-11T11:08:29+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=8ced43f3c79d61c91c88ad86b8f7b801b94d93f3"/>
<id>urn:sha1:8ced43f3c79d61c91c88ad86b8f7b801b94d93f3</id>
<content type="text"> Change-Id: I016d1b020b04850f0dca68c2ea96643230dada10 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9649 Reviewed-by: Brian McGee <brian@bmcgee.ie> Tested-by: BuildkiteCI </content>
</entry>
<entry>
<title>docs(tvix/store/protos): explain a bit more what we're doing</title>
<updated>2023-10-11T11:43:29+00:00</updated>
<author>
<name>Florian Klink</name>
<email>flokli@flokli.de</email>
</author>
<published>2023-10-10T21:03:47+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=fb04645b0d6242b1f75da0b2d20d3371a7a9be51"/>
<id>urn:sha1:fb04645b0d6242b1f75da0b2d20d3371a7a9be51</id>
<content type="text"> Explain a bit better what we do in the codeblock below, and add a newline to make it clear we don't just document the first branch. Change-Id: Ifb142d9984e6d2cbca648525c10298f2fcbdfedf Reviewed-on: https://cl.tvl.fyi/c/depot/+/9645 Tested-by: BuildkiteCI Reviewed-by: Brian McGee <brian@bmcgee.ie> Autosubmit: flokli <flokli@flokli.de> </content>
</entry>
</feed>