Open jlfranklin opened 6 years ago
If we all we need to do is add the robots.txt from backdrop core, this could be a good first issue for someone :)
We should check and make sure that his has not yet been done. If so, close the issue. If not, then it's a good simple first task.
In backdrop/backdrop-issues#1858, we try to run some preflight tests to make sure we can download and install packages. One of the tests checks the network connectivity to the internet. The current PR checks connectivity to example.com, but it would be better to check connectivity to the project server projects.backdropcms.org itself. However, there are no (obvious) good paths to test that don't trigger a query on the site, and thus add to the load of the server.
I think we should add a simple, small text file to the site that can be easily checked and return HTTP 200. Adding
robots.txt
is one option, with whatever is appropriate. The other option is to addstatus.txt
with a bit of data about the health of the server, updated by a cron job every so often. Format TBD, but2017-12-05 01:15:00 +00:00: GOOD
would provide the installer with some good information. Other status strings may includeDB FAULT
orMAINTENANCE
orHIGH LOAD
.