snix/third_party/nix/src/libstore
Vincent Ambo 19e874a985 feat(tvix): Introduce build event streams in worker protocol
Introduces a new `BuildEvent` proto type which is streamed in response
to calls that trigger builds of derivations.

This type can currently supply build statuses, log lines and
information about builds starting.

This is in preparation for threading build logs through the processes.

Since we have nowhere to send the logs (yet), a null sink is used
instead.

Co-authored-by: Griffin Smith <grfn@gws.fyi>
Change-Id: If7332337b89506c7e404cd20174acdaa1a3be4e8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1793
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Reviewed-by: kanepyork <rikingcoding@gmail.com>
2020-08-20 11:48:40 +00:00
..
builtins fix(3p/nix): Use SkipEmpty in all calls to absl::StrSplit 2020-08-06 20:50:47 +00:00
binary-cache-store.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
binary-cache-store.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
build.cc refactor(tvix): Make Store::buildPaths return a Status 2020-08-14 03:06:46 +00:00
builtins.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
CMakeLists.txt feat(3p/nix): add MockBinaryCacheStore 2020-08-05 04:11:57 +00:00
crypto.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
crypto.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
derivations.cc feat(tvix): Implement all remaining RPC calls 2020-08-09 02:22:44 +00:00
derivations.hh feat(tvix): Implement all remaining RPC calls 2020-08-09 02:22:44 +00:00
download.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
download.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
export-import.cc refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
fs-accessor.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
gc.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
globals.cc fix(tvix/config): properly handle nonexistent config files 2020-08-18 12:05:41 +00:00
globals.hh chore(tvix): Disable sandboxing by default until its time comes 2020-08-06 02:20:36 +00:00
http-binary-cache-store.cc refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
legacy-ssh-store.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
local-binary-cache-store.cc refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
local-fs-store.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
local-store.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
local-store.hh refactor(tvix): Make Store::buildPaths return a Status 2020-08-14 03:06:46 +00:00
machines.cc fix(3p/nix): Use SkipEmpty in all calls to absl::StrSplit 2020-08-06 20:50:47 +00:00
machines.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
misc.cc refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
mock-binary-cache-store.cc feat(3p/nix): add MockBinaryCacheStore 2020-08-05 04:11:57 +00:00
mock-binary-cache-store.hh feat(3p/nix): add MockBinaryCacheStore 2020-08-05 04:11:57 +00:00
nar-accessor.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
nar-accessor.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nar-info-disk-cache.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
nar-info-disk-cache.hh fix(3p/nix): Fix all remaining compiler warnings 2020-07-19 22:00:59 +00:00
nar-info.cc fix(3p/nix): Use SkipEmpty in all calls to absl::StrSplit 2020-08-06 20:50:47 +00:00
nar-info.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
nix-store.pc.in feat(3p/nix): install pkgconfig files for libexpr, libmain and libstore 2020-06-21 20:42:28 +00:00
optimise-store.cc fix(3p/nix): revert "apply all clang-tidy fixes" 2020-08-01 22:45:15 +00:00
parsed-derivations.cc fix(3p/nix): Use SkipEmpty in all calls to absl::StrSplit 2020-08-06 20:50:47 +00:00
parsed-derivations.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
pathlocks.cc fix(3p/nix): revert "apply all clang-tidy fixes" 2020-08-01 22:45:15 +00:00
pathlocks.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
profiles.cc fix(3p/nix): revert "apply all clang-tidy fixes" 2020-08-01 22:45:15 +00:00
profiles.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
references.cc fix(tvix): Partially revert "eliminate exposed global variable" 2020-08-04 22:49:56 +00:00
references.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
remote-fs-accessor.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
remote-fs-accessor.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
remote-store.cc refactor(tvix): Make Store::buildPaths return a Status 2020-08-14 03:06:46 +00:00
remote-store.hh refactor(tvix): Make Store::buildPaths return a Status 2020-08-14 03:06:46 +00:00
rpc-store.cc feat(tvix): Introduce build event streams in worker protocol 2020-08-20 11:48:40 +00:00
rpc-store.hh refactor(tvix): Make Store::buildPaths return a Status 2020-08-14 03:06:46 +00:00
s3-binary-cache-store.cc refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
s3-binary-cache-store.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
s3.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
sandbox-defaults.sb Add 'third_party/nix/' from commit 'be66c7a6b24e3c3c6157fd37b86c7203d14acf10' 2020-05-17 15:52:38 +01:00
sandbox-minimal.sb Add 'third_party/nix/' from commit 'be66c7a6b24e3c3c6157fd37b86c7203d14acf10' 2020-05-17 15:52:38 +01:00
sandbox-network.sb Add 'third_party/nix/' from commit 'be66c7a6b24e3c3c6157fd37b86c7203d14acf10' 2020-05-17 15:52:38 +01:00
schema.sql Add 'third_party/nix/' from commit 'be66c7a6b24e3c3c6157fd37b86c7203d14acf10' 2020-05-17 15:52:38 +01:00
serve-protocol.hh style(3p/nix): Reformat project in Google C++ style 2020-05-17 16:31:57 +01:00
sqlite.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
sqlite.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
ssh-store.cc feat(3p/nix): Add main function for grpc daemon 2020-07-25 20:11:41 +00:00
ssh.cc chore(3p/nix): apply google-readability-casting 2020-08-08 22:16:02 +00:00
ssh.hh refactor(3p/nix): Anchor local includes at src/ 2020-05-27 21:56:34 +01:00
store-api.cc feat(tvix): Introduce build event streams in worker protocol 2020-08-20 11:48:40 +00:00
store-api.hh feat(tvix): Introduce build event streams in worker protocol 2020-08-20 11:48:40 +00:00
worker-protocol.hh refactor(3p/nix/libexpr): Back Nix lists with std::vector 2020-07-18 18:08:42 +00:00