Skip to content

Commit a9a79a7

Browse files
committed
fix: transitous repo URL
1 parent c4f7f9c commit a9a79a7

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

infra/docker/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ SMTP_FROM=OpenMapX <noreply@openmapx.org>
6666
# Available regions: https://download.geofabrik.de/
6767
# PHOTON_REGION=germany
6868

69-
# Nominatim: download global Wikipedia rankings (~30 GB, improves search result quality)
69+
# Nominatim: download global Wikipedia rankings (improves search result quality)
7070
# NOMINATIM_IMPORT_WIKIPEDIA=false
7171

7272
# Nominatim: import US/GB postcode data (default: false, enable for US/UK deployments)

infra/docker/manage.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ github_url() {
2727
# Convert a GitHub HTTPS URL to SSH if the server has SSH access
2828
local url="$1"
2929
if [ -z "$_GITHUB_SSH" ]; then
30-
if ssh -o StrictHostKeyChecking=accept-new -o ConnectTimeout=5 -T git@github.com 2>&1 | grep -qi "successfully authenticated"; then
30+
# ssh -T exits with 1 on success for GitHub (it closes the session)
31+
# but exits with 255 on connection/auth failure
32+
ssh -o StrictHostKeyChecking=accept-new -o ConnectTimeout=5 -o BatchMode=yes -T git@github.com &>/dev/null
33+
if [ $? -eq 1 ]; then
3134
_GITHUB_SSH=yes
3235
else
3336
_GITHUB_SSH=no
@@ -40,7 +43,7 @@ github_url() {
4043
fi
4144
}
4245

43-
TRANSITOUS_REPO="https://github.com/transitous/transitous.git"
46+
TRANSITOUS_REPO="https://github.com/public-transport/transitous.git"
4447
MAX_CONCURRENT_DOWNLOADS="${MAX_CONCURRENT_DOWNLOADS:-5}"
4548
COMPOSE_FILE="${SCRIPT_DIR}/docker-compose.yml"
4649

0 commit comments

Comments
 (0)