upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-26 13:55:43 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-27 20:38:14 +0000
commit87bd544b4539fc17c7919a2185663fb9debae2d1 (patch)
tree87e39929decadafcb48aa913e411dd267af88493 /docs
parentd6480568cd0b1de692c587b6ab9fffea2909cc72 (diff)
fix classification script
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/how-to/migration-scripts/40-classify-actions.sh4
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"
170fi 170fi
171log_info "Loaded $PURGATORY_COUNT purgatory entries" 171log_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"
185fi 185fi
186log_info "Loaded $PARSE_FAIL_COUNT parse failure entries" 186log_info "Loaded $PARSE_FAIL_COUNT parse failure entries"