Ottomata has submitted this change and it was merged.
Change subject: Do not check certificates when fetching files
......................................................................
Do not check certificates when fetching files
wget chokes on the certificate of stats.wikimedia.org. As we do not
rely on authenticity of the server, we now turn off the certificate
check.
Card: Analytics 1253
Change-Id: I34b9b5a21962ffcd9fa3072facaeb0e2f136a1b9
---
M scripts/check_web_page.sh
1 file changed, 6 insertions(+), 2 deletions(-)
Approvals:
Ottomata: Verified; Looks good to me, approved
diff --git a/scripts/check_web_page.sh b/scripts/check_web_page.sh
index 37d677e..410184c 100755
--- a/scripts/check_web_page.sh
+++ b/scripts/check_web_page.sh
@@ -334,8 +334,12 @@
cp "$LOCAL_COPY_FILE_RELI" "$DOWNLOADED_FILE_ABS"
else
log "$VERBOSITY_VERBOSE" "Downloading $URL ..."
- wget -O "$DOWNLOADED_FILE_ABS" -o /dev/null "$URL" || \
- ( rm -f "$DOWNLOADED_FILE_ABS" ; error "Failed to fetch '$URL'" )
+ wget \
+ --no-check-certificate \
+ -O "$DOWNLOADED_FILE_ABS" \
+ -o /dev/null \
+ "$URL" \
+ || ( rm -f "$DOWNLOADED_FILE_ABS" ; error "Failed to fetch '$URL'" )
fi
}
--
To view, visit https://gerrit.wikimedia.org/r/100742
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I34b9b5a21962ffcd9fa3072facaeb0e2f136a1b9
Gerrit-PatchSet: 1
Gerrit-Project: analytics/geowiki
Gerrit-Branch: master
Gerrit-Owner: QChris <[email protected]>
Gerrit-Reviewer: Milimetric <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits