No description
  • Zig 78.3%
  • PLpgSQL 10.1%
  • Shell 5%
  • Python 3.8%
  • C 1.3%
  • Other 1.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-04 22:50:04 +02:00
benchmarks wow 2026-10-04 22:50:04 +02:00
deploy/samba first commit 2026-09-05 23:28:04 +02:00
docs wow 2026-10-04 22:50:04 +02:00
migrations wow 2026-10-04 22:50:04 +02:00
ops wow 2026-10-04 22:50:04 +02:00
patches wow 2026-10-04 22:50:04 +02:00
specs wow 2026-10-04 22:50:04 +02:00
src wow 2026-10-04 22:50:04 +02:00
tests wow 2026-10-04 22:50:04 +02:00
tools wow 2026-10-04 22:50:04 +02:00
.dockerignore first commit 2026-09-05 23:28:04 +02:00
.env.example wow 2026-10-04 22:50:04 +02:00
.gitignore first commit 2026-09-05 23:28:04 +02:00
AGENTS.md Document commercial remediation scope and comment-free source inspection 2026-10-01 23:23:46 +02:00
build.zig wow 2026-10-04 22:50:04 +02:00
build.zig.zon wow 2026-10-04 22:50:04 +02:00
compose.production.yaml wow 2026-10-04 22:50:04 +02:00
Dockerfile wow 2026-10-04 22:50:04 +02:00
plan.md wow 2026-10-04 22:50:04 +02:00
README.md first commit 2026-09-05 23:28:04 +02:00
SPECS.md first commit 2026-09-05 23:28:04 +02:00

LibreGraph Drive backend

Backend de stockage multi-tenant en Zig, ciblant Drive v3, l'OpenAPI LibreGraph, TUS et OCM/ScienceMesh. Le service n'expose aucune couche de compatibilité Nextcloud.

Le compilateur est épinglé à 0.17.0-dev.1552+79dc16a0e. Le pilote PostgreSQL provient directement du paquet amont pg.zig; son adaptation au snapshot Zig est appliquée dans une vue de build générée, sans modifier ni versionner un répertoire vendor/pg.

Commandes principales :

zig build test
zig build check
zig build -Doptimize=ReleaseSafe check-compile

Le gate check comprend les tests unitaires, KCOV, Valgrind Memcheck et Cachegrind. Les intégrations PostgreSQL, la fédération à deux serveurs et le benchmark HTTP nécessitent les services externes décrits dans docs/operations.md.