From dedcc0fe948f3ba4e89a42f80bb595c6a9327b47 Mon Sep 17 00:00:00 2001 From: John Coffey Date: Fri, 18 Sep 2026 10:21:43 -0700 Subject: [PATCH] Move the specs under docs/spec, ahead of the source import --- SPEC.md => docs/spec/SPEC.md | 0 {features => docs/spec/features}/masked-email.md | 0 {features => docs/spec/features}/multi-tenancy.md | 0 {features => docs/spec/features}/undelete.md | 0 tools/fork/README.md | 2 +- tools/fork/strip.py | 4 ++-- 6 files changed, 3 insertions(+), 3 deletions(-) rename SPEC.md => docs/spec/SPEC.md (100%) rename {features => docs/spec/features}/masked-email.md (100%) rename {features => docs/spec/features}/multi-tenancy.md (100%) rename {features => docs/spec/features}/undelete.md (100%) diff --git a/SPEC.md b/docs/spec/SPEC.md similarity index 100% rename from SPEC.md rename to docs/spec/SPEC.md diff --git a/features/masked-email.md b/docs/spec/features/masked-email.md similarity index 100% rename from features/masked-email.md rename to docs/spec/features/masked-email.md diff --git a/features/multi-tenancy.md b/docs/spec/features/multi-tenancy.md similarity index 100% rename from features/multi-tenancy.md rename to docs/spec/features/multi-tenancy.md diff --git a/features/undelete.md b/docs/spec/features/undelete.md similarity index 100% rename from features/undelete.md rename to docs/spec/features/undelete.md diff --git a/tools/fork/README.md b/tools/fork/README.md index f6fbeda..fda0287 100644 --- a/tools/fork/README.md +++ b/tools/fork/README.md @@ -3,7 +3,7 @@ ## strip.py Makes an Enterprise-free snapshot of an upstream release. See the docstring -and SPEC.md §2.2 for what it does and why. +and docs/spec/SPEC.md §2.2 for what it does and why. ```bash git clone https://github.com/stalwartlabs/stalwart.git ~/src/stalwart-upstream # outside this repo diff --git a/tools/fork/strip.py b/tools/fork/strip.py index 595eb74..12b2e6d 100755 --- a/tools/fork/strip.py +++ b/tools/fork/strip.py @@ -6,7 +6,7 @@ Produce an Enterprise-free snapshot of an upstream Stalwart release. tools/fork/strip.py --upstream PATH/TO/stalwart --ref v0.16.22 --out DIR -What it does, in order (SPEC.md §2.2): +What it does, in order (docs/spec/SPEC.md §2.2): 1. Exports the tree at `--ref` with `git archive`. The snapshot never carries upstream's git history, because that history contains the Enterprise code. @@ -31,7 +31,7 @@ What it does, in order (SPEC.md §2.2): Only license markers and Cargo manifests are read for meaning. The code inside an Enterprise file or snippet is never printed, reported or kept, which is what -lets anyone run this outside the clean room (SPEC.md §3). +lets anyone run this outside the clean room (docs/spec/SPEC.md §3). Exit status: 0 clean, 1 verification failed, 2 usage or environment error. """