GNU bug report logs -
#25980
[PATCH] website: Provide https links for alpha.gnu.org URLs.
Previous Next
Reported by: contact.ng0 <at> cryptolab.net
Date: Sun, 5 Mar 2017 16:30:02 UTC
Severity: normal
Tags: patch
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#25980: [PATCH] website: Provide https links for alpha.gnu.org URLs.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 25980 <at> debbugs.gnu.org.
--
25980: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25980
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
contact.ng0 <at> cryptolab.net skribis:
> From: ng0 <contact.ng0 <at> cryptolab.net>
>
> alpha.gnu.org is accessible via https, defaulting to
> ftp protocol prevents users of networks where the ftp
> ports might be blocked (such as tor) from downloading.
>
> * website/www/download.scm (https-url): New variable.
> (guixsd-files): Replace (ftp-url) with (https-url).
> (guix-files): Likewise.
> (guix-source-files): Likewise.
Pushed, thanks!
Ludo’.
[Message part 3 (message/rfc822, inline)]
From: ng0 <contact.ng0 <at> cryptolab.net>
alpha.gnu.org is accessible via https, defaulting to
ftp protocol prevents users of networks where the ftp
ports might be blocked (such as tor) from downloading.
* website/www/download.scm (https-url): New variable.
(guixsd-files): Replace (ftp-url) with (https-url).
(guix-files): Likewise.
(guix-source-files): Likewise.
---
website/www/download.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/website/www/download.scm b/website/www/download.scm
index db51516..887c6db 100644
--- a/website/www/download.scm
+++ b/website/www/download.scm
@@ -1,6 +1,7 @@
;;; GuixSD website --- GNU's advanced distro website
;;; Copyright © 2015, 2016 Ludovic Courtès <ludo <at> gnu.org>
;;; Copyright © 2015 Mathieu Lirzin <mthl <at> openmailbox.org>
+;;; Copyright © 2017 ng0 <contact.ng0 <at> cryptolab.net>
;;; Initially written by Luis Felipe López Acevedo <felipe.lopez <at> openmailbox.org>
;;; who waives all copyright interest on this file.
;;;
@@ -64,22 +65,25 @@ dependencies.")
(define (ftp-url file)
(string-append "ftp://alpha.gnu.org/gnu/guix/" file))
+(define (https-url file)
+ (string-append "https://alpha.gnu.org/gnu/guix/" file))
+
(define (guixsd-files archs)
(map (lambda (arch)
- (cons arch (ftp-url (string-append "guixsd-usb-install-"
+ (cons arch (https-url (string-append "guixsd-usb-install-"
(latest-guix-version) "." arch
"-linux.xz"))))
archs))
(define (guix-files archs)
(map (lambda (arch)
- (cons arch (ftp-url (string-append "guix-binary-" (latest-guix-version)
+ (cons arch (https-url (string-append "guix-binary-" (latest-guix-version)
"." arch "-linux.tar.xz"))))
archs))
(define (guix-source-files variants)
(map (lambda (variant)
- (cons variant (ftp-url (string-append "guix-" (latest-guix-version)
+ (cons variant (https-url (string-append "guix-" (latest-guix-version)
".tar.gz"))))
variants))
--
2.12.0
This bug report was last modified 8 years and 127 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.