about summary refs log tree commit diff
path: root/views/kit/README.md
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-01-18T15·33+0300
committertazjin <tazjin@tvl.su>2022-01-19T10·24+0000
commite1146601c117ab398bd85311c8cdfd6ec51a7fa5 (patch)
tree33cff124119ebccb85e36f03a19bc7d7c1eb16b4 /views/kit/README.md
parent14d1ba8311b7f018aea838745935e01a700e7866 (diff)
feat(kit): Export TVL kit as a josh workspace r/3632
This creates a josh workspace called `views/kit` which exports all
dependencies needed by external users of the TVL kit.

The intention of this is to have a single clonable "virtual repo"
which provides everything needed to run a system like TVL, but without
the projects that we develop *in* TVL.

Right now this is limited to the basic Nix code (readTree, pipeline
generation) and things required for Gerrit integration.

The workspace maps depot paths into slightly different (simpler)
locations inside the exported view, to avoid a nested, mostly empty
structure.

Note: This is not an "external API" or some such of depot, it is
simply a convenience for exporting some of our tooling.

Change-Id: Ied24aaef117fc2e0c188ec742ae7cd993a5babd3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4991
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'views/kit/README.md')
-rw-r--r--views/kit/README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/views/kit/README.md b/views/kit/README.md
new file mode 100644
index 0000000000..9fb32efb4b
--- /dev/null
+++ b/views/kit/README.md
@@ -0,0 +1,22 @@
+The TVL Kit
+===========
+
+This folder contains a publicly available version of the core TVL
+tooling, currently comprising of:
+
+* `buildkite`: TVL tooling for dynamically generating Buildkite
+  pipelines with Nix.
+* `buildGo`: Nix-based build system for Go.
+* `readTree`: Nix library to dynamically compute attribute trees
+  corresponding to the physical layout of a repository.
+* `besadii`: Configurable Gerrit/Buildkite integration hook.
+
+It can be accessed via git by cloning it as such:
+
+    git clone https://code.tvl.fyi/depot.git:workspace=views/kit.git tvl-kit
+
+If you are looking at this within the TVL depot, you can see the
+[josh][] configuration in `workspace.josh`. You will find the projects
+at slightly different paths within the depot.
+
+[josh]: https://github.com/josh-project/josh/