diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-26 13:55:43 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-27 20:38:14 +0000 |
| commit | 87bd544b4539fc17c7919a2185663fb9debae2d1 (patch) | |
| tree | 87e39929decadafcb48aa913e411dd267af88493 /docs/how-to/migration-scripts | |
| parent | d6480568cd0b1de692c587b6ab9fffea2909cc72 (diff) | |
fix classification script
Diffstat (limited to 'docs/how-to/migration-scripts')
| -rwxr-xr-x | docs/how-to/migration-scripts/40-classify-actions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/how-to/migration-scripts/40-classify-actions.sh b/docs/how-to/migration-scripts/40-classify-actions.sh index 81559aa..b1348f8 100755 --- a/docs/how-to/migration-scripts/40-classify-actions.sh +++ b/docs/how-to/migration-scripts/40-classify-actions.sh | |||
| @@ -165,7 +165,7 @@ if [[ -f "$LOGS_DIR/purgatory-expired.txt" ]]; then | |||
| 165 | [[ "$repo" =~ ^# ]] && continue | 165 | [[ "$repo" =~ ^# ]] && continue |
| 166 | [[ -z "$repo" || -z "$npub" ]] && continue | 166 | [[ -z "$repo" || -z "$npub" ]] && continue |
| 167 | PURGATORY["$repo|$npub"]=1 | 167 | PURGATORY["$repo|$npub"]=1 |
| 168 | ((PURGATORY_COUNT++)) | 168 | PURGATORY_COUNT=$((PURGATORY_COUNT + 1)) |
| 169 | done < "$LOGS_DIR/purgatory-expired.txt" | 169 | done < "$LOGS_DIR/purgatory-expired.txt" |
| 170 | fi | 170 | fi |
| 171 | log_info "Loaded $PURGATORY_COUNT purgatory entries" | 171 | log_info "Loaded $PURGATORY_COUNT purgatory entries" |
| @@ -180,7 +180,7 @@ if [[ -f "$LOGS_DIR/parse-failures.txt" ]]; then | |||
| 180 | [[ "$event_id" =~ ^# ]] && continue | 180 | [[ "$event_id" =~ ^# ]] && continue |
| 181 | [[ -z "$repo" || -z "$npub" ]] && continue | 181 | [[ -z "$repo" || -z "$npub" ]] && continue |
| 182 | PARSE_FAIL["$repo|$npub"]=1 | 182 | PARSE_FAIL["$repo|$npub"]=1 |
| 183 | ((PARSE_FAIL_COUNT++)) | 183 | PARSE_FAIL_COUNT=$((PARSE_FAIL_COUNT + 1)) |
| 184 | done < "$LOGS_DIR/parse-failures.txt" | 184 | done < "$LOGS_DIR/parse-failures.txt" |
| 185 | fi | 185 | fi |
| 186 | log_info "Loaded $PARSE_FAIL_COUNT parse failure entries" | 186 | log_info "Loaded $PARSE_FAIL_COUNT parse failure entries" |