upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-11 20:24:55 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-11 20:28:08 +0000
commit8acee2bfcba948f4b5a88709a047e6468394ca88 (patch)
treebb453bc3ac970f343e02c3bcea8c4092191f350b /AGENTS.md
parentaf12eb7baa949bc40155c837741bfd597fd0764e (diff)
docs: add guide for updating git dependencies in Cargo
- Add new how-to guide covering hash updates for git dependencies - Applies to any git dependency (e.g., nostr-sdk fork) - Add critical note in AGENTS.md linking to this guide - Emphasize that hash updates in both flake.nix and nix/module.nix are MANDATORY
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 9b480b4..ef45a52 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -272,6 +272,7 @@ This was a key learning from GRASP-01: docs described plans, not implementation,
2726. **Archive naming:** Use `YYYY-MM-DD-description.md` format 2726. **Archive naming:** Use `YYYY-MM-DD-description.md` format
2737. **test-ngit-relay.sh tests ngit-relay**: This script tests the reference implementation, NOT ngit-grasp 2737. **test-ngit-relay.sh tests ngit-relay**: This script tests the reference implementation, NOT ngit-grasp
2748. **Configuration sync:** Config changes MUST be updated in all four places: `src/config.rs`, `docs/reference/configuration.md`, `nix/module.nix`, AND `.env.example` 2748. **Configuration sync:** Config changes MUST be updated in all four places: `src/config.rs`, `docs/reference/configuration.md`, `nix/module.nix`, AND `.env.example`
2759. **Git dependencies:** When updating `Cargo.toml` or `Cargo.lock` with ANY git dependency (not crates.io), you MUST update hashes in BOTH `flake.nix` and `nix/module.nix`. See [docs/how-to/update-git-dependencies.md](docs/how-to/update-git-dependencies.md) - this is MANDATORY and builds will fail if skipped
275 276
276## File Restrictions by Mode 277## File Restrictions by Mode
277 278