Commit Graph
11 Commits
Author SHA1 Message Date
Richard Levitte 589d510bc3 Fix a typo in 0004-general-uri-scheme/data/test/uri-scheme-tester.sh
TMPDIR → TMP, and move its creation to be before its use
2026-05-05 06:19:43 +02:00
43301b47e5 RIP 4: URI Scheme
Building on the work that Lorenz Leutgeb did in patch
rad:z3trNYnLWS11cJWC6BbxDs5niGo82/patch/19ba16634fbde97156255ed97069d0aa3ab2bf12,
the URI scheme is brought to a final RIP document, with full ABNF and Nearley
grammars as well as examples, and a couple of scripts to extract and test those
grammars against those examples.

Compared to the URL scheme in RIP 3, this RIP brings a subtly different URL form,
while also supporting the RIP 3 scheme (now considered legacy).  In short, these
two forms are supported by this RIP:

- rad://{rid}/{nid}                             (considered legacy)
- rad://{rad-auth}/{rid}[/{namespace}][/{resource-type-and-identifier}]

(rad-auth is the authority part, which can take the form of {nid}@{host-and-port}
or parts thereof)

This works, because the {rid} and the {nid} are distinguishable, as a {nid} always
starts with z6Mk, while a {rid} does start with a z, but never with z6Mk, and they
have different lengths (a {rid} is always 28 or 29 characters long, which a {nid}
is always 48 characters long).

Co-authored-by: Fintan Halpenny <fintan.halpenn@gmail.com>
Co-authored-by: Lorenz Leutgeb <lorenz.leutgeb@radicle.dev>
2026-05-04 22:40:28 +02:00
Fintan Halpenny 7e993a9bec RIP 3: correct broken anchor references 2026-04-25 16:33:40 +02:00
Fintan Halpenny 42f20903f0 nix: Introduce flake.nix
Introduces a minimum flake.nix that includes asciidoctor.
2026-04-25 14:34:39 +01:00
Alexis Sellier 329dee9a4b Edits to RIP #3 2023-05-06 17:09:50 +02:00
Alexis Sellier 361c877be8 Add RIP #3 draft 2023-05-06 16:56:46 +02:00
Alexis Sellier 4fb5256eed RIP 1: Improvements to diagram 2023-04-03 12:29:15 +02:00
Alexis Sellier 1c40211698 Add RIP #2 draft
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-12-31 11:57:12 +01:00
Alexis Sellier a2107ee188 RIP 1: Various edits and additions 2022-12-02 21:02:18 +01:00
Alexis Sellier 8cd1561688 Add RIP #1 draft 2022-10-19 13:45:31 +02:00
Alexis Sellier 549e036b96 Initial commit 2022-09-06 13:45:04 +02:00