Skip to content

Latest commit

 

History

History
 
 

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Enroute documentation

Enroute is a Git server for applications that host code. It serves Git over HTTP, stores repositories in an object store, and gives your application a gRPC API to read and change them. Your application keeps what Enroute does not: users, repository names, permissions, and policy, which Enroute asks for through signed hooks.

Git client -- Git smart HTTP --> Enroute <-- gRPC -------- your application
                                  |   |
                                  |   +-- signed HTTP hooks --> your application
                                  |
                   ledger nodes (replicated logs) + object store (layers)

Start with the Quickstart: Enroute on your machine, a push, and a commit through the API, in about five minutes.

Build on Enroute

You write an application that hosts repositories: a code-hosting product, a CI system, or a platform for coding agents.

  1. Concepts: what your application holds, what Enroute holds, and how a push moves through both.
  2. Build a code-hosting application: a seven-chapter TypeScript tutorial, from an empty project to files, history, and diffs on a page.
  3. Patterns: protected branches, merge requests, merge queues, CI, mirroring, and more, each built on the tutorial's application.
  4. API contract and Hook reference: every RPC and every hook, field by field.

Run Enroute

You deploy and maintain Enroute for an application.

  1. Deployment profiles: one node, one ledger with compute nodes, or a replicated ledger, and what each survives.
  2. Operate Enroute: configuration, storage, security, observability, and the maintenance procedures.
  3. Upgrades and migrations: moving to a new release.
  4. Limitations: what does not work yet.

Understand how it works

You want to know how Enroute stores, replicates, and serves repositories, and how it is tested.

  • Architecture: the storage engine, consensus, the write and read paths, and maintenance, with Jepsen tests for consistency under faults.