backdrop-ops / backdropcms.org

Issue tracker for the BackdropCMS.org website
https://backdropcms.org
25 stars 21 forks source link

Add a robots.txt or status.txt to projects.backdropcms.org #436

Open jlfranklin opened 6 years ago

jlfranklin commented 6 years ago

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 add status.txt with a bit of data about the health of the server, updated by a cron job every so often. Format TBD, but 2017-12-05 01:15:00 +00:00: GOOD would provide the installer with some good information. Other status strings may include DB FAULT or MAINTENANCE or HIGH LOAD.

jenlampton commented 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 :)

stpaultim commented 4 years ago

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.