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/run-migration-analysis.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/run-migration-analysis.sh')
| -rwxr-xr-x | docs/how-to/migration-scripts/run-migration-analysis.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/how-to/migration-scripts/run-migration-analysis.sh b/docs/how-to/migration-scripts/run-migration-analysis.sh index 2ba25ab..84aec2a 100755 --- a/docs/how-to/migration-scripts/run-migration-analysis.sh +++ b/docs/how-to/migration-scripts/run-migration-analysis.sh | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #!/usr/bin/env bash | 1 | #!/usr/bin/env bash |
| 2 | # | 2 | # |
| 3 | # run-migration-analysis.sh - Orchestrate the complete ngit-relay to ngit-grasp migration analysis | 3 | # run-migration-analysis.sh - Orchestrate the complete GRASP relay to ngit-grasp migration analysis |
| 4 | # | 4 | # |
| 5 | # This script runs all 5 phases of the migration analysis pipeline in sequence, | 5 | # This script runs all 5 phases of the migration analysis pipeline in sequence, |
| 6 | # with proper error handling, progress reporting, and timing information. | 6 | # with proper error handling, progress reporting, and timing information. |
| @@ -13,8 +13,8 @@ | |||
| 13 | # ./run-migration-analysis.sh \ | 13 | # ./run-migration-analysis.sh \ |
| 14 | # --prod-relay wss://relay.ngit.dev \ | 14 | # --prod-relay wss://relay.ngit.dev \ |
| 15 | # --archive-relay wss://archive.relay.ngit.dev \ | 15 | # --archive-relay wss://archive.relay.ngit.dev \ |
| 16 | # --prod-git /var/lib/ngit-relay/git \ | 16 | # --prod-git /var/lib/grasp-relay/git \ |
| 17 | # --archive-git /var/lib/ngit-relay-archive/git | 17 | # --archive-git /var/lib/ngit-grasp/git |
| 18 | # | 18 | # |
| 19 | # USAGE: | 19 | # USAGE: |
| 20 | # ./run-migration-analysis.sh [options] | 20 | # ./run-migration-analysis.sh [options] |
| @@ -64,12 +64,12 @@ | |||
| 64 | # ./run-migration-analysis.sh \ | 64 | # ./run-migration-analysis.sh \ |
| 65 | # --prod-relay wss://relay.ngit.dev \ | 65 | # --prod-relay wss://relay.ngit.dev \ |
| 66 | # --archive-relay wss://archive.relay.ngit.dev \ | 66 | # --archive-relay wss://archive.relay.ngit.dev \ |
| 67 | # --prod-git /var/lib/ngit-relay/git \ | 67 | # --prod-git /var/lib/grasp-relay/git \ |
| 68 | # --archive-git /var/lib/ngit-relay-archive/git \ | 68 | # --archive-git /var/lib/ngit-grasp/git \ |
| 69 | # --service ngit-grasp.service | 69 | # --service ngit-grasp.service |
| 70 | # | 70 | # |
| 71 | # SEE ALSO: | 71 | # SEE ALSO: |
| 72 | # docs/how-to/migrate-ngit-relay-to-ngit-grasp.md - Full migration guide | 72 | # docs/how-to/migrate-to-ngit-grasp.md - Full migration guide |
| 73 | # | 73 | # |
| 74 | 74 | ||
| 75 | set -euo pipefail | 75 | set -euo pipefail |
| @@ -658,7 +658,7 @@ display_summary() { | |||
| 658 | main() { | 658 | main() { |
| 659 | parse_args "$@" | 659 | parse_args "$@" |
| 660 | 660 | ||
| 661 | log_header "ngit-relay to ngit-grasp Migration Analysis" | 661 | log_header "GRASP Relay to ngit-grasp Migration Analysis" |
| 662 | 662 | ||
| 663 | validate_args | 663 | validate_args |
| 664 | check_prerequisites | 664 | check_prerequisites |