Implement the proto handler on the server side for Worker::BuildDerivation. This includes several additions to the proto which I had missed on the first pass, including the actual proto definition for the Derivation itself and a few sequence number reorderings which are fine because this is all provisional and not deployed yet. A couple things to note - I implemented a couple constructors for nix classes that initialize themselves based on their proto variants, which felt nice and didn't end up causing any issues. - I've made the conversions between the enum types in nix and in proto explicit via switch statements rather than using a static_cast, out of an abundance of caution that the error would get mismatched in the future and we'd convert the wrong thing to the wrong thing - this is verbose, but exceptionally future proof. Change-Id: Iecf6b88e76bc37e49efa05fd65d6cd0cb0deffed Reviewed-on: https://cl.tvl.fyi/c/depot/+/1249 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: Kane York <rikingcoding@gmail.com> |
||
|---|---|---|
| .. | ||
| abseil_cpp | ||
| apereo-cas | ||
| bat_syntaxes | ||
| bufbuild | ||
| cgit | ||
| cpp/googleapis | ||
| emacs | ||
| farmhash | ||
| ffmpeg | ||
| gerrit | ||
| gerrit_plugins | ||
| git | ||
| git-bug | ||
| gitignoreSource | ||
| glog | ||
| gopkgs | ||
| grpc | ||
| gtest | ||
| haskell-language-server | ||
| haskell_overlay | ||
| immer | ||
| kernelPatches/trx40_usb_audio | ||
| lieer | ||
| lisp | ||
| naersk | ||
| nix | ||
| nixery | ||
| notmuch | ||
| nsfv | ||
| openldap | ||
| protobuf | ||
| python/broadlink | ||
| rr | ||
| smtprelay | ||
| telega | ||
| terraform-gcp | ||
| default.nix | ||
| haskell-overlay.nix | ||
| README.md | ||
Third-Party Code
Code under this folder is one of the following:
-
Externally developed dependencies which have been imported ("vendored") into this repository. These dependencies come with their own licenses and whatever else.
-
Code that is developed inside of this repository, but released to an external repository via Copybara.