Skip to content

Instantly share code, notes, and snippets.

@timo
Created May 5, 2019 12:11
Show Gist options
  • Save timo/506fb8549634bc87b5f5d438152937c5 to your computer and use it in GitHub Desktop.
Save timo/506fb8549634bc87b5f5d438152937c5 to your computer and use it in GitHub Desktop.
From d7e9aef110cff0eb3f71654518f6dd597bdf189c Mon Sep 17 00:00:00 2001
From: Timo <timo@timo>
Date: Sun, 5 May 2019 11:41:04 +0000
Subject: [PATCH] Local changes
---
templates/exception.production.html.ep | 9 +++++++++
templates/files.html.ep | 7 +++++++
templates/not_found.production.html.ep | 12 ++++++++++++
3 files changed, 28 insertions(+)
diff --git a/templates/exception.production.html.ep b/templates/exception.production.html.ep
index 053e6b8..c03f0c6 100644
--- a/templates/exception.production.html.ep
+++ b/templates/exception.production.html.ep
@@ -6,3 +6,12 @@
href="https://github.com/perl6/rakudo.org/issues/new">report this
problem</a>, explaining what you were trying to do when it occured.</p>
+<h3>Backup-server running</h3>
+<p>Currently, rakudo.org is being served off of a fall-back server
+because the network the original server is on is unreachable.</p>
+
+<p>We expect the original server to be available again on the 22nd
+or 23rd of april 2019.</p>
+
+<p>It is very possible that you're getting the 404 error because
+the fall-back server is not set up like the original server.</p>
diff --git a/templates/files.html.ep b/templates/files.html.ep
index 8bf3ae8..6b368c6 100644
--- a/templates/files.html.ep
+++ b/templates/files.html.ep
@@ -6,6 +6,13 @@
<div class="jumbotron jumbotron-wiry">
<h3 class="h4" id="Star">Rakudo Star Collection</h3>
+ <h4>Please Read</h4>
+ <p>Currently, rakudo.org is being served from a back-up server
+ that <strong>doesn't have the download files</strong>. We expect
+ the original server to be back on line after the 22nd or 23rd of
+ April 2019. Until then, please look at the 3rd party prebuilt
+ packages below or build rakudo from source.</p>
+
<p>This option contains the Rakudo <%== p6 %> Compiler,
a <a href="https://github.com/rakudo/star/tree/master/modules">collection
of modules</a> from the <%== p6 %>
diff --git a/templates/not_found.production.html.ep b/templates/not_found.production.html.ep
index dbe712f..613d1ed 100644
--- a/templates/not_found.production.html.ep
+++ b/templates/not_found.production.html.ep
@@ -4,3 +4,15 @@
<h2 class="h1">404 - Page Not Found</h2>
<p>The page you tried to access does not exist.</p>
+<h3>Backup-server running</h3>
+<p>Currently, rakudo.org is being served off of a fall-back server
+because the network the original server is on is unreachable.</p>
+
+<p>We expect the original server to be available again on the 22nd
+or 23rd of april 2019.</p>
+
+<p>It is very possible that you're getting the 404 error because
+the fall-back server is not set up like the original server.</p>
+
+<p>Of note, the rakudo star downloads hosted on rakudo.org are
+currently not available.</p>
--
2.7.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment