Subject: bug#26054: [PATCH] website: Use 'https' instead of 'http' links for 'alpha.gnu.org'.

From: ng0 <[email-masked]>
Date: Sat, 11 Mar 2017 12:12:15 +0000

Alex Vong transcribed 2.9K bytes:
> Hello,
> 
> This patch is a follow-up of ng0's patch, which changes the 'http' link
> in the bottom the download page to use 'https'.
> 

I wonder about ftp. I have run an rsync server before, but I don't know
if it can be used selective enough to just link to the latest file with
rsync. Or provide a line for rsync for those who want to mirror the
"gnu/guix/" directory on alpha.gnu.org.
Maybe as an addition to the patch below, which itself looks good to me.

> From 8968c983a20a5dc5ba5222574ec201412b8eb4ee Mon Sep 17 00:00:00 2001
> From: Alex Vong <[email-masked]>
> Date: Sat, 11 Mar 2017 17:15:15 +0800
> Subject: [PATCH] website: Use 'https' instead of 'http' links for
>  'alpha.gnu.org'.
> 
> * website/www/download.scm (download-page): Replace 'http' with
> 'https'.
> ---
>  website/www/download.scm | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/website/www/download.scm b/website/www/download.scm
> index 887c6db..6baaf40 100644
> --- a/website/www/download.scm
> +++ b/website/www/download.scm
> @@ -2,6 +2,7 @@
>  ;;; Copyright © 2015, 2016 Ludovic Courtès <[email-masked]>
>  ;;; Copyright © 2015 Mathieu Lirzin <[email-masked]>
>  ;;; Copyright © 2017 ng0 <[email-masked]>
> +;;; Copyright © 2017 Alex Vong <[email-masked]>
>  ;;; Initially written by Luis Felipe López Acevedo <[email-masked]>
>  ;;; who waives all copyright interest on this file.
>  ;;;
> @@ -156,9 +157,9 @@ Linux-based system.")
>  installation images as well as GNU Guix can be found on the GNU ftp server for "
>  		   (em "alpha")
>  		   " releases: "
> -		   (a (@ (href "http://alpha.gnu.org/gnu/guix/"))
> -		      "http://alpha.gnu.org/gnu/guix/")
> -		   " (via HTTP) and "
> +		   (a (@ (href "https://alpha.gnu.org/gnu/guix/"))
> +		      "https://alpha.gnu.org/gnu/guix/")
> +		   " (via HTTPS) and "
>  		   (a (@ (href "ftp://alpha.gnu.org/gnu/guix/"))
>  		      "ftp://alpha.gnu.org/gnu/guix/")
>  		   " (via FTP). ")))
> -- 
> 2.12.0
> 

> Cheers,
> Alex