diff --git a/.env.example b/.env.example index f89ad14..bb6318d 100644 --- a/.env.example +++ b/.env.example @@ -310,7 +310,7 @@ # # When disabled (default), /prs/* returns 404 and event-acceptance is unchanged. # -# See: https://github.com/DanConwayDev/grasp/blob/main/06.md +# See: https://gitworkshop.dev/danconwaydev.com/grasp/tree/master/06.md # See: docs/explanation/grasp-06-contributor-pr-submission.md # # CLI: --grasp06-enable diff --git a/README.md b/README.md index 08997ad..c537b07 100644 --- a/README.md +++ b/README.md @@ -428,7 +428,7 @@ For development from source: curl -Ls https://ngit.dev/install.sh | bash # Clone the repository -git clone nostr://danconwaydev.com/relay.ngit.dev/ngit-grasp +git clone nostr://danconwaydev.com/ngit-grasp cd ngit-grasp # Build (using Nix for reproducible environment) @@ -770,7 +770,7 @@ MIT License - see [LICENSE](LICENSE) for details ## Sister Projects -- [ngit](https://gitworkshop.dev/danconwaydev.com/ngit) - CLI and Git remote helper for collaborating on repositories over Nostr +- [ngit](https://ngit.dev) - CLI and Git remote helper for collaborating on repositories over Nostr - [ngit-ci](https://gitworkshop.dev/danconwaydev.com/ngit-ci) - Self-hosted CI that watches Nostr Git repositories and publishes signed results ## Related Specifications diff --git a/docs/explanation/grasp-02-proactive-sync-purgatory-git-data.md b/docs/explanation/grasp-02-proactive-sync-purgatory-git-data.md index 2c8ed27..b2860b3 100644 --- a/docs/explanation/grasp-02-proactive-sync-purgatory-git-data.md +++ b/docs/explanation/grasp-02-proactive-sync-purgatory-git-data.md @@ -362,7 +362,7 @@ and drops that admission while waiting for a busy domain. State and PR purgatory entries **automatically expire** after 30 minutes. -From the [GRASP-01 spec](https://github.com/DanConwayDev/grasp/blob/main/01.md#purgatory): +From the [GRASP-01 spec](https://gitworkshop.dev/danconwaydev.com/grasp/tree/master/01.md#purgatory): > Events should be kept in purgatory and otherwise discarded after 30 minutes. diff --git a/docs/explanation/grasp-06-contributor-pr-submission.md b/docs/explanation/grasp-06-contributor-pr-submission.md index b7228b4..da9a260 100644 --- a/docs/explanation/grasp-06-contributor-pr-submission.md +++ b/docs/explanation/grasp-06-contributor-pr-submission.md @@ -2,7 +2,7 @@ **Status**: Implemented (opt-in via `NGIT_GRASP06_ENABLE`) -**Spec**: [GRASP-06](https://github.com/DanConwayDev/grasp/blob/main/06.md) +**Spec**: [GRASP-06](https://gitworkshop.dev/danconwaydev.com/grasp/tree/master/06.md) **Related**: [Purgatory Design](purgatory-design.md), [Architecture](architecture.md), [Inline Authorization](inline-authorization.md) **Operator how-to**: [Enable GRASP-06](../how-to/enable-grasp-06.md) diff --git a/docs/explanation/grasp-08-private-service.md b/docs/explanation/grasp-08-private-service.md index ad4c1da..844f34c 100644 --- a/docs/explanation/grasp-08-private-service.md +++ b/docs/explanation/grasp-08-private-service.md @@ -2,7 +2,7 @@ **Status**: Implemented, single-service scope (opt-in via `NGIT_PRIVATE_MODE`) -**Spec**: [GRASP-08](https://github.com/DanConwayDev/grasp/blob/main/08.md) +**Spec**: [GRASP-08](https://gitworkshop.dev/danconwaydev.com/grasp/tree/master/08.md) **Related**: [Architecture](architecture.md), [Defensive Measures](defensive-measures.md), [Repository Lifecycle](repository-lifecycle.md) **Configuration**: [`NGIT_PRIVATE_MODE`, `NGIT_PRIVATE_MEMBERS`, `NGIT_PRIVATE_PUBLIC_ORIGIN`](../reference/configuration.md) diff --git a/docs/explanation/purgatory-design.md b/docs/explanation/purgatory-design.md index 5df565e..9a671aa 100644 --- a/docs/explanation/purgatory-design.md +++ b/docs/explanation/purgatory-design.md @@ -19,7 +19,7 @@ Either nostr events or git pushes can arrive in any order: When both halves arrive, they are processed together and saved to the database. -**Spec Reference**: [GRASP-01 Purgatory Section](https://github.com/DanConwayDev/grasp/blob/main/01.md#purgatory) +**Spec Reference**: [GRASP-01 Purgatory Section](https://gitworkshop.dev/danconwaydev.com/grasp/tree/master/01.md#purgatory) > Accepted repo state announcements, PRs and PR Updates SHOULD be accepted with message "purgatory: won't be served until git data arrives" and kept in purgatory (not served) until the related git data arrives and otherwise discarded after 30 minutes. diff --git a/docs/how-to/enable-grasp-06.md b/docs/how-to/enable-grasp-06.md index c510e7a..3f34cc4 100644 --- a/docs/how-to/enable-grasp-06.md +++ b/docs/how-to/enable-grasp-06.md @@ -95,4 +95,4 @@ If you need any of these today, leave `NGIT_GRASP06_ENABLE=false`. ## Spec -[GRASP-06 spec (draft)](https://github.com/DanConwayDev/grasp/blob/main/06.md). Design notes: [docs/explanation/grasp-06-contributor-pr-submission.md](../explanation/grasp-06-contributor-pr-submission.md). +[GRASP-06 spec (draft)](https://gitworkshop.dev/danconwaydev.com/grasp/tree/master/06.md). Design notes: [docs/explanation/grasp-06-contributor-pr-submission.md](../explanation/grasp-06-contributor-pr-submission.md). diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index 1dbd6d4..a1da46a 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -1035,7 +1035,7 @@ NGIT_ARCHIVE_READ_ONLY=true # Default ### GRASP-06 Contributor PR Submission -These options control the optional `/prs//.git` contributor pull-request submission endpoint per the [GRASP-06 specification](https://github.com/DanConwayDev/grasp/blob/main/06.md). The route is below `NGIT_BASE_PATH` when a non-root mount is configured. +These options control the optional `/prs//.git` contributor pull-request submission endpoint per the [GRASP-06 specification](https://gitworkshop.dev/danconwaydev.com/grasp/tree/master/06.md). The route is below `NGIT_BASE_PATH` when a non-root mount is configured. #### `NGIT_GRASP06_ENABLE` diff --git a/docs/reference/git-protocol.md b/docs/reference/git-protocol.md index 2b07aab..ad068b4 100644 --- a/docs/reference/git-protocol.md +++ b/docs/reference/git-protocol.md @@ -8,7 +8,7 @@ This document explains the Git Smart HTTP protocol as it relates to our inline a ### GRASP-01 Requirements (MUST) -Per the [GRASP-01 specification](https://github.com/DanConwayDev/grasp/blob/main/01.md), implementations **MUST** advertise and support the following git capabilities: +Per the [GRASP-01 specification](https://gitworkshop.dev/danconwaydev.com/grasp/tree/master/01.md), implementations **MUST** advertise and support the following git capabilities: - **`allow-reachable-sha1-in-want`**: Allows clients to request commits reachable from any ref - **`allow-tip-sha1-in-want`**: Allows clients to request specific commit SHAs directly diff --git a/grasp-audit/src/specs/grasp06/event_acceptance.rs b/grasp-audit/src/specs/grasp06/event_acceptance.rs index 82e438c..19893bf 100644 --- a/grasp-audit/src/specs/grasp06/event_acceptance.rs +++ b/grasp-audit/src/specs/grasp06/event_acceptance.rs @@ -1,6 +1,6 @@ //! GRASP-06 event-acceptance relaxation tests //! -//! Spec: +//! Spec: //! //! Covers 06.md lines 19–22: PR and PR Update events that would otherwise be //! rejected under GRASP-01 for not referencing an accepted repository diff --git a/grasp-audit/src/specs/grasp06/mod.rs b/grasp-audit/src/specs/grasp06/mod.rs index e226832..4854546 100644 --- a/grasp-audit/src/specs/grasp06/mod.rs +++ b/grasp-audit/src/specs/grasp06/mod.rs @@ -1,6 +1,6 @@ //! GRASP-06 specification tests //! -//! Spec: +//! Spec: //! //! ## Test Suites //! @@ -292,7 +292,7 @@ impl Grasp06Tests { ); println!("{}GRASP-06 Compliance Report{}", BOLD, RESET); println!( - "Source: github.com/DanConwayDev/grasp/blob/main/06.md (commit: {})", + "Source: https://gitworkshop.dev/danconwaydev.com/grasp/tree/{}/06.md", GRASP_06_COMMIT_ID ); println!( diff --git a/grasp-audit/src/specs/grasp06/nip11.rs b/grasp-audit/src/specs/grasp06/nip11.rs index 4046db4..c50e0ed 100644 --- a/grasp-audit/src/specs/grasp06/nip11.rs +++ b/grasp-audit/src/specs/grasp06/nip11.rs @@ -1,6 +1,6 @@ //! GRASP-06 NIP-11 advertisement tests //! -//! Spec: +//! Spec: //! //! These tests cover the discovery-gate contract from the "on" side: when //! the relay opts into GRASP-06, its NIP-11 document MUST advertise the diff --git a/grasp-audit/src/specs/grasp06/prs_endpoint.rs b/grasp-audit/src/specs/grasp06/prs_endpoint.rs index 46d77fd..0e54763 100644 --- a/grasp-audit/src/specs/grasp06/prs_endpoint.rs +++ b/grasp-audit/src/specs/grasp06/prs_endpoint.rs @@ -1,6 +1,6 @@ //! GRASP-06 /prs/ endpoint tests //! -//! Spec: +//! Spec: //! //! Each test here maps 1:1 to a MUST in the spec, or to an audit-derived //! invariant that follows directly from NIP-11 discovery semantics. diff --git a/grasp-audit/src/specs/grasp06/spec_requirements.rs b/grasp-audit/src/specs/grasp06/spec_requirements.rs index 8f1500b..41fdec3 100644 --- a/grasp-audit/src/specs/grasp06/spec_requirements.rs +++ b/grasp-audit/src/specs/grasp06/spec_requirements.rs @@ -1,7 +1,7 @@ //! GRASP-06 Specification Requirements //! //! Embedded specification requirements from the GRASP-06 spec document. -//! Spec: +//! Spec: //! //! This is the single source of truth for spec text displayed in audit reports. diff --git a/nix/module.nix b/nix/module.nix index 1865548..b050d31 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -414,7 +414,7 @@ let When disabled (default), /prs/* returns 404 and event acceptance is unchanged. - See: https://github.com/DanConwayDev/grasp/blob/main/06.md + See: https://gitworkshop.dev/danconwaydev.com/grasp/tree/master/06.md ''; }; diff --git a/src/grasp06/mod.rs b/src/grasp06/mod.rs index cb4c87c..7dcf62b 100644 --- a/src/grasp06/mod.rs +++ b/src/grasp06/mod.rs @@ -1,6 +1,6 @@ //! GRASP-06 — Contributor Pull Request Submission. //! -//! Spec: +//! Spec: //! Design: `docs/explanation/grasp-06-contributor-pr-submission.md` //! //! This module is gated behind [`crate::config::Config::grasp06_enable`]. diff --git a/src/grasp06/policy.rs b/src/grasp06/policy.rs index b6b492a..1e2d1ab 100644 --- a/src/grasp06/policy.rs +++ b/src/grasp06/policy.rs @@ -1,6 +1,6 @@ //! Acceptance helpers for GRASP-06 PR / PR-Update events. //! -//! Spec: (lines 19–22). +//! Spec: (lines 19–22). //! //! Under GRASP-06 a relay MUST accept a kind 1618 (PR) or 1619 (PR Update) //! event for a repository coordinate it has no accepted announcement for, diff --git a/tests/grasp06_pr_hosting.rs b/tests/grasp06_pr_hosting.rs index d641047..4f71fb0 100644 --- a/tests/grasp06_pr_hosting.rs +++ b/tests/grasp06_pr_hosting.rs @@ -1,6 +1,6 @@ //! GRASP-06 contributor PR hosting integration tests //! -//! Spec: +//! Spec: //! //! Each test is driven by one of two macros depending on whether the relay //! under test has GRASP-06 enabled: