Skip to content

Commit e289326

Browse files
authored
chore(update): point post-update banner at apl-feed status (#92)
* chore(update): point post-update banner at apl-feed status The post-update banner instructed users to confirm feeding by running netstat against a hardcoded production IP. That IP is wrong for anyone running custom infra, and the advice predates apl-feed status, which now covers link + website ingest + claim + diagnostics in one command. Also drop a stray trailing space in the test_apl_feed_cli.bats ss stub for consistency with the sibling stubs in test_apl_feed_status.bats. * chore(update): swap /myfeed/ pointer for feeder claim CTA The /myfeed/ page only works when browsed from the feeder's public IP. The apl-feed status line shown one block above already covers the same check and works from anywhere. Drop the redundant pointer and replace it with a CTA to claim the feeder on airplanes.live, which gives logged-in users full statistics and acts as a sign-up prompt for users without an account. URL is derived from APL_FEED_WEBSITE_URL with airplanes.live as the default, so custom-backend feeders get the right host.
1 parent c300ef0 commit e289326

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

test/test_apl_feed_cli.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ exit 0
4040
STUB
4141
cat > "$STUB_BIN_DIR/ss" <<'STUB'
4242
#!/usr/bin/env bash
43-
printf 'ESTAB 0 0 127.0.0.1:43530 78.46.234.18:31090 \n'
43+
printf 'ESTAB 0 0 127.0.0.1:43530 78.46.234.18:31090\n'
4444
exit 0
4545
STUB
4646
chmod +x "$STUB_BIN_DIR/systemctl" "$STUB_BIN_DIR/nc" "$STUB_BIN_DIR/ss"

update.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -760,10 +760,11 @@ echo "---------------------"
760760
ENDTEXT="
761761
Thanks for choosing to share your data with airplanes.live!
762762
763-
Check https://airplanes.live/myfeed/ for feeder status!
763+
Check your feeder's status:
764+
sudo apl-feed status
764765
765-
Your feed should be active within 5 minutes, you can confirm by running the following command and looking for the IP address 78.46.234.18
766-
netstat -t -n | grep -E '30004|31090'
766+
Claim your feeder for more insights and statistics:
767+
${APL_FEED_WEBSITE_URL:-https://airplanes.live}/feeder/claim/
767768
768769
Question? Issues? Go here:
769770
https://discord.gg/jfVRF2XRwF

0 commit comments

Comments
 (0)