diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-23 12:15:12 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-27 20:38:01 +0000 |
| commit | 79d2d01923cf66217fd5aa3a0be5ee9ea2000872 (patch) | |
| tree | f1bec17762c7b84ddb6e73901d714a791b409a90 /docs/how-to/migration-scripts/31-extract-purgatory-expiry.sh | |
| parent | f84c7d04ff5d3f9c6c56d78bc00c01814e7348e4 (diff) | |
Generalize migration guide for any GRASP implementation
- Rename guide: migrate-ngit-relay-to-ngit-grasp.md → migrate-to-ngit-grasp.md
- Remove ngit-relay and relay.ngit.dev specific references
- Use generic terminology: source/target relay, current implementation
- Add Compatibility section explaining requirements
- Update examples to be implementation-agnostic
- Update script comments to reference GRASP relay (not ngit-relay)
- Update README.md to link to the new guide
Scripts already work with any GRASP implementation via parameters.
Diffstat (limited to 'docs/how-to/migration-scripts/31-extract-purgatory-expiry.sh')
| -rwxr-xr-x | docs/how-to/migration-scripts/31-extract-purgatory-expiry.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/how-to/migration-scripts/31-extract-purgatory-expiry.sh b/docs/how-to/migration-scripts/31-extract-purgatory-expiry.sh index 38b2ca3..8cadad9 100755 --- a/docs/how-to/migration-scripts/31-extract-purgatory-expiry.sh +++ b/docs/how-to/migration-scripts/31-extract-purgatory-expiry.sh | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | # | 2 | # |
| 3 | # 31-extract-purgatory-expiry.sh - Extract purgatory expiry events from systemd logs | 3 | # 31-extract-purgatory-expiry.sh - Extract purgatory expiry events from systemd logs |
| 4 | # | 4 | # |
| 5 | # PHASE 4b of the ngit-relay to ngit-grasp migration analysis pipeline. | 5 | # PHASE 4b of the GRASP relay to ngit-grasp migration analysis pipeline. |
| 6 | # Extracts structured [PURGATORY_EXPIRED] log entries from journalctl. | 6 | # Extracts structured [PURGATORY_EXPIRED] log entries from journalctl. |
| 7 | # | 7 | # |
| 8 | # USAGE: | 8 | # USAGE: |
| @@ -53,7 +53,7 @@ | |||
| 53 | # [PURGATORY_EXPIRED] log entries. Until those are implemented, this script | 53 | # [PURGATORY_EXPIRED] log entries. Until those are implemented, this script |
| 54 | # will find no matching entries (which is handled gracefully). | 54 | # will find no matching entries (which is handled gracefully). |
| 55 | # | 55 | # |
| 56 | # See: docs/how-to/migrate-ngit-relay-to-ngit-grasp.md (Dependencies section) | 56 | # See: docs/how-to/migrate-to-ngit-grasp.md (Dependencies section) |
| 57 | # | 57 | # |
| 58 | # Expected Rust logging code: | 58 | # Expected Rust logging code: |
| 59 | # tracing::warn!( | 59 | # tracing::warn!( |
| @@ -70,7 +70,7 @@ | |||
| 70 | # RUNTIME: Depends on log volume, typically < 30 seconds | 70 | # RUNTIME: Depends on log volume, typically < 30 seconds |
| 71 | # | 71 | # |
| 72 | # SEE ALSO: | 72 | # SEE ALSO: |
| 73 | # docs/how-to/migrate-ngit-relay-to-ngit-grasp.md - Full migration guide | 73 | # docs/how-to/migrate-to-ngit-grasp.md - Full migration guide |
| 74 | # 30-extract-parse-failures.sh - Companion script for parse failure logs | 74 | # 30-extract-parse-failures.sh - Companion script for parse failure logs |
| 75 | # | 75 | # |
| 76 | 76 | ||
| @@ -238,7 +238,7 @@ main() { | |||
| 238 | if [[ "$sample_count" -eq 0 ]]; then | 238 | if [[ "$sample_count" -eq 0 ]]; then |
| 239 | log_warn "No [PURGATORY_EXPIRED] entries found in logs." | 239 | log_warn "No [PURGATORY_EXPIRED] entries found in logs." |
| 240 | log_warn "This is expected if ngit-grasp logging improvements are not yet deployed." | 240 | log_warn "This is expected if ngit-grasp logging improvements are not yet deployed." |
| 241 | log_warn "See: docs/how-to/migrate-ngit-relay-to-ngit-grasp.md (Dependencies section)" | 241 | log_warn "See: docs/how-to/migrate-to-ngit-grasp.md (Dependencies section)" |
| 242 | fi | 242 | fi |
| 243 | 243 | ||
| 244 | exit 0 | 244 | exit 0 |
| @@ -266,7 +266,7 @@ main() { | |||
| 266 | log_warn "" | 266 | log_warn "" |
| 267 | log_warn " [PURGATORY_EXPIRED] repo=myrepo npub=npub1... reason=\"...\"" | 267 | log_warn " [PURGATORY_EXPIRED] repo=myrepo npub=npub1... reason=\"...\"" |
| 268 | log_warn "" | 268 | log_warn "" |
| 269 | log_warn "See: docs/how-to/migrate-ngit-relay-to-ngit-grasp.md (Dependencies section)" | 269 | log_warn "See: docs/how-to/migrate-to-ngit-grasp.md (Dependencies section)" |
| 270 | log_warn "" | 270 | log_warn "" |
| 271 | 271 | ||
| 272 | # Create empty output file with header comment | 272 | # Create empty output file with header comment |