diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-11 20:24:55 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-11 20:28:08 +0000 |
| commit | 8acee2bfcba948f4b5a88709a047e6468394ca88 (patch) | |
| tree | bb453bc3ac970f343e02c3bcea8c4092191f350b /AGENTS.md | |
| parent | af12eb7baa949bc40155c837741bfd597fd0764e (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.md | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -272,6 +272,7 @@ This was a key learning from GRASP-01: docs described plans, not implementation, | |||
| 272 | 6. **Archive naming:** Use `YYYY-MM-DD-description.md` format | 272 | 6. **Archive naming:** Use `YYYY-MM-DD-description.md` format |
| 273 | 7. **test-ngit-relay.sh tests ngit-relay**: This script tests the reference implementation, NOT ngit-grasp | 273 | 7. **test-ngit-relay.sh tests ngit-relay**: This script tests the reference implementation, NOT ngit-grasp |
| 274 | 8. **Configuration sync:** Config changes MUST be updated in all four places: `src/config.rs`, `docs/reference/configuration.md`, `nix/module.nix`, AND `.env.example` | 274 | 8. **Configuration sync:** Config changes MUST be updated in all four places: `src/config.rs`, `docs/reference/configuration.md`, `nix/module.nix`, AND `.env.example` |
| 275 | 9. **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 | ||